Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel
- 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
-
#channel_id ⇒ String
Required.
-
#end_time ⇒ String
Optional.
-
#start_time ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel
constructor
A new instance of GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel
Returns a new instance of GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel.
36617 36618 36619 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36617 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_id ⇒ String
Required. The Slack channel ID.
Corresponds to the JSON property channelId
36605 36606 36607 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36605 def channel_id @channel_id end |
#end_time ⇒ String
Optional. The ending timestamp for messages to import.
Corresponds to the JSON property endTime
36610 36611 36612 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36610 def end_time @end_time end |
#start_time ⇒ String
Optional. The starting timestamp for messages to import.
Corresponds to the JSON property startTime
36615 36616 36617 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36615 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36622 36623 36624 36625 36626 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36622 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 |