Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::SlackSource::SlackChannels (v0.60.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SlackSource::SlackChannels.

SlackChannels contains the Slack channels and corresponding access token.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api_key_config

def api_key_config() -> ::Google::Cloud::AIPlatform::V1::ApiAuth::ApiKeyConfig
Returns
  • (::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.

#api_key_config=

def api_key_config=(value) -> ::Google::Cloud::AIPlatform::V1::ApiAuth::ApiKeyConfig
Parameter
  • value (::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.
Returns
  • (::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.

#channels

def channels() -> ::Array<::Google::Cloud::AIPlatform::V1::SlackSource::SlackChannels::SlackChannel>
Returns

#channels=

def channels=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::SlackSource::SlackChannels::SlackChannel>
Parameter
Returns