Autogenerated update (2018-03-31)

Update:
- bigquery_v2
- bigquerydatatransfer_v1
- cloudkms_v1
- doubleclicksearch_v2
- serviceconsumermanagement_v1
- serviceusage_v1beta1
- tpu_v1alpha1
This commit is contained in:
Google APIs 2018-03-31 00:36:19 +00:00
parent 6f8ce9b0bb
commit 8011e2287a
16 changed files with 36 additions and 40 deletions

View File

@ -9660,10 +9660,13 @@
"/bigquery:v2/QueryResponse/totalRows": total_rows
"/bigquery:v2/QueryTimelineSample": query_timeline_sample
"/bigquery:v2/QueryTimelineSample/activeInputs": active_inputs
"/bigquery:v2/QueryTimelineSample/activeUnits": active_units
"/bigquery:v2/QueryTimelineSample/completedInputs": completed_inputs
"/bigquery:v2/QueryTimelineSample/completedInputsForActiveStages": completed_inputs_for_active_stages
"/bigquery:v2/QueryTimelineSample/completedUnits": completed_units
"/bigquery:v2/QueryTimelineSample/elapsedMs": elapsed_ms
"/bigquery:v2/QueryTimelineSample/pendingInputs": pending_inputs
"/bigquery:v2/QueryTimelineSample/pendingUnits": pending_units
"/bigquery:v2/QueryTimelineSample/totalSlotMs": total_slot_ms
"/bigquery:v2/Streamingbuffer": streamingbuffer
"/bigquery:v2/Streamingbuffer/estimatedBytes": estimated_bytes

View File

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

View File

@ -2701,16 +2701,17 @@ module Google
class QueryTimelineSample
include Google::Apis::Core::Hashable
# Total number of active workers. This does not correspond directly to slot
# usage. This is the largest value observed since the last sample.
# Corresponds to the JSON property `activeInputs`
# Total number of units currently being processed by workers. This does not
# correspond directly to slot usage. This is the largest value observed since
# the last sample.
# Corresponds to the JSON property `activeUnits`
# @return [Fixnum]
attr_accessor :active_inputs
attr_accessor :active_units
# Total parallel units of work completed by this query.
# Corresponds to the JSON property `completedInputs`
# Corresponds to the JSON property `completedUnits`
# @return [Fixnum]
attr_accessor :completed_inputs
attr_accessor :completed_units
# Milliseconds elapsed since the start of query execution.
# Corresponds to the JSON property `elapsedMs`
@ -2718,9 +2719,9 @@ module Google
attr_accessor :elapsed_ms
# Total parallel units of work remaining for the active stages.
# Corresponds to the JSON property `pendingInputs`
# Corresponds to the JSON property `pendingUnits`
# @return [Fixnum]
attr_accessor :pending_inputs
attr_accessor :pending_units
# Cumulative slot-ms consumed by the query.
# Corresponds to the JSON property `totalSlotMs`
@ -2733,10 +2734,10 @@ module Google
# Update properties of this object
def update!(**args)
@active_inputs = args[:active_inputs] if args.key?(:active_inputs)
@completed_inputs = args[:completed_inputs] if args.key?(:completed_inputs)
@active_units = args[:active_units] if args.key?(:active_units)
@completed_units = args[:completed_units] if args.key?(:completed_units)
@elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms)
@pending_inputs = args[:pending_inputs] if args.key?(:pending_inputs)
@pending_units = args[:pending_units] if args.key?(:pending_units)
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
end
end

View File

@ -1000,10 +1000,10 @@ module Google
class QueryTimelineSample
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :active_inputs, :numeric_string => true, as: 'activeInputs'
property :completed_inputs, :numeric_string => true, as: 'completedInputs'
property :active_units, :numeric_string => true, as: 'activeUnits'
property :completed_units, :numeric_string => true, as: 'completedUnits'
property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
property :pending_inputs, :numeric_string => true, as: 'pendingInputs'
property :pending_units, :numeric_string => true, as: 'pendingUnits'
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1
VERSION = 'V1'
REVISION = '20180317'
REVISION = '20180329'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -131,7 +131,7 @@ module Google
# @return [String]
attr_accessor :minimum_schedule_interval
# Data source resource name.
# Output only. Data source resource name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -643,7 +643,6 @@ module Google
# When a new transfer configuration is created, the specified
# `destination_dataset_id` is created when needed and shared with the
# appropriate data source service account.
# Next id: 21
class TransferConfig
include Google::Apis::Core::Hashable
@ -794,7 +793,6 @@ module Google
end
# Represents a data transfer run.
# Next id: 27
class TransferRun
include Google::Apis::Core::Hashable

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/kms/
module CloudkmsV1
VERSION = 'V1'
REVISION = '20180316'
REVISION = '20180329'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -73,7 +73,6 @@ module Google
include Google::Apis::Core::Hashable
# The configuration for logging of each type of permission.
# Next ID: 4
# Corresponds to the JSON property `auditLogConfigs`
# @return [Array<Google::Apis::CloudkmsV1::AuditLogConfig>]
attr_accessor :audit_log_configs

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/doubleclick-search/
module DoubleclicksearchV2
VERSION = 'V2'
REVISION = '20170905'
REVISION = '20180329'
# View and manage your advertising data in DoubleClick Search
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'

View File

@ -592,6 +592,7 @@ module Google
# columns and saved columns. For DoubleClick Search columns, only the columnName
# parameter is required. For saved columns only the savedColumnName parameter is
# required. Both columnName and savedColumnName cannot be set in the same stanza.
# The maximum number of columns per request is 300.
# Corresponds to the JSON property `columns`
# @return [Array<Google::Apis::DoubleclicksearchV2::ReportApiColumnSpec>]
attr_accessor :columns
@ -603,6 +604,7 @@ module Google
attr_accessor :download_format
# A list of filters to be applied to the report.
# The maximum number of filters per request is 300.
# Corresponds to the JSON property `filters`
# @return [Array<Google::Apis::DoubleclicksearchV2::ReportRequest::Filter>]
attr_accessor :filters
@ -630,6 +632,7 @@ module Google
# Synchronous report only. A list of columns and directions defining sorting to
# be performed on the report rows.
# The maximum number of orderings per request is 300.
# Corresponds to the JSON property `orderBy`
# @return [Array<Google::Apis::DoubleclicksearchV2::ReportRequest::OrderBy>]
attr_accessor :order_by
@ -720,6 +723,7 @@ module Google
attr_accessor :operator
# A list of values to filter the column value against.
# The maximum number of filter values per request is 300.
# Corresponds to the JSON property `values`
# @return [Array<Object>]
attr_accessor :values

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20180317'
REVISION = '20180330'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -296,12 +296,7 @@ module Google
class AuthenticationRule
include Google::Apis::Core::Hashable
# Whether to allow requests without a credential. The credential can be
# an OAuth token, Google cookies (first-party auth) or EndUserCreds.
# For requests without credentials, if the service control environment is
# specified, each incoming request **must** be associated with a service
# consumer. This can be done by passing an API key that belongs to a consumer
# project.
# If true, the service accepts API keys without any other credential.
# Corresponds to the JSON property `allowWithoutCredential`
# @return [Boolean]
attr_accessor :allow_without_credential
@ -3324,7 +3319,8 @@ module Google
# The email format of the service account will be
# "<account-id>@<tenant-project-id>.iam.gserviceaccount.com".
# This account id has to be unique within tenant project and producers
# have to guarantee it.
# have to guarantee it. And it must be 6-30 characters long, and matches the
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])`.
# Corresponds to the JSON property `accountId`
# @return [String]
attr_accessor :account_id

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1
VERSION = 'V1beta1'
REVISION = '20180317'
REVISION = '20180329'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -266,12 +266,7 @@ module Google
class AuthenticationRule
include Google::Apis::Core::Hashable
# Whether to allow requests without a credential. The credential can be
# an OAuth token, Google cookies (first-party auth) or EndUserCreds.
# For requests without credentials, if the service control environment is
# specified, each incoming request **must** be associated with a service
# consumer. This can be done by passing an API key that belongs to a consumer
# project.
# If true, the service accepts API keys without any other credential.
# Corresponds to the JSON property `allowWithoutCredential`
# @return [Boolean]
attr_accessor :allow_without_credential

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tpu/
module TpuV1alpha1
VERSION = 'V1alpha1'
REVISION = '20180303'
REVISION = '20180330'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -43,11 +43,11 @@ module Google
attr_accessor :quota_user
def initialize
super('https://content-tpu.googleapis.com/', '')
super('https://tpu.googleapis.com/', '')
@batch_path = 'batch'
end
# Get information about a location.
# Gets information about a location.
# @param [String] name
# Resource name for the location.
# @param [String] fields