Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel

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

SlackChannel contains the Slack channel ID and the time range to import.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel

Returns a new instance of GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel.



58729
58730
58731
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 58729

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

Instance Attribute Details

#channel_idString

Required. The Slack channel ID. Corresponds to the JSON property channelId

Returns:

  • (String)


58717
58718
58719
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 58717

def channel_id
  @channel_id
end

#end_timeString

Optional. The ending timestamp for messages to import. Corresponds to the JSON property endTime

Returns:

  • (String)


58722
58723
58724
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 58722

def end_time
  @end_time
end

#start_timeString

Optional. The starting timestamp for messages to import. Corresponds to the JSON property startTime

Returns:

  • (String)


58727
58728
58729
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 58727

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



58734
58735
58736
58737
58738
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 58734

def update!(**args)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
end