Class ContactGroupsResource.UpdateRequest
Update the name of an existing contact group owned by the authenticated user.
Inheritance
System.Object
ContactGroupsResource.UpdateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.PeopleService.v1
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class 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 | |
| System.String | resourceName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.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 |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.PeopleService.v1.PeopleServiceBaseServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.InitParameters()