Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannels
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannels
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
SlackChannels contains the Slack channels and corresponding access token.
Instance Attribute Summary collapse
-
#api_key_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
The API secret.
-
#channels ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SlackSourceSlackChannels
constructor
A new instance of GoogleCloudAiplatformV1beta1SlackSourceSlackChannels.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SlackSourceSlackChannels
Returns a new instance of GoogleCloudAiplatformV1beta1SlackSourceSlackChannels.
31641 31642 31643 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31641 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
The API secret.
Corresponds to the JSON property apiKeyConfig
31634 31635 31636 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31634 def api_key_config @api_key_config end |
#channels ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel>
Required. The Slack channel IDs.
Corresponds to the JSON property channels
31639 31640 31641 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31639 def channels @channels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31646 31647 31648 31649 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31646 def update!(**args) @api_key_config = args[:api_key_config] if args.key?(:api_key_config) @channels = args[:channels] if args.key?(:channels) end |