Autogenerated update (2017-10-24)

Update:
- adexchangebuyer2_v2beta1
- cloudbuild_v1
- content_v2
- content_v2sandbox
This commit is contained in:
Google APIs 2017-10-24 00:36:03 +00:00
parent 436b8fb274
commit 7437b1cc93
12 changed files with 294 additions and 298 deletions

View File

@ -12088,6 +12088,7 @@
"/cloudbuild:v1/BuildOperationMetadata": build_operation_metadata
"/cloudbuild:v1/BuildOperationMetadata/build": build
"/cloudbuild:v1/BuildOptions": build_options
"/cloudbuild:v1/BuildOptions/logStreamingOption": log_streaming_option
"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option
"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash
"/cloudbuild:v1/BuildOptions/sourceProvenanceHash/source_provenance_hash": source_provenance_hash

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20171016'
REVISION = '20171019'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -875,6 +875,7 @@ module Google
# data)
# - `bidders/*/accounts/*/filterSets/*` (for accessing buyer-level
# troubleshooting data)
# This field is required in create operations.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -838,11 +838,11 @@ module Google
# @param [String] owner_name
# Name of the owner (bidder or account) of the filter set to be created.
# For example:
# - For a bidder-level filter set for bidder 123: "bidders/123"
# - For a bidder-level filter set for bidder 123: `bidders/123`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123"
# 123: `bidders/123/accounts/123`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456"
# whose bidder is 123: `bidders/123/accounts/456`
# @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
# @param [Fixnum] account_id
# Account ID of the buyer.
@ -887,11 +887,11 @@ module Google
# Full name of the resource to delete.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -931,11 +931,11 @@ module Google
# Full name of the resource being requested.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -973,11 +973,11 @@ module Google
# @param [String] owner_name
# Name of the owner (bidder or account) of the filter sets to be listed.
# For example:
# - For a bidder-level filter set for bidder 123: "bidders/123"
# - For a bidder-level filter set for bidder 123: `bidders/123`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123"
# 123: `bidders/123/accounts/123`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456"
# whose bidder is 123: `bidders/123/accounts/456`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] page_size
@ -1025,11 +1025,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1080,11 +1080,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1135,11 +1135,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1190,11 +1190,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1245,11 +1245,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1300,11 +1300,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] creative_status_id
# The ID of the creative status for which to retrieve a breakdown by
# creative.
@ -1362,11 +1362,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] creative_status_id
# The ID of the creative status for which to retrieve a breakdown by detail.
# See
@ -1423,11 +1423,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1478,11 +1478,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1533,11 +1533,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1586,11 +1586,11 @@ module Google
# @param [String] owner_name
# Name of the owner (bidder or account) of the filter set to be created.
# For example:
# - For a bidder-level filter set for bidder 123: "bidders/123"
# - For a bidder-level filter set for bidder 123: `bidders/123`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123"
# 123: `bidders/123/accounts/123`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456"
# whose bidder is 123: `bidders/123/accounts/456`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_absolute_date_range_end_date_day
@ -1630,6 +1630,7 @@ module Google
# data)
# - `bidders/*/accounts/*/filterSets/*` (for accessing buyer-level
# troubleshooting data)
# This field is required in create operations.
# @param [Fixnum] filter_set_owner_account_id
# The account ID of the buyer who owns this filter set.
# The value of this field is ignored in create operations.
@ -1715,11 +1716,11 @@ module Google
# Full name of the resource to delete.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1759,11 +1760,11 @@ module Google
# Full name of the resource being requested.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1801,11 +1802,11 @@ module Google
# @param [String] owner_name
# Name of the owner (bidder or account) of the filter sets to be listed.
# For example:
# - For a bidder-level filter set for bidder 123: "bidders/123"
# - For a bidder-level filter set for bidder 123: `bidders/123`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123"
# 123: `bidders/123/accounts/123`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456"
# whose bidder is 123: `bidders/123/accounts/456`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] page_size
@ -1853,11 +1854,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1908,11 +1909,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -1963,11 +1964,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -2018,11 +2019,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -2073,11 +2074,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -2128,11 +2129,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] creative_status_id
# The ID of the creative status for which to retrieve a breakdown by
# creative.
@ -2190,11 +2191,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] creative_status_id
# The ID of the creative status for which to retrieve a breakdown by detail.
# See
@ -2251,11 +2252,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -2306,11 +2307,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
@ -2361,11 +2362,11 @@ module Google
# Name of the filter set that should be applied to the requested metrics.
# For example:
# - For a bidder-level filter set for bidder 123:
# "bidders/123/filterSets/abc"
# `bidders/123/filterSets/abc`
# - For an account-level filter set for the buyer account representing bidder
# 123: "bidders/123/accounts/123/filterSets/abc"
# 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: "bidders/123/accounts/456/filterSets/abc"
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20170920'
REVISION = '20171023'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -230,6 +230,12 @@ module Google
class BuildOptions
include Google::Apis::Core::Hashable
# LogStreamingOption to define build log streaming behavior to Google Cloud
# Storage.
# Corresponds to the JSON property `logStreamingOption`
# @return [String]
attr_accessor :log_streaming_option
# Requested verifiability options.
# Corresponds to the JSON property `requestedVerifyOption`
# @return [String]
@ -251,6 +257,7 @@ module Google
# Update properties of this object
def update!(**args)
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
@substitution_option = args[:substitution_option] if args.key?(:substitution_option)

View File

@ -203,6 +203,7 @@ module Google
class BuildOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :log_streaming_option, as: 'logStreamingOption'
property :requested_verify_option, as: 'requestedVerifyOption'
collection :source_provenance_hash, as: 'sourceProvenanceHash'
property :substitution_option, as: 'substitutionOption'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20171010'
REVISION = '20171020'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -4757,7 +4757,10 @@ module Google
# @return [String]
attr_accessor :gtin
# The REST id of the product.
# The REST id of the product. Content API methods that operate on products take
# this as their productId parameter.
# The REST id for a product is of the form channel:contentLanguage:targetCountry:
# offerId.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -4838,10 +4841,12 @@ module Google
# @return [Fixnum]
attr_accessor :multipack
# An identifier of the item. Leading and trailing whitespaces are stripped and
# multiple whitespaces are replaced by a single whitespace upon submission. Only
# valid unicode characters are accepted. See the products feed specification for
# details.
# A unique identifier for the item. Leading and trailing whitespaces are
# stripped and multiple whitespaces are replaced by a single whitespace upon
# submission. Only valid unicode characters are accepted. See the products feed
# specification for details.
# Note: Content API methods that operate on products take the REST id of the
# product, not this identifier.
# Corresponds to the JSON property `offerId`
# @return [String]
attr_accessor :offer_id

View File

@ -86,12 +86,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Claims the website of a Merchant Center sub-account. This method can only be
# called for accounts to which the managing account has access: either the
# managing account itself for any Merchant Center account, or any sub-account
# when the managing account is a multi-client account.
# Claims the website of a Merchant Center sub-account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account whose website is claimed.
# @param [Boolean] overwrite
@ -171,10 +169,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a Merchant Center sub-account. This method can only be called for
# multi-client accounts.
# Deletes a Merchant Center sub-account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. This must be a multi-client account.
# @param [Fixnum] account_id
# The ID of the account.
# @param [Boolean] dry_run
@ -214,12 +211,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves a Merchant Center account. This method can only be called for
# accounts to which the managing account has access: either the managing account
# itself for any Merchant Center account, or any sub-account when the managing
# account is a multi-client account.
# Retrieves a Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account.
# @param [String] fields
@ -255,10 +250,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a Merchant Center sub-account. This method can only be called for
# multi-client accounts.
# Creates a Merchant Center sub-account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. This must be a multi-client account.
# @param [Google::Apis::ContentV2::Account] account_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -297,10 +291,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the sub-accounts in your Merchant Center account. This method can only
# be called for multi-client accounts.
# Lists the sub-accounts in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. This must be a multi-client account.
# @param [Fixnum] max_results
# The maximum number of accounts to return in the response, used for paging.
# @param [String] page_token
@ -339,12 +332,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a Merchant Center account. This method can only be called for accounts
# to which the managing account has access: either the managing account itself
# for any Merchant Center account, or any sub-account when the managing account
# is a multi-client account. This method supports patch semantics.
# Updates a Merchant Center account. This method supports patch semantics.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account.
# @param [Google::Apis::ContentV2::Account] account_object
@ -386,12 +377,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a Merchant Center account. This method can only be called for accounts
# to which the managing account has access: either the managing account itself
# for any Merchant Center account, or any sub-account when the managing account
# is a multi-client account.
# Updates a Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account.
# @param [Google::Apis::ContentV2::Account] account_object
@ -468,12 +457,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the status of a Merchant Center account. This method can only be
# called for accounts to which the managing account has access: either the
# managing account itself for any Merchant Center account, or any sub-account
# when the managing account is a multi-client account.
# Retrieves the status of a Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account.
# @param [String] fields
@ -509,10 +496,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the statuses of the sub-accounts in your Merchant Center account. This
# method can only be called for multi-client accounts.
# Lists the statuses of the sub-accounts in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. This must be a multi-client account.
# @param [Fixnum] max_results
# The maximum number of account statuses to return in the response, used for
# paging.
@ -590,12 +576,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the tax settings of the account. This method can only be called for
# accounts to which the managing account has access: either the managing account
# itself for any Merchant Center account, or any sub-account when the managing
# account is a multi-client account.
# Retrieves the tax settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account for which to get/update account tax settings.
# @param [String] fields
@ -632,9 +616,8 @@ module Google
end
# Lists the tax settings of the sub-accounts in your Merchant Center account.
# This method can only be called for multi-client accounts.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. This must be a multi-client account.
# @param [Fixnum] max_results
# The maximum number of tax settings to return in the response, used for paging.
# @param [String] page_token
@ -673,12 +656,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the tax settings of the account. This method can only be called for
# accounts to which the managing account has access: either the managing account
# itself for any Merchant Center account, or any sub-account when the managing
# account is a multi-client account. This method supports patch semantics.
# Updates the tax settings of the account. This method supports patch semantics.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account for which to get/update account tax settings.
# @param [Google::Apis::ContentV2::AccountTax] account_tax_object
@ -720,12 +701,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the tax settings of the account. This method can only be called for
# accounts to which the managing account has access: either the managing account
# itself for any Merchant Center account, or any sub-account when the managing
# account is a multi-client account.
# Updates the tax settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account for which to get/update account tax settings.
# @param [Google::Apis::ContentV2::AccountTax] account_tax_object
@ -805,10 +784,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a datafeed configuration from your Merchant Center account. This
# method can only be called for non-multi-client accounts.
# Deletes a datafeed configuration from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
# multi-client account.
# @param [Fixnum] datafeed_id
# The ID of the datafeed.
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
# @param [String] fields
@ -843,10 +824,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves a datafeed configuration from your Merchant Center account. This
# method can only be called for non-multi-client accounts.
# Retrieves a datafeed configuration from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
# multi-client account.
# @param [Fixnum] datafeed_id
# The ID of the datafeed.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -880,9 +863,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Registers a datafeed configuration with your Merchant Center account. This
# method can only be called for non-multi-client accounts.
# Registers a datafeed configuration with your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
# multi-client account.
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -921,10 +905,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the datafeeds in your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Lists the datafeeds in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the datafeeds. This account cannot be a
# multi-client account.
# @param [Fixnum] max_results
# The maximum number of products to return in the response, used for paging.
# @param [String] page_token
@ -964,10 +948,12 @@ module Google
end
# Updates a datafeed configuration of your Merchant Center account. This method
# can only be called for non-multi-client accounts. This method supports patch
# semantics.
# supports patch semantics.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
# multi-client account.
# @param [Fixnum] datafeed_id
# The ID of the datafeed.
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -1007,10 +993,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a datafeed configuration of your Merchant Center account. This method
# can only be called for non-multi-client accounts.
# Updates a datafeed configuration of your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
# multi-client account.
# @param [Fixnum] datafeed_id
# The ID of the datafeed.
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -1085,10 +1073,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the status of a datafeed from your Merchant Center account. This
# method can only be called for non-multi-client accounts.
# Retrieves the status of a datafeed from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
# multi-client account.
# @param [Fixnum] datafeed_id
# The ID of the datafeed.
# @param [String] country
# The country for which to get the datafeed status. If this parameter is
# provided then language must also be provided. Note that this parameter is
@ -1134,10 +1124,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the statuses of the datafeeds in your Merchant Center account. This
# method can only be called for non-multi-client accounts.
# Lists the statuses of the datafeeds in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the datafeeds. This account cannot be a
# multi-client account.
# @param [Fixnum] max_results
# The maximum number of products to return in the response, used for paging.
# @param [String] page_token
@ -1178,7 +1168,6 @@ module Google
# Updates price and availability for multiple products or stores in a single
# request. This operation does not update the expiration date of the products.
# This method can only be called for non-multi-client accounts.
# @param [Google::Apis::ContentV2::BatchInventoryRequest] batch_inventory_request_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -1217,15 +1206,14 @@ module Google
end
# Updates price and availability of a product in your Merchant Center account.
# This operation does not update the expiration date of the product. This method
# can only be called for non-multi-client accounts.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] store_code
# The code of the store for which to update price and availability. Use online
# to update price and availability of an online product.
# @param [String] product_id
# The ID of the product for which to update price and availability.
# The REST id of the product for which to update price and availability.
# @param [Google::Apis::ContentV2::SetInventoryRequest] set_inventory_request_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -1266,10 +1254,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Marks an order as acknowledged. This method can only be called for non-multi-
# client accounts.
# Marks an order as acknowledged.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersAcknowledgeRequest] orders_acknowledge_request_object
@ -1309,9 +1297,10 @@ module Google
end
# Sandbox only. Moves a test order from state "inProgress" to state "
# pendingShipment". This method can only be called for non-multi-client accounts.
# pendingShipment".
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the test order to modify.
# @param [String] fields
@ -1347,10 +1336,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Cancels all line items in an order, making a full refund. This method can only
# be called for non-multi-client accounts.
# Cancels all line items in an order, making a full refund.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order to cancel.
# @param [Google::Apis::ContentV2::OrdersCancelRequest] orders_cancel_request_object
@ -1389,10 +1378,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Cancels a line item, making a full refund. This method can only be called for
# non-multi-client accounts.
# Cancels a line item, making a full refund.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersCancelLineItemRequest] orders_cancel_line_item_request_object
@ -1431,10 +1420,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Sandbox only. Creates a test order. This method can only be called for non-
# multi-client accounts.
# Sandbox only. Creates a test order.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that should manage the order. This cannot be a multi-
# client account.
# @param [Google::Apis::ContentV2::OrdersCreateTestOrderRequest] orders_create_test_order_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1470,8 +1459,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves or modifies multiple orders in a single request. This method can
# only be called for non-multi-client accounts.
# Retrieves or modifies multiple orders in a single request.
# @param [Google::Apis::ContentV2::OrdersCustomBatchRequest] orders_custom_batch_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1506,10 +1494,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an order from your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Retrieves an order from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [String] fields
@ -1545,10 +1533,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an order using merchant order id. This method can only be called for
# non-multi-client accounts.
# Retrieves an order using merchant order id.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] merchant_order_id
# The merchant order id to be looked for.
# @param [String] fields
@ -1585,10 +1573,10 @@ module Google
end
# Sandbox only. Retrieves an order template that can be used to quickly create a
# new order in sandbox. This method can only be called for non-multi-client
# accounts.
# new order in sandbox.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that should manage the order. This cannot be a multi-
# client account.
# @param [String] template_name
# The name of the template to retrieve.
# @param [String] fields
@ -1624,10 +1612,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the orders in your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Lists the orders in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [Boolean] acknowledged
# Obtains orders that match the acknowledgement status. When set to true,
# obtains orders that have been acknowledged. When false, obtains orders that
@ -1698,10 +1686,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Refund a portion of the order, up to the full amount paid. This method can
# only be called for non-multi-client accounts.
# Refund a portion of the order, up to the full amount paid.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order to refund.
# @param [Google::Apis::ContentV2::OrdersRefundRequest] orders_refund_request_object
@ -1740,10 +1728,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns a line item. This method can only be called for non-multi-client
# accounts.
# Returns a line item.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersReturnLineItemRequest] orders_return_line_item_request_object
@ -1782,10 +1770,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Marks line item(s) as shipped. This method can only be called for non-multi-
# client accounts.
# Marks line item(s) as shipped.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersShipLineItemsRequest] orders_ship_line_items_request_object
@ -1824,10 +1812,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the merchant order ID for a given order. This method can only be
# called for non-multi-client accounts.
# Updates the merchant order ID for a given order.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest] orders_update_merchant_order_id_request_object
@ -1866,10 +1854,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a shipment's status, carrier, and/or tracking ID. This method can only
# be called for non-multi-client accounts.
# Updates a shipment's status, carrier, and/or tracking ID.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersUpdateShipmentRequest] orders_update_shipment_request_object
@ -1908,8 +1896,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves, inserts, and deletes multiple products in a single request. This
# method can only be called for non-multi-client accounts.
# Retrieves, inserts, and deletes multiple products in a single request.
# @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -1947,12 +1934,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a product from your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Deletes a product from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The ID of the product.
# The REST id of the product.
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
# @param [String] fields
@ -1987,12 +1974,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves a product from your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Retrieves a product from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The ID of the product.
# The REST id of the product.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2028,10 +2015,10 @@ module Google
# Uploads a product to your Merchant Center account. If an item with the same
# channel, contentLanguage, offerId, and targetCountry already exists, this
# method updates that entry. This method can only be called for non-multi-client
# accounts.
# method updates that entry.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [Google::Apis::ContentV2::Product] product_object
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
@ -2070,10 +2057,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the products in your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Lists the products in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that contains the products. This account cannot be a
# multi-client account.
# @param [Boolean] include_invalid_inserted_items
# Flag to include the invalid inserted items in the result of the list request.
# By default the invalid items are not shown (the default value is false).
@ -2116,8 +2103,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the statuses of multiple products in a single request. This method can
# only be called for non-multi-client accounts.
# Gets the statuses of multiple products in a single request.
# @param [Google::Apis::ContentV2::BatchProductStatusesRequest] batch_product_statuses_request_object
# @param [Boolean] include_attributes
# Flag to include full product data in the results of this request. The default
@ -2156,12 +2142,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the status of a product from your Merchant Center account. This method
# can only be called for non-multi-client accounts.
# Gets the status of a product from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The ID of the product.
# The REST id of the product.
# @param [Boolean] include_attributes
# Flag to include full product data in the result of this get request. The
# default value is false.
@ -2199,10 +2185,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the statuses of the products in your Merchant Center account. This
# method can only be called for non-multi-client accounts.
# Lists the statuses of the products in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that contains the products. This account cannot be a
# multi-client account.
# @param [Boolean] include_attributes
# Flag to include full product data in the results of the list request. The
# default value is false.
@ -2289,12 +2275,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the shipping settings of the account. This method can only be called
# for accounts to which the managing account has access: either the managing
# account itself for any Merchant Center account, or any sub-account when the
# managing account is a multi-client account.
# Retrieves the shipping settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account for which to get/update shipping settings.
# @param [String] fields
@ -2366,9 +2350,9 @@ module Google
end
# Lists the shipping settings of the sub-accounts in your Merchant Center
# account. This method can only be called for multi-client accounts.
# account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. This must be a multi-client account.
# @param [Fixnum] max_results
# The maximum number of shipping settings to return in the response, used for
# paging.
@ -2408,13 +2392,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the shipping settings of the account. This method can only be called
# for accounts to which the managing account has access: either the managing
# account itself for any Merchant Center account, or any sub-account when the
# managing account is a multi-client account. This method supports patch
# Updates the shipping settings of the account. This method supports patch
# semantics.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account for which to get/update shipping settings.
# @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
@ -2456,12 +2438,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the shipping settings of the account. This method can only be called
# for accounts to which the managing account has access: either the managing
# account itself for any Merchant Center account, or any sub-account when the
# managing account is a multi-client account.
# Updates the shipping settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the managing account. If this account is not a multi-client account,
# then this parameter must be the same as accountId.
# @param [Fixnum] account_id
# The ID of the account for which to get/update shipping settings.
# @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2sandbox
VERSION = 'V2sandbox'
REVISION = '20170928'
REVISION = '20171020'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -54,10 +54,10 @@ module Google
@batch_path = 'batch/content/v2sandbox'
end
# Marks an order as acknowledged. This method can only be called for non-multi-
# client accounts.
# Marks an order as acknowledged.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2sandbox::OrdersAcknowledgeRequest] orders_acknowledge_request_object
@ -97,9 +97,10 @@ module Google
end
# Sandbox only. Moves a test order from state "inProgress" to state "
# pendingShipment". This method can only be called for non-multi-client accounts.
# pendingShipment".
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the test order to modify.
# @param [String] fields
@ -135,10 +136,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Cancels all line items in an order, making a full refund. This method can only
# be called for non-multi-client accounts.
# Cancels all line items in an order, making a full refund.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order to cancel.
# @param [Google::Apis::ContentV2sandbox::OrdersCancelRequest] orders_cancel_request_object
@ -177,10 +178,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Cancels a line item, making a full refund. This method can only be called for
# non-multi-client accounts.
# Cancels a line item, making a full refund.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2sandbox::OrdersCancelLineItemRequest] orders_cancel_line_item_request_object
@ -219,10 +220,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Sandbox only. Creates a test order. This method can only be called for non-
# multi-client accounts.
# Sandbox only. Creates a test order.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that should manage the order. This cannot be a multi-
# client account.
# @param [Google::Apis::ContentV2sandbox::OrdersCreateTestOrderRequest] orders_create_test_order_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -258,8 +259,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves or modifies multiple orders in a single request. This method can
# only be called for non-multi-client accounts.
# Retrieves or modifies multiple orders in a single request.
# @param [Google::Apis::ContentV2sandbox::OrdersCustomBatchRequest] orders_custom_batch_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -294,10 +294,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an order from your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Retrieves an order from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [String] fields
@ -333,10 +333,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an order using merchant order id. This method can only be called for
# non-multi-client accounts.
# Retrieves an order using merchant order id.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] merchant_order_id
# The merchant order id to be looked for.
# @param [String] fields
@ -373,10 +373,10 @@ module Google
end
# Sandbox only. Retrieves an order template that can be used to quickly create a
# new order in sandbox. This method can only be called for non-multi-client
# accounts.
# new order in sandbox.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that should manage the order. This cannot be a multi-
# client account.
# @param [String] template_name
# The name of the template to retrieve.
# @param [String] fields
@ -412,10 +412,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the orders in your Merchant Center account. This method can only be
# called for non-multi-client accounts.
# Lists the orders in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [Boolean] acknowledged
# Obtains orders that match the acknowledgement status. When set to true,
# obtains orders that have been acknowledged. When false, obtains orders that
@ -486,10 +486,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Refund a portion of the order, up to the full amount paid. This method can
# only be called for non-multi-client accounts.
# Refund a portion of the order, up to the full amount paid.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order to refund.
# @param [Google::Apis::ContentV2sandbox::OrdersRefundRequest] orders_refund_request_object
@ -528,10 +528,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns a line item. This method can only be called for non-multi-client
# accounts.
# Returns a line item.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2sandbox::OrdersReturnLineItemRequest] orders_return_line_item_request_object
@ -570,10 +570,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Marks line item(s) as shipped. This method can only be called for non-multi-
# client accounts.
# Marks line item(s) as shipped.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2sandbox::OrdersShipLineItemsRequest] orders_ship_line_items_request_object
@ -612,10 +612,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the merchant order ID for a given order. This method can only be
# called for non-multi-client accounts.
# Updates the merchant order ID for a given order.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2sandbox::OrdersUpdateMerchantOrderIdRequest] orders_update_merchant_order_id_request_object
@ -654,10 +654,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a shipment's status, carrier, and/or tracking ID. This method can only
# be called for non-multi-client accounts.
# Updates a shipment's status, carrier, and/or tracking ID.
# @param [Fixnum] merchant_id
# The ID of the managing account.
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2sandbox::OrdersUpdateShipmentRequest] orders_update_shipment_request_object