Class ContactGroupsResource.CreateRequest
Create a new contact group owned by the authenticated user. Created 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.CreateRequest
Inherited Members
Namespace: Google.Apis.PeopleService.v1
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class ContactGroupsResource.CreateRequest : PeopleServiceBaseServiceRequest<ContactGroup>, IClientServiceRequest<ContactGroup>, IClientServiceRequest
Constructors
CreateRequest(IClientService, CreateContactGroupRequest)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, CreateContactGroupRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CreateContactGroupRequest | body |
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
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 Create parameter list.
Declaration
protected override void InitParameters()