Table of Contents

Class SlackSourceSlackChannels

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

SlackChannels contains the Slack channels and corresponding access token.

public class SlackSourceSlackChannels
Inheritance
SlackSourceSlackChannels
Inherited Members
Extension Methods

Properties

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.

[JsonPropertyName("apiKeyConfig")]
public ApiAuthApiKeyConfig? ApiKeyConfig { get; set; }

Property Value

ApiAuthApiKeyConfig

Channels

Required. The Slack channel IDs.

[JsonPropertyName("channels")]
public ICollection<SlackSourceSlackChannelsSlackChannel>? Channels { get; set; }

Property Value

ICollection<SlackSourceSlackChannelsSlackChannel>