Google Cloud Ai Platform V1 Client - Class SlackChannels (1.30.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SlackChannels.

SlackChannels contains the Slack channels and corresponding access token.

Generated from protobuf message google.cloud.aiplatform.v1.SlackSource.SlackChannels

Namespace

Google \ Cloud \ AIPlatform \ V1 \ SlackSource

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ channels
array< SlackChannels\SlackChannel >

Required. The Slack channel IDs.

↳ api_key_config
Google\Cloud\AIPlatform\V1\ApiAuth\ApiKeyConfig

Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token .

getChannels

Required. The Slack channel IDs.

Returns
Type
Description

setChannels

Required. The Slack channel IDs.

Parameter
Name
Description
Returns
Type
Description
$this

getApiKeyConfig

Required. The SecretManager secret version resource name (e.g.

projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token .

Returns
Type
Description

hasApiKeyConfig

clearApiKeyConfig

setApiKeyConfig

Required. The SecretManager secret version resource name (e.g.

projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token .

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: