Class UsersResource.PhotosResource.PatchRequest
Adds a photo for the user. This method supports patch semantics.
Inheritance
UsersResource.PhotosResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class UsersResource.PhotosResource.PatchRequest : DirectoryBaseServiceRequest<UserPhoto>, IClientServiceRequest<UserPhoto>, IClientServiceRequest
Constructors
PatchRequest(IClientService, UserPhoto, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, UserPhoto body, string userKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UserPhoto | body | |
string | userKey |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserKey
Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
Declaration
[RequestParameter("userKey", RequestParameterType.Path)]
public virtual string UserKey { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()