View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SlackSourceSlackChannels (google_api_ai_platform v0.25.0)

SlackChannels contains the Slack channels and corresponding access token.

Attributes

  • apiKeyConfig (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ApiAuthApiKeyConfig.t, default: nil) - 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 (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel.t), default: nil) - Required. The Slack channel IDs.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SlackSourceSlackChannels{
    apiKeyConfig:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ApiAuthApiKeyConfig.t()
      | nil,
    channels:
      [
        GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel.t()
      ]
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.