Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTasksAnnotationDataTaskProperties

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedTasksAnnotationDataTaskProperties

Returns a new instance of AppsDynamiteSharedTasksAnnotationDataTaskProperties.



2311
2312
2313
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2311

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

Instance Attribute Details

#assigneeGoogle::Apis::CloudsearchV1::UserId

Primary key for User resource. Corresponds to the JSON property assignee



2270
2271
2272
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2270

def assignee
  @assignee
end

#completedBoolean Also known as: completed?

Whether the task is marked as completed. Corresponds to the JSON property completed

Returns:

  • (Boolean)


2275
2276
2277
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2275

def completed
  @completed
end

#deletedBoolean Also known as: deleted?

Whether the task is marked as deleted. Corresponds to the JSON property deleted

Returns:

  • (Boolean)


2281
2282
2283
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2281

def deleted
  @deleted
end

#descriptionString

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

Returns:

  • (String)


2289
2290
2291
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2289

def description
  @description
end

#start_dateGoogle::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



2298
2299
2300
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2298

def start_date
  @start_date
end

#start_timeString

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

Returns:

  • (String)


2304
2305
2306
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2304

def start_time
  @start_time
end

#titleString

The title of the task. Corresponds to the JSON property title

Returns:

  • (String)


2309
2310
2311
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2309

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2316
2317
2318
2319
2320
2321
2322
2323
2324
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2316

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