Autogenerated update (2017-11-04)

Update:
- adexchangebuyer2_v2beta1
- bigquery_v2
- content_v2
- content_v2sandbox
- youtube_v3
This commit is contained in:
Google APIs 2017-11-04 00:34:56 +00:00
parent 670c6d2673
commit 552c2fa71e
14 changed files with 40 additions and 31 deletions

View File

@ -53,6 +53,7 @@
"/adexchangebuyer2:v2beta1/Client/entityId": entity_id
"/adexchangebuyer2:v2beta1/Client/entityName": entity_name
"/adexchangebuyer2:v2beta1/Client/entityType": entity_type
"/adexchangebuyer2:v2beta1/Client/partnerClientId": partner_client_id
"/adexchangebuyer2:v2beta1/Client/role": role
"/adexchangebuyer2:v2beta1/Client/status": status
"/adexchangebuyer2:v2beta1/Client/visibleToSeller": visible_to_seller
@ -320,6 +321,7 @@
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/accountId": account_id
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageSize": page_size
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageToken": page_token
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/partnerClientId": partner_client_id
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update": update_account_client
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/accountId": account_id
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/clientAccountId": client_account_id

View File

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

View File

@ -311,6 +311,18 @@ module Google
# @return [String]
attr_accessor :entity_type
# Optional arbitrary unique identifier of this client buyer from the
# standpoint of its Ad Exchange sponsor buyer.
# This field can be used to associate a client buyer with the identifier
# in the namespace of its sponsor buyer, lookup client buyers by that
# identifier and verify whether an Ad Exchange counterpart of a given client
# buyer already exists.
# If present, must be unique among all the client buyers for its
# Ad Exchange sponsor buyer.
# Corresponds to the JSON property `partnerClientId`
# @return [String]
attr_accessor :partner_client_id
# The role which is assigned to the client buyer. Each role implies a set of
# permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
# `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
@ -340,6 +352,7 @@ module Google
@entity_id = args[:entity_id] if args.key?(:entity_id)
@entity_name = args[:entity_name] if args.key?(:entity_name)
@entity_type = args[:entity_type] if args.key?(:entity_type)
@partner_client_id = args[:partner_client_id] if args.key?(:partner_client_id)
@role = args[:role] if args.key?(:role)
@status = args[:status] if args.key?(:status)
@visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)

View File

@ -446,6 +446,7 @@ module Google
property :entity_id, :numeric_string => true, as: 'entityId'
property :entity_name, as: 'entityName'
property :entity_type, as: 'entityType'
property :partner_client_id, as: 'partnerClientId'
property :role, as: 'role'
property :status, as: 'status'
property :visible_to_seller, as: 'visibleToSeller'

View File

@ -127,6 +127,10 @@ module Google
# ListClientsResponse.nextPageToken
# returned from the previous call to the
# accounts.clients.list method.
# @param [String] partner_client_id
# Optional unique identifier (from the standpoint of an Ad Exchange sponsor
# buyer partner) of the client to return.
# If specified, at most one client will be returned in the response.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -144,13 +148,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_clients(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_account_clients(account_id, page_size: nil, page_token: nil, partner_client_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse
command.params['accountId'] = account_id unless account_id.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['partnerClientId'] = partner_client_id unless partner_client_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20171022'
REVISION = '20171027'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -1403,7 +1403,7 @@ module Google
# @return [String]
attr_accessor :schema_inline_format
# Allows the schema of the desitination table to be updated as a side effect of
# Allows the schema of the destination table to be updated as a side effect of
# the load job if a schema is autodetected or supplied in the job configuration.
# Schema update options are supported in two cases: when writeDisposition is
# WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination

View File

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

View File

@ -2702,11 +2702,6 @@ module Google
# @return [Array<Google::Apis::ContentV2::OrderCancellation>]
attr_accessor :cancellations
# The channel type of the order: "purchaseOnGoogle" or "googleExpress".
# Corresponds to the JSON property `channelType`
# @return [String]
attr_accessor :channel_type
# The id of the line item.
# Corresponds to the JSON property `id`
# @return [String]
@ -2781,7 +2776,6 @@ module Google
# Update properties of this object
def update!(**args)
@cancellations = args[:cancellations] if args.key?(:cancellations)
@channel_type = args[:channel_type] if args.key?(:channel_type)
@id = args[:id] if args.key?(:id)
@price = args[:price] if args.key?(:price)
@product = args[:product] if args.key?(:product)
@ -3363,7 +3357,8 @@ module Google
class OrderShipmentLineItemShipment
include Google::Apis::Core::Hashable
# The id of the line item that is shipped.
# The id of the line item that is shipped. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -3460,7 +3455,7 @@ module Google
# @return [Google::Apis::ContentV2::Price]
attr_accessor :amount
# The ID of the line item to cancel.
# The ID of the line item to cancel. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -3778,7 +3773,7 @@ module Google
# @return [Google::Apis::ContentV2::Price]
attr_accessor :amount
# The ID of the line item to cancel.
# The ID of the line item to cancel. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -3847,7 +3842,7 @@ module Google
class OrdersCustomBatchRequestEntryReturnLineItem
include Google::Apis::Core::Hashable
# The ID of the line item to return.
# The ID of the line item to return. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -4219,7 +4214,7 @@ module Google
class OrdersReturnLineItemRequest
include Google::Apis::Core::Hashable
# The ID of the line item to return.
# The ID of the line item to return. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id

View File

@ -1722,7 +1722,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2::OrderCancellation, decorator: Google::Apis::ContentV2::OrderCancellation::Representation
property :channel_type, as: 'channelType'
property :id, as: 'id'
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation

View File

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

View File

@ -404,11 +404,6 @@ module Google
# @return [Array<Google::Apis::ContentV2sandbox::OrderCancellation>]
attr_accessor :cancellations
# The channel type of the order: "purchaseOnGoogle" or "googleExpress".
# Corresponds to the JSON property `channelType`
# @return [String]
attr_accessor :channel_type
# The id of the line item.
# Corresponds to the JSON property `id`
# @return [String]
@ -483,7 +478,6 @@ module Google
# Update properties of this object
def update!(**args)
@cancellations = args[:cancellations] if args.key?(:cancellations)
@channel_type = args[:channel_type] if args.key?(:channel_type)
@id = args[:id] if args.key?(:id)
@price = args[:price] if args.key?(:price)
@product = args[:product] if args.key?(:product)
@ -1065,7 +1059,8 @@ module Google
class OrderShipmentLineItemShipment
include Google::Apis::Core::Hashable
# The id of the line item that is shipped.
# The id of the line item that is shipped. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -1162,7 +1157,7 @@ module Google
# @return [Google::Apis::ContentV2sandbox::Price]
attr_accessor :amount
# The ID of the line item to cancel.
# The ID of the line item to cancel. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -1480,7 +1475,7 @@ module Google
# @return [Google::Apis::ContentV2sandbox::Price]
attr_accessor :amount
# The ID of the line item to cancel.
# The ID of the line item to cancel. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -1549,7 +1544,7 @@ module Google
class OrdersCustomBatchRequestEntryReturnLineItem
include Google::Apis::Core::Hashable
# The ID of the line item to return.
# The ID of the line item to return. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
@ -1921,7 +1916,7 @@ module Google
class OrdersReturnLineItemRequest
include Google::Apis::Core::Hashable
# The ID of the line item to return.
# The ID of the line item to return. Either lineItemId or productId is required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id

View File

@ -479,7 +479,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2sandbox::OrderCancellation, decorator: Google::Apis::ContentV2sandbox::OrderCancellation::Representation
property :channel_type, as: 'channelType'
property :id, as: 'id'
property :price, as: 'price', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/v3
module YoutubeV3
VERSION = 'V3'
REVISION = '20170918'
REVISION = '20171101'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'