Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannels

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SlackSourceSlackChannels

Returns a new instance of GoogleCloudAiplatformV1beta1SlackSourceSlackChannels.



60808
60809
60810
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60808

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

Instance Attribute Details

#api_key_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig

The API secret. Corresponds to the JSON property apiKeyConfig



60801
60802
60803
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60801

def api_key_config
  @api_key_config
end

#channelsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel>

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



60806
60807
60808
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60806

def channels
  @channels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60813
60814
60815
60816
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60813

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