Class: Google::Apis::PeopleV1::ContactGroupMembership
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PeopleV1::ContactGroupMembership
 
- 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
A Google contact group membership.
Instance Attribute Summary collapse
- 
  
    
      #contact_group_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The contact group ID for the contact group membership. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ContactGroupMembership 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ContactGroupMembership. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContactGroupMembership
Returns a new instance of ContactGroupMembership
| 342 343 344 | # File 'generated/google/apis/people_v1/classes.rb', line 342 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#contact_group_id ⇒ String
The contact group ID for the contact group membership. The contact group ID can be custom or predefined. Possible values include, but are not limited to, the following:
-  myContacts
-  starred
-  A numerical ID for user-created groups.
Corresponds to the JSON property contactGroupId
| 340 341 342 | # File 'generated/google/apis/people_v1/classes.rb', line 340 def contact_group_id @contact_group_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 347 348 349 | # File 'generated/google/apis/people_v1/classes.rb', line 347 def update!(**args) @contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id) end |