Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataTaskProperties
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataTaskProperties
- 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
All relevant task properties for a Chat message.
Instance Attribute Summary collapse
-
#assignee ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
-
#completed ⇒ Boolean
(also: #completed?)
Whether the task is marked as completed.
-
#deleted ⇒ Boolean
(also: #deleted?)
Whether the task is marked as deleted.
-
#description ⇒ String
The description of the task.
-
#start_date ⇒ Google::Apis::CloudsearchV1::Date
Represents a whole calendar date, for example a date of birth.
-
#start_time ⇒ String
Set if the task has both a date and a time.
-
#title ⇒ String
The title of the task.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedTasksAnnotationDataTaskProperties
constructor
A new instance of AppsDynamiteSharedTasksAnnotationDataTaskProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedTasksAnnotationDataTaskProperties
Returns a new instance of AppsDynamiteSharedTasksAnnotationDataTaskProperties.
3442 3443 3444 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3442 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assignee ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property assignee
3401 3402 3403 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3401 def assignee @assignee end |
#completed ⇒ Boolean Also known as: completed?
Whether the task is marked as completed.
Corresponds to the JSON property completed
3406 3407 3408 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3406 def completed @completed end |
#deleted ⇒ Boolean Also known as: deleted?
Whether the task is marked as deleted.
Corresponds to the JSON property deleted
3412 3413 3414 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3412 def deleted @deleted end |
#description ⇒ String
The description of the task. If Task original description's length is greater
than 1024, then Task BE sends the truncated description to Dynamite
Integration Server.
Corresponds to the JSON property description
3420 3421 3422 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3420 def description @description end |
#start_date ⇒ Google::Apis::CloudsearchV1::Date
Represents a whole calendar date, for example a date of birth. The time of day
and time zone are either specified elsewhere or are not significant. The date
is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date
between the year 1 and 9999.
Corresponds to the JSON property startDate
3429 3430 3431 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3429 def start_date @start_date end |
#start_time ⇒ String
Set if the task has both a date and a time. Source of truth in Tasks BE: http:/
/shortn/_u6cr0F5ttE
Corresponds to the JSON property startTime
3435 3436 3437 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3435 def start_time @start_time end |
#title ⇒ String
The title of the task.
Corresponds to the JSON property title
3440 3441 3442 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3440 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3447 3448 3449 3450 3451 3452 3453 3454 3455 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3447 def update!(**args) @assignee = args[:assignee] if args.key?(:assignee) @completed = args[:completed] if args.key?(:completed) @deleted = args[:deleted] if args.key?(:deleted) @description = args[:description] if args.key?(:description) @start_date = args[:start_date] if args.key?(:start_date) @start_time = args[:start_time] if args.key?(:start_time) @title = args[:title] if args.key?(:title) end |