Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSourceSlackChannels

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

SlackChannels contains the Slack channels and corresponding access token.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SlackSourceSlackChannels

Returns a new instance of GoogleCloudAiplatformV1SlackSourceSlackChannels.



34636
34637
34638
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34636

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_key_configGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ApiAuthApiKeyConfig

The API secret. Corresponds to the JSON property apiKeyConfig



34629
34630
34631
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34629

def api_key_config
  @api_key_config
end

#channelsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel>

Required. The Slack channel IDs. Corresponds to the JSON property channels



34634
34635
34636
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34634

def channels
  @channels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34641
34642
34643
34644
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34641

def update!(**args)
  @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
  @channels = args[:channels] if args.key?(:channels)
end