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

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

Overview

The metadata about a contact group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContactGroupMetadata

Returns a new instance of ContactGroupMetadata.



601
602
603
# File 'lib/google/apis/people_v1/classes.rb', line 601

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

Instance Attribute Details

#deletedBoolean Also known as: deleted?

Output only. 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)


593
594
595
# File 'lib/google/apis/people_v1/classes.rb', line 593

def deleted
  @deleted
end

#update_timeString

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

Returns:

  • (String)


599
600
601
# File 'lib/google/apis/people_v1/classes.rb', line 599

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



606
607
608
609
# File 'lib/google/apis/people_v1/classes.rb', line 606

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