Show / Hide Table of Contents

Class ProposalsResource.PatchRequest

Update the given proposal. This method supports patch semantics.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Proposal>
AdExchangeBuyerBaseServiceRequest<Proposal>
ProposalsResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Proposal>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
AdExchangeBuyerBaseServiceRequest<Proposal>.Alt
AdExchangeBuyerBaseServiceRequest<Proposal>.Fields
AdExchangeBuyerBaseServiceRequest<Proposal>.Key
AdExchangeBuyerBaseServiceRequest<Proposal>.OauthToken
AdExchangeBuyerBaseServiceRequest<Proposal>.PrettyPrint
AdExchangeBuyerBaseServiceRequest<Proposal>.QuotaUser
AdExchangeBuyerBaseServiceRequest<Proposal>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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.AdExchangeBuyer.v1_4
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class PatchRequest : AdExchangeBuyerBaseServiceRequest<Proposal>, IClientServiceRequest<Proposal>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Proposal, String, Int64, ProposalsResource.PatchRequest.UpdateActionEnum)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Proposal body, string proposalId, long revisionNumber, ProposalsResource.PatchRequest.UpdateActionEnum updateAction)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
Proposal body
System.String proposalId
System.Int64 revisionNumber
ProposalsResource.PatchRequest.UpdateActionEnum updateAction

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.AdExchangeBuyer.v1_4.Data.Proposal>.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.AdExchangeBuyer.v1_4.Data.Proposal>.MethodName

ProposalId

The proposal id to update.

Declaration
[RequestParameter("proposalId", RequestParameterType.Path)]
public virtual string ProposalId { 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.AdExchangeBuyer.v1_4.Data.Proposal>.RestPath

RevisionNumber

The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.

Declaration
[RequestParameter("revisionNumber", RequestParameterType.Path)]
public virtual long RevisionNumber { get; }
Property Value
Type Description
System.Int64

UpdateAction

The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.

Declaration
[RequestParameter("updateAction", RequestParameterType.Path)]
public virtual ProposalsResource.PatchRequest.UpdateActionEnum UpdateAction { get; }
Property Value
Type Description
ProposalsResource.PatchRequest.UpdateActionEnum

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.AdExchangeBuyer.v1_4.Data.Proposal>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AdExchangeBuyer.v1_4.AdExchangeBuyerBaseServiceRequest<Google.Apis.AdExchangeBuyer.v1_4.Data.Proposal>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top