target.apidocs.com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Proposals.Pause.html Maven / Gradle / Ivy
AdExchangeBuyerII.Accounts.Proposals.Pause (Ad Exchange Buyer API II v2beta1-rev20230502-2.0.0)
com.google.api.services.adexchangebuyer2.v2beta1
Class AdExchangeBuyerII.Accounts.Proposals.Pause
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerIIRequest<Proposal>
-
- com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Proposals.Pause
-
- Enclosing class:
- AdExchangeBuyerII.Accounts.Proposals
public class AdExchangeBuyerII.Accounts.Proposals.Pause
extends AdExchangeBuyerIIRequest<Proposal>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
Pause(String accountId,
String proposalId,
PauseProposalRequest content)
Update the given proposal to pause serving.
-
Method Summary
-
Methods inherited from class com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerIIRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
Pause
protected Pause(String accountId,
String proposalId,
PauseProposalRequest content)
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.
Create a request for the method "proposals.pause".
This request holds the parameters needed by the the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
AdExchangeBuyerII.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
accountId
- Account ID of the buyer.
proposalId
- The ID of the proposal to pause.
content
- the PauseProposalRequest
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public AdExchangeBuyerII.Accounts.Proposals.Pause set$Xgafv(String $Xgafv)
Description copied from class: AdExchangeBuyerIIRequest
V1 error format.
- Overrides:
set$Xgafv
in class AdExchangeBuyerIIRequest<Proposal>
-
setAccessToken
public AdExchangeBuyerII.Accounts.Proposals.Pause setAccessToken(String accessToken)
Description copied from class: AdExchangeBuyerIIRequest
OAuth access token.
- Overrides:
setAccessToken
in class AdExchangeBuyerIIRequest<Proposal>
-
setAlt
public AdExchangeBuyerII.Accounts.Proposals.Pause setAlt(String alt)
Description copied from class: AdExchangeBuyerIIRequest
Data format for response.
- Overrides:
setAlt
in class AdExchangeBuyerIIRequest<Proposal>
-
setCallback
public AdExchangeBuyerII.Accounts.Proposals.Pause setCallback(String callback)
Description copied from class: AdExchangeBuyerIIRequest
JSONP
- Overrides:
setCallback
in class AdExchangeBuyerIIRequest<Proposal>
-
setFields
public AdExchangeBuyerII.Accounts.Proposals.Pause setFields(String fields)
Description copied from class: AdExchangeBuyerIIRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class AdExchangeBuyerIIRequest<Proposal>
-
setKey
public AdExchangeBuyerII.Accounts.Proposals.Pause setKey(String key)
Description copied from class: AdExchangeBuyerIIRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class AdExchangeBuyerIIRequest<Proposal>
-
setOauthToken
public AdExchangeBuyerII.Accounts.Proposals.Pause setOauthToken(String oauthToken)
Description copied from class: AdExchangeBuyerIIRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class AdExchangeBuyerIIRequest<Proposal>
-
setPrettyPrint
public AdExchangeBuyerII.Accounts.Proposals.Pause setPrettyPrint(Boolean prettyPrint)
Description copied from class: AdExchangeBuyerIIRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class AdExchangeBuyerIIRequest<Proposal>
-
setQuotaUser
public AdExchangeBuyerII.Accounts.Proposals.Pause setQuotaUser(String quotaUser)
Description copied from class: AdExchangeBuyerIIRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser
in class AdExchangeBuyerIIRequest<Proposal>
-
setUploadType
public AdExchangeBuyerII.Accounts.Proposals.Pause setUploadType(String uploadType)
Description copied from class: AdExchangeBuyerIIRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class AdExchangeBuyerIIRequest<Proposal>
-
setUploadProtocol
public AdExchangeBuyerII.Accounts.Proposals.Pause setUploadProtocol(String uploadProtocol)
Description copied from class: AdExchangeBuyerIIRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class AdExchangeBuyerIIRequest<Proposal>
-
getAccountId
public String getAccountId()
Account ID of the buyer.
-
setAccountId
public AdExchangeBuyerII.Accounts.Proposals.Pause setAccountId(String accountId)
Account ID of the buyer.
-
getProposalId
public String getProposalId()
The ID of the proposal to pause.
-
setProposalId
public AdExchangeBuyerII.Accounts.Proposals.Pause setProposalId(String proposalId)
The ID of the proposal to pause.
-
set
public AdExchangeBuyerII.Accounts.Proposals.Pause set(String parameterName,
Object value)
- Overrides:
set
in class AdExchangeBuyerIIRequest<Proposal>
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy