class Google::Apis::PeopleV1::ContactGroupMembership
A Google
contact group membership.
Attributes
contact_group_id[RW]
Output only. The contact group ID for the contact group membership. Corresponds to the JSON property `contactGroupId` @return [String]
contact_group_resource_name[RW]
The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/`contact_group_id“. Only contact_group_resource_name
can be used for modifying memberships. Any contact group membership can be removed, but only user group or “myContacts” or “ starred” system groups memberships can be added. A contact must always have at least one contact group membership. Corresponds to the JSON property `contactGroupResourceName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 580 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 585 def update!(**args) @contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id) @contact_group_resource_name = args[:contact_group_resource_name] if args.key?(:contact_group_resource_name) end