Class ContactGroupsResource.UpdateRequest
Update the name of an existing contact group owned by the authenticated user. Updated contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
Inheritance
ContactGroupsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.PeopleService.v1
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class ContactGroupsResource.UpdateRequest : PeopleServiceBaseServiceRequest<ContactGroup>, IClientServiceRequest<ContactGroup>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, UpdateContactGroupRequest, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, UpdateContactGroupRequest body, string resourceName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateContactGroupRequest | body | |
string | resourceName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.MethodName
ResourceName
The resource name for the contact group, assigned by the server. An ASCII string, in the form of
contactGroups/{contact_group_id}
.
Declaration
[RequestParameter("resourceName", RequestParameterType.Path)]
public virtual string ResourceName { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()