target.apidocs.com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Proposals.Update.html Maven / Gradle / Ivy
AdExchangeBuyerII.Accounts.Proposals.Update (Ad Exchange Buyer API II v2beta1-rev20230502-2.0.0)
com.google.api.services.adexchangebuyer2.v2beta1
Class AdExchangeBuyerII.Accounts.Proposals.Update
- 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.Update
-
- Enclosing class:
- AdExchangeBuyerII.Accounts.Proposals
public class AdExchangeBuyerII.Accounts.Proposals.Update
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
Update(String accountId,
String proposalId,
Proposal content)
Update the given proposal at the client known revision number.
-
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
-
Update
protected Update(String accountId,
String proposalId,
Proposal content)
Update the given proposal at the client known revision number. If the server revision has
advanced since the passed-in `proposal.proposal_revision`, an `ABORTED` error message will be
returned. Only the buyer-modifiable fields of the proposal will be updated. Note that the deals
in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have
a `deal_id`, the server will assign a new unique ID and create the deal. If passed-in deal has
a `deal_id`, it will be updated to match the passed-in copy. Any existing deals not present in
the passed-in proposal will be deleted. It is an error to pass in a deal with a `deal_id` not
present at head.
Create a request for the method "proposals.update".
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 unique ID of the proposal.
content
- the Proposal
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public AdExchangeBuyerII.Accounts.Proposals.Update set$Xgafv(String $Xgafv)
Description copied from class: AdExchangeBuyerIIRequest
V1 error format.
- Overrides:
set$Xgafv
in class AdExchangeBuyerIIRequest<Proposal>
-
setAccessToken
public AdExchangeBuyerII.Accounts.Proposals.Update setAccessToken(String accessToken)
Description copied from class: AdExchangeBuyerIIRequest
OAuth access token.
- Overrides:
setAccessToken
in class AdExchangeBuyerIIRequest<Proposal>
-
setAlt
public AdExchangeBuyerII.Accounts.Proposals.Update setAlt(String alt)
Description copied from class: AdExchangeBuyerIIRequest
Data format for response.
- Overrides:
setAlt
in class AdExchangeBuyerIIRequest<Proposal>
-
setCallback
public AdExchangeBuyerII.Accounts.Proposals.Update setCallback(String callback)
Description copied from class: AdExchangeBuyerIIRequest
JSONP
- Overrides:
setCallback
in class AdExchangeBuyerIIRequest<Proposal>
-
setFields
public AdExchangeBuyerII.Accounts.Proposals.Update 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.Update 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.Update 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.Update 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.Update 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.Update 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.Update 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.Update setAccountId(String accountId)
Account ID of the buyer.
-
getProposalId
public String getProposalId()
The unique ID of the proposal.
-
setProposalId
public AdExchangeBuyerII.Accounts.Proposals.Update setProposalId(String proposalId)
The unique ID of the proposal.
-
set
public AdExchangeBuyerII.Accounts.Proposals.Update 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