class Google::Apis::PeopleV1::UpdateContactGroupRequest

A request to update an existing user contact group. All updated fields will be replaced.

Attributes

contact_group[RW]

A contact group. Corresponds to the JSON property `contactGroup` @return [Google::Apis::PeopleV1::ContactGroup]

read_group_fields[RW]

Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData * groupType * memberCount * metadata * name Corresponds to the JSON property `readGroupFields` @return [String]

update_group_fields[RW]

Optional. A field mask to restrict which fields on the group are updated. Multiple fields can be specified by separating them with commas. Defaults to ` name` if not set or set to empty. Updated fields are replaced. Valid values are: * clientData * name Corresponds to the JSON property `updateGroupFields` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 2791
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 2796
def update!(**args)
  @contact_group = args[:contact_group] if args.key?(:contact_group)
  @read_group_fields = args[:read_group_fields] if args.key?(:read_group_fields)
  @update_group_fields = args[:update_group_fields] if args.key?(:update_group_fields)
end