Show / Hide Table of Contents

Class GrantsResource.PatchRequest

Updates access for the user to the given package.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Grant>
AndroidPublisherBaseServiceRequest<Grant>
GrantsResource.PatchRequest
Implements
IClientServiceRequest<Grant>
IClientServiceRequest
Inherited Members
AndroidPublisherBaseServiceRequest<Grant>.Xgafv
AndroidPublisherBaseServiceRequest<Grant>.AccessToken
AndroidPublisherBaseServiceRequest<Grant>.Alt
AndroidPublisherBaseServiceRequest<Grant>.Callback
AndroidPublisherBaseServiceRequest<Grant>.Fields
AndroidPublisherBaseServiceRequest<Grant>.Key
AndroidPublisherBaseServiceRequest<Grant>.OauthToken
AndroidPublisherBaseServiceRequest<Grant>.PrettyPrint
AndroidPublisherBaseServiceRequest<Grant>.QuotaUser
AndroidPublisherBaseServiceRequest<Grant>.UploadType
AndroidPublisherBaseServiceRequest<Grant>.UploadProtocol
ClientServiceRequest<Grant>.Execute()
ClientServiceRequest<Grant>.ExecuteAsStream()
ClientServiceRequest<Grant>.ExecuteAsync()
ClientServiceRequest<Grant>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Grant>.ExecuteAsStreamAsync()
ClientServiceRequest<Grant>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Grant>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Grant>.GenerateRequestUri()
ClientServiceRequest<Grant>.GetDefaultETagAction(String)
ClientServiceRequest<Grant>.ETagAction
ClientServiceRequest<Grant>.ModifyRequest
ClientServiceRequest<Grant>.ValidateParameters
ClientServiceRequest<Grant>.RequestParameters
ClientServiceRequest<Grant>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class PatchRequest : AndroidPublisherBaseServiceRequest<Grant>, IClientServiceRequest<Grant>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Grant, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Grant body, string name)
Parameters
Type Name Description
IClientService service
Grant body
System.String name

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.AndroidPublisher.v3.Data.Grant>.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.AndroidPublisher.v3.Data.Grant>.MethodName

Name

Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". If this grant is for a draft app, the app ID will be used in this resource name instead of the package name.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.AndroidPublisher.v3.Data.Grant>.RestPath

UpdateMask

Optional. The list of fields to be updated.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
System.Object

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.AndroidPublisher.v3.Data.Grant>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v3.AndroidPublisherBaseServiceRequest<Google.Apis.AndroidPublisher.v3.Data.Grant>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX