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