Class AccountsResource.ProposalsResource.PauseRequest
Update the given proposal to pause serving. This method will set the
DealServingMetadata.DealPauseStatus.has_buyer_paused
bit to true for all deals in the proposal. It is
a no-op to pause an already-paused proposal. It is an error to call PauseProposal for a proposal that is
not finalized or renegotiating.
Inheritance
AccountsResource.ProposalsResource.PauseRequest
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.ProposalsResource.PauseRequest : AdExchangeBuyerIIBaseServiceRequest<Proposal>, IClientServiceRequest<Proposal>, IClientServiceRequest
Constructors
PauseRequest(IClientService, PauseProposalRequest, string, string)
Constructs a new Pause request.
Declaration
public PauseRequest(IClientService service, PauseProposalRequest body, string accountId, string proposalId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PauseProposalRequest | body | |
string | accountId | |
string | proposalId |
Properties
AccountId
Account ID of the buyer.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
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
ProposalId
The ID of the proposal to pause.
Declaration
[RequestParameter("proposalId", RequestParameterType.Path)]
public virtual string ProposalId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Pause parameter list.
Declaration
protected override void InitParameters()