Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationData
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationData
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
This is the internal version of the API proto at google3/google/chat/v1/ gsuite_message_integration.proto
Instance Attribute Summary collapse
-
#assignee_change ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataAssigneeChange
Corresponds to the JSON property
assigneeChange
. -
#completion_change ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCompletionChange
Corresponds to the JSON property
completionChange
. -
#creation ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCreation
Corresponds to the JSON property
creation
. -
#deletion_change ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataDeletionChange
Corresponds to the JSON property
deletionChange
. -
#task_id ⇒ String
ID of task.
-
#task_properties ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataTaskProperties
All relevant task properties for a Chat message.
-
#user_defined_message ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage
Used for task card attachments on custom user messages that should be kept as is without generating an i18n event message, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedTasksAnnotationData
constructor
A new instance of AppsDynamiteSharedTasksAnnotationData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedTasksAnnotationData
Returns a new instance of AppsDynamiteSharedTasksAnnotationData.
2386 2387 2388 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2386 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assignee_change ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataAssigneeChange
Corresponds to the JSON property assigneeChange
2350 2351 2352 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2350 def assignee_change @assignee_change end |
#completion_change ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCompletionChange
Corresponds to the JSON property completionChange
2355 2356 2357 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2355 def completion_change @completion_change end |
#creation ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataCreation
Corresponds to the JSON property creation
2360 2361 2362 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2360 def creation @creation end |
#deletion_change ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataDeletionChange
Corresponds to the JSON property deletionChange
2365 2366 2367 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2365 def deletion_change @deletion_change end |
#task_id ⇒ String
ID of task. Will be used to create deep links to Tasks.
Corresponds to the JSON property taskId
2370 2371 2372 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2370 def task_id @task_id end |
#task_properties ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataTaskProperties
All relevant task properties for a Chat message.
Corresponds to the JSON property taskProperties
2375 2376 2377 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2375 def task_properties @task_properties end |
#user_defined_message ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage
Used for task card attachments on custom user messages that should be kept as
is without generating an i18n event message, e.g. the user starts a
conversation from an existing task. IMPORTANT: please don't populate this
field yet as it could break existing flows until it's implemented. See code at
http://shortn/_CM74CdENMx used by http://shortn/_5o85POJY8Q.
Corresponds to the JSON property userDefinedMessage
2384 2385 2386 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2384 def @user_defined_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2391 2392 2393 2394 2395 2396 2397 2398 2399 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2391 def update!(**args) @assignee_change = args[:assignee_change] if args.key?(:assignee_change) @completion_change = args[:completion_change] if args.key?(:completion_change) @creation = args[:creation] if args.key?(:creation) @deletion_change = args[:deletion_change] if args.key?(:deletion_change) @task_id = args[:task_id] if args.key?(:task_id) @task_properties = args[:task_properties] if args.key?(:task_properties) @user_defined_message = args[:user_defined_message] if args.key?(:user_defined_message) end |