public static interface SlackSource.SlackChannelsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getApiKeyConfig()
public abstract ApiAuth.ApiKeyConfig 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.
.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ApiAuth.ApiKeyConfig |
The apiKeyConfig. |
getApiKeyConfigOrBuilder()
public abstract ApiAuth.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
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.
.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ApiAuth.ApiKeyConfigOrBuilder |
getChannels(int index)
public abstract SlackSource.SlackChannels.SlackChannel getChannels(int index)
Required. The Slack channel IDs.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SlackSource.SlackChannels.SlackChannel |
getChannelsCount()
public abstract int getChannelsCount()
Required. The Slack channel IDs.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getChannelsList()
public abstract List<SlackSource.SlackChannels.SlackChannel> getChannelsList()
Required. The Slack channel IDs.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<SlackChannel> |
getChannelsOrBuilder(int index)
public abstract SlackSource.SlackChannels.SlackChannelOrBuilder getChannelsOrBuilder(int index)
Required. The Slack channel IDs.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SlackSource.SlackChannels.SlackChannelOrBuilder |
getChannelsOrBuilderList()
public abstract List<? extends SlackSource.SlackChannels.SlackChannelOrBuilder> getChannelsOrBuilderList()
Required. The Slack channel IDs.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vertexai.api.SlackSource.SlackChannels.SlackChannelOrBuilder> |
hasApiKeyConfig()
public abstract boolean hasApiKeyConfig()
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.
.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the apiKeyConfig field is set. |