Show / Hide Table of Contents

Class BuyersResource.ProposalsResource.DealsResource.PatchRequest

Updates the given deal at the buyer known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision an ABORTED error message will be returned. The revision number is incremented by the server whenever the proposal or its constituent deals are updated. Note: The revision number is kept at a proposal level. The buyer of the API is expected to keep track of the revision number after the last update operation and send it in as part of the next update request. This way, if there are further changes on the server (for example, seller making new updates), then the server can detect conflicts and reject the proposed changes.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Deal>
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>
BuyersResource.ProposalsResource.DealsResource.PatchRequest
Implements
IClientServiceRequest<Deal>
IClientServiceRequest
Inherited Members
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.Xgafv
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.AccessToken
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.Alt
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.Callback
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.Fields
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.Key
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.OauthToken
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.PrettyPrint
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.QuotaUser
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.UploadType
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.UploadProtocol
ClientServiceRequest<Deal>.Execute()
ClientServiceRequest<Deal>.ExecuteAsStream()
ClientServiceRequest<Deal>.ExecuteAsync()
ClientServiceRequest<Deal>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Deal>.ExecuteAsStreamAsync()
ClientServiceRequest<Deal>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Deal>.CreateRequest(bool?)
ClientServiceRequest<Deal>.GenerateRequestUri()
ClientServiceRequest<Deal>.GetDefaultETagAction(string)
ClientServiceRequest<Deal>.ETagAction
ClientServiceRequest<Deal>.ModifyRequest
ClientServiceRequest<Deal>.ValidateParameters
ClientServiceRequest<Deal>.ApiVersion
ClientServiceRequest<Deal>.RequestParameters
ClientServiceRequest<Deal>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1.dll
Syntax
public class BuyersResource.ProposalsResource.DealsResource.PatchRequest : AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>, IClientServiceRequest<Deal>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Deal, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Deal body, string name)
Parameters
Type Name Description
IClientService service
Deal body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Deal>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Deal>.MethodName

Name

Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Deal>.RestPath

UpdateMask

List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path "*" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Deal>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
AuthorizedBuyersMarketplaceBaseServiceRequest<Deal>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX