Autogenerated update (2017-10-28)

Update:
- adexchangebuyer2_v2beta1
- bigquery_v2
- toolresults_v1beta3
This commit is contained in:
Google APIs 2017-10-28 00:35:05 +00:00
parent 15cd814e85
commit c13dcc9a81
10 changed files with 45 additions and 38 deletions

View File

@ -9046,6 +9046,8 @@
"/bigquery:v2/JobStatistics2": job_statistics2
"/bigquery:v2/JobStatistics2/billingTier": billing_tier
"/bigquery:v2/JobStatistics2/cacheHit": cache_hit
"/bigquery:v2/JobStatistics2/ddlOperationPerformed": ddl_operation_performed
"/bigquery:v2/JobStatistics2/ddlTargetTable": ddl_target_table
"/bigquery:v2/JobStatistics2/numDmlAffectedRows": num_dml_affected_rows
"/bigquery:v2/JobStatistics2/queryPlan": query_plan
"/bigquery:v2/JobStatistics2/queryPlan/query_plan": query_plan

View File

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

View File

@ -837,11 +837,6 @@ module Google
# @return [Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange]
attr_accessor :absolute_date_range
# The ID of the buyer account on which to filter; optional.
# Corresponds to the JSON property `buyerAccountId`
# @return [Fixnum]
attr_accessor :buyer_account_id
# The ID of the creative on which to filter; optional. This field may be set
# only for a filter set that accesses buyer-level troubleshooting data, i.e.
# one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.
@ -884,12 +879,6 @@ module Google
# @return [String]
attr_accessor :name
# The account ID of the buyer who owns this filter set.
# The value of this field is ignored in create operations.
# Corresponds to the JSON property `ownerAccountId`
# @return [Fixnum]
attr_accessor :owner_account_id
# The list of platforms on which to filter; may be empty. The filters
# represented by multiple platforms are ORed together (i.e. if non-empty,
# results must match any one of the platforms).
@ -938,14 +927,12 @@ module Google
# Update properties of this object
def update!(**args)
@absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range)
@buyer_account_id = args[:buyer_account_id] if args.key?(:buyer_account_id)
@creative_id = args[:creative_id] if args.key?(:creative_id)
@deal_id = args[:deal_id] if args.key?(:deal_id)
@environment = args[:environment] if args.key?(:environment)
@filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id)
@format = args[:format] if args.key?(:format)
@name = args[:name] if args.key?(:name)
@owner_account_id = args[:owner_account_id] if args.key?(:owner_account_id)
@platforms = args[:platforms] if args.key?(:platforms)
@realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range)
@relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range)

View File

@ -566,14 +566,12 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :absolute_date_range, as: 'absoluteDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange::Representation
property :buyer_account_id, :numeric_string => true, as: 'buyerAccountId'
property :creative_id, as: 'creativeId'
property :deal_id, :numeric_string => true, as: 'dealId'
property :environment, as: 'environment'
property :filter_set_id, :numeric_string => true, as: 'filterSetId'
property :format, as: 'format'
property :name, as: 'name'
property :owner_account_id, :numeric_string => true, as: 'ownerAccountId'
collection :platforms, as: 'platforms'
property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation

View File

@ -1609,8 +1609,6 @@ module Google
# @param [Fixnum] filter_set_absolute_date_range_start_date_year
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
# a year.
# @param [Fixnum] filter_set_buyer_account_id
# The ID of the buyer account on which to filter; optional.
# @param [String] filter_set_creative_id
# The ID of the creative on which to filter; optional. This field may be set
# only for a filter set that accesses buyer-level troubleshooting data, i.e.
@ -1635,9 +1633,6 @@ module Google
# - `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.
# @param [Array<String>, String] filter_set_platforms
# The list of platforms on which to filter; may be empty. The filters
# represented by multiple platforms are ORed together (i.e. if non-empty,
@ -1682,7 +1677,7 @@ 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 create_bidder_filter_set(owner_name, account_id: nil, filter_set_absolute_date_range_end_date_day: nil, filter_set_absolute_date_range_end_date_month: nil, filter_set_absolute_date_range_end_date_year: nil, filter_set_absolute_date_range_start_date_day: nil, filter_set_absolute_date_range_start_date_month: nil, filter_set_absolute_date_range_start_date_year: nil, filter_set_buyer_account_id: nil, filter_set_creative_id: nil, filter_set_deal_id: nil, filter_set_environment: nil, filter_set_filter_set_id: nil, filter_set_format: nil, filter_set_name: nil, filter_set_owner_account_id: nil, filter_set_platforms: nil, filter_set_realtime_time_range_start_timestamp: nil, filter_set_relative_date_range_duration_days: nil, filter_set_relative_date_range_offset_days: nil, filter_set_seller_network_ids: nil, filter_set_time_series_granularity: nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
def create_bidder_filter_set(owner_name, account_id: nil, filter_set_absolute_date_range_end_date_day: nil, filter_set_absolute_date_range_end_date_month: nil, filter_set_absolute_date_range_end_date_year: nil, filter_set_absolute_date_range_start_date_day: nil, filter_set_absolute_date_range_start_date_month: nil, filter_set_absolute_date_range_start_date_year: nil, filter_set_creative_id: nil, filter_set_deal_id: nil, filter_set_environment: nil, filter_set_filter_set_id: nil, filter_set_format: nil, filter_set_name: nil, filter_set_platforms: nil, filter_set_realtime_time_range_start_timestamp: nil, filter_set_relative_date_range_duration_days: nil, filter_set_relative_date_range_offset_days: nil, filter_set_seller_network_ids: nil, filter_set_time_series_granularity: nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
@ -1694,14 +1689,12 @@ module Google
command.query['filterSet.absoluteDateRange.startDate.day'] = filter_set_absolute_date_range_start_date_day unless filter_set_absolute_date_range_start_date_day.nil?
command.query['filterSet.absoluteDateRange.startDate.month'] = filter_set_absolute_date_range_start_date_month unless filter_set_absolute_date_range_start_date_month.nil?
command.query['filterSet.absoluteDateRange.startDate.year'] = filter_set_absolute_date_range_start_date_year unless filter_set_absolute_date_range_start_date_year.nil?
command.query['filterSet.buyerAccountId'] = filter_set_buyer_account_id unless filter_set_buyer_account_id.nil?
command.query['filterSet.creativeId'] = filter_set_creative_id unless filter_set_creative_id.nil?
command.query['filterSet.dealId'] = filter_set_deal_id unless filter_set_deal_id.nil?
command.query['filterSet.environment'] = filter_set_environment unless filter_set_environment.nil?
command.query['filterSet.filterSetId'] = filter_set_filter_set_id unless filter_set_filter_set_id.nil?
command.query['filterSet.format'] = filter_set_format unless filter_set_format.nil?
command.query['filterSet.name'] = filter_set_name unless filter_set_name.nil?
command.query['filterSet.ownerAccountId'] = filter_set_owner_account_id unless filter_set_owner_account_id.nil?
command.query['filterSet.platforms'] = filter_set_platforms unless filter_set_platforms.nil?
command.query['filterSet.realtimeTimeRange.startTimestamp'] = filter_set_realtime_time_range_start_timestamp unless filter_set_realtime_time_range_start_timestamp.nil?
command.query['filterSet.relativeDateRange.durationDays'] = filter_set_relative_date_range_duration_days unless filter_set_relative_date_range_duration_days.nil?

View File

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

View File

@ -1944,6 +1944,24 @@ module Google
attr_accessor :cache_hit
alias_method :cache_hit?, :cache_hit
# [Output-only, Experimental] The DDL operation performed, possibly dependent on
# the pre-existence of the DDL target. Possible values (new values might be
# added in the future): "CREATE": The query created the DDL target. "SKIP": No-
# op. Example cases: the query is CREATE TABLE IF NOT EXISTS while the table
# already exists, or the query is DROP TABLE IF EXISTS while the table does not
# exist. "REPLACE": The query replaced the DDL target. Example case: the query
# is CREATE OR REPLACE TABLE, and the table already exists. "DROP": The query
# deleted the DDL target.
# Corresponds to the JSON property `ddlOperationPerformed`
# @return [String]
attr_accessor :ddl_operation_performed
# [Output-only, Experimental] The DDL target table. Present only for CREATE/DROP
# TABLE/VIEW queries.
# Corresponds to the JSON property `ddlTargetTable`
# @return [Google::Apis::BigqueryV2::TableReference]
attr_accessor :ddl_target_table
# [Output-only] The number of rows affected by a DML statement. Present only for
# DML statements INSERT, UPDATE or DELETE.
# Corresponds to the JSON property `numDmlAffectedRows`
@ -2001,6 +2019,8 @@ module Google
def update!(**args)
@billing_tier = args[:billing_tier] if args.key?(:billing_tier)
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
@ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed)
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
@query_plan = args[:query_plan] if args.key?(:query_plan)
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)

View File

@ -799,6 +799,9 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :billing_tier, as: 'billingTier'
property :cache_hit, as: 'cacheHit'
property :ddl_operation_performed, as: 'ddlOperationPerformed'
property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20171025'
REVISION = '20171026'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -251,18 +251,22 @@ module Google
class Any
include Google::Apis::Core::Hashable
# A URL/resource name whose content describes the type of the serialized
# protocol buffer message.
# For URLs which use the scheme `http`, `https`, or no scheme, the following
# restrictions and interpretations apply:
# * If no scheme is provided, `https` is assumed. * The last segment of the URL'
# s path must represent the fully qualified name of the type (as in `path/google.
# protobuf.Duration`). The name should be in a canonical form (e.g., leading "."
# is not accepted). * An HTTP GET on the URL must yield a [google.protobuf.Type][
# ] value in binary format, or produce an error. * Applications are allowed to
# cache lookup results based on the URL, or have them precompiled into a binary
# to avoid any lookup. Therefore, binary compatibility needs to be preserved on
# changes to types. (Use versioned type names to manage breaking changes.)
# A URL/resource name that uniquely identifies the type of the serialized
# protocol buffer message. The last segment of the URL's path must represent the
# fully qualified name of the type (as in `path/google.protobuf.Duration`). The
# name should be in a canonical form (e.g., leading "." is not accepted).
# In practice, teams usually precompile into the binary all types that they
# expect it to use in the context of Any. However, for URLs which use the scheme
# `http`, `https`, or no scheme, one can optionally set up a type server that
# maps type URLs to message definitions as follows:
# * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must
# yield a [google.protobuf.Type][] value in binary format, or produce an error. *
# Applications are allowed to cache lookup results based on the URL, or have
# them precompiled into a binary to avoid any lookup. Therefore, binary
# compatibility needs to be preserved on changes to types. (Use versioned type
# names to manage breaking changes.)
# Note: this functionality is not currently available in the official protobuf
# release, and it is not used for type URLs beginning with type.googleapis.com.
# Schemes other than `http`, `https` (or the empty scheme) might be used with
# implementation specific semantics.
# Corresponds to the JSON property `typeUrl`