Class OtherContactsResource.CopyOtherContactToMyContactsGroupRequest
Copies an "Other contact" to a new contact in the user's "myContacts" group Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
Inheritance
OtherContactsResource.CopyOtherContactToMyContactsGroupRequest
Inherited Members
Namespace: Google.Apis.PeopleService.v1
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class OtherContactsResource.CopyOtherContactToMyContactsGroupRequest : PeopleServiceBaseServiceRequest<Person>, IClientServiceRequest<Person>, IClientServiceRequest
Constructors
CopyOtherContactToMyContactsGroupRequest(IClientService, CopyOtherContactToMyContactsGroupRequest, string)
Constructs a new CopyOtherContactToMyContactsGroup request.
Declaration
public CopyOtherContactToMyContactsGroupRequest(IClientService service, CopyOtherContactToMyContactsGroupRequest body, string resourceName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CopyOtherContactToMyContactsGroupRequest | 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.Person>.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.Person>.MethodName
ResourceName
Required. The resource name of the "Other contact" to copy.
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.Person>.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.Person>.GetBody()
InitParameters()
Initializes CopyOtherContactToMyContactsGroup parameter list.
Declaration
protected override void InitParameters()