Class: Google::Apis::PeopleV1::ContactGroupMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/people_v1/classes.rb,
generated/google/apis/people_v1/representations.rb,
generated/google/apis/people_v1/representations.rb

Overview

The read-only metadata about a contact group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ContactGroupMetadata

Returns a new instance of ContactGroupMetadata



369
370
371
# File 'generated/google/apis/people_v1/classes.rb', line 369

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

Instance Attribute Details

#deletedBoolean Also known as: deleted?

True if the contact group resource has been deleted. Populated only for ListContactGroups requests that include a sync token. Corresponds to the JSON property deleted

Returns:

  • (Boolean)


361
362
363
# File 'generated/google/apis/people_v1/classes.rb', line 361

def deleted
  @deleted
end

#update_timeString

The time the group was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


367
368
369
# File 'generated/google/apis/people_v1/classes.rb', line 367

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



374
375
376
377
# File 'generated/google/apis/people_v1/classes.rb', line 374

def update!(**args)
  @deleted = args[:deleted] if args.key?(:deleted)
  @update_time = args[:update_time] if args.key?(:update_time)
end