Autogenerated update (2018-03-17)

Update:
- bigquery_v2
- dataflow_v1b3
- dlp_v2beta2
- ml_v1
- servicecontrol_v1
- tpu_v1alpha1
This commit is contained in:
Google APIs 2018-03-17 00:35:57 +00:00
parent 4b62672bfb
commit 1f6da3ffe8
17 changed files with 91 additions and 8 deletions

View File

@ -9535,6 +9535,7 @@
"/bigquery:v2/JobStatistics2/timeline/timeline": timeline
"/bigquery:v2/JobStatistics2/totalBytesBilled": total_bytes_billed
"/bigquery:v2/JobStatistics2/totalBytesProcessed": total_bytes_processed
"/bigquery:v2/JobStatistics2/totalPartitionsProcessed": total_partitions_processed
"/bigquery:v2/JobStatistics2/totalSlotMs": total_slot_ms
"/bigquery:v2/JobStatistics2/undeclaredQueryParameters": undeclared_query_parameters
"/bigquery:v2/JobStatistics2/undeclaredQueryParameters/undeclared_query_parameter": undeclared_query_parameter
@ -33239,6 +33240,7 @@
"/dataflow:v1b3/CounterUpdate/floatingPointList": floating_point_list
"/dataflow:v1b3/CounterUpdate/floatingPointMean": floating_point_mean
"/dataflow:v1b3/CounterUpdate/integer": integer
"/dataflow:v1b3/CounterUpdate/integerGauge": integer_gauge
"/dataflow:v1b3/CounterUpdate/integerList": integer_list
"/dataflow:v1b3/CounterUpdate/integerMean": integer_mean
"/dataflow:v1b3/CounterUpdate/internal": internal
@ -33359,6 +33361,9 @@
"/dataflow:v1b3/InstructionOutput/onlyCountValueBytes": only_count_value_bytes
"/dataflow:v1b3/InstructionOutput/originalName": original_name
"/dataflow:v1b3/InstructionOutput/systemName": system_name
"/dataflow:v1b3/IntegerGauge": integer_gauge
"/dataflow:v1b3/IntegerGauge/timestamp": timestamp
"/dataflow:v1b3/IntegerGauge/value": value
"/dataflow:v1b3/IntegerList": integer_list
"/dataflow:v1b3/IntegerList/elements": elements
"/dataflow:v1b3/IntegerList/elements/element": element
@ -54941,6 +54946,7 @@
"/ml:v1/GoogleCloudMlV1__Version/lastUseTime": last_use_time
"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling
"/ml:v1/GoogleCloudMlV1__Version/name": name
"/ml:v1/GoogleCloudMlV1__Version/pythonVersion": python_version
"/ml:v1/GoogleCloudMlV1__Version/runtimeVersion": runtime_version
"/ml:v1/GoogleCloudMlV1__Version/state": state
"/ml:v1/GoogleCloudMlV1beta1__AutoScaling": google_cloud_ml_v1beta1__auto_scaling
@ -70188,6 +70194,7 @@
"/tpu:v1alpha1/ListTensorFlowVersionsResponse/tensorflowVersions": tensorflow_versions
"/tpu:v1alpha1/ListTensorFlowVersionsResponse/tensorflowVersions/tensorflow_version": tensorflow_version
"/tpu:v1alpha1/Location": location
"/tpu:v1alpha1/Location/displayName": display_name
"/tpu:v1alpha1/Location/labels": labels
"/tpu:v1alpha1/Location/labels/label": label
"/tpu:v1alpha1/Location/locationId": location_id

View File

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

View File

@ -2112,6 +2112,12 @@ module Google
# @return [Fixnum]
attr_accessor :total_bytes_processed
# [Output-only] Total number of partitions processed from all partitioned tables
# referenced in the job.
# Corresponds to the JSON property `totalPartitionsProcessed`
# @return [Fixnum]
attr_accessor :total_partitions_processed
# [Output-only] Slot-milliseconds for the job.
# Corresponds to the JSON property `totalSlotMs`
# @return [Fixnum]
@ -2142,6 +2148,7 @@ module Google
@timeline = args[:timeline] if args.key?(:timeline)
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
@total_partitions_processed = args[:total_partitions_processed] if args.key?(:total_partitions_processed)
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
@undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters)
end

View File

@ -846,6 +846,7 @@ module Google
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
property :total_partitions_processed, :numeric_string => true, as: 'totalPartitionsProcessed'
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20180220'
REVISION = '20180314'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -566,6 +566,11 @@ module Google
# @return [Google::Apis::DataflowV1b3::SplitInt64]
attr_accessor :integer
# A metric value representing temporal values of a variable.
# Corresponds to the JSON property `integerGauge`
# @return [Google::Apis::DataflowV1b3::IntegerGauge]
attr_accessor :integer_gauge
# A metric value representing a list of integers.
# Corresponds to the JSON property `integerList`
# @return [Google::Apis::DataflowV1b3::IntegerList]
@ -617,6 +622,7 @@ module Google
@floating_point_list = args[:floating_point_list] if args.key?(:floating_point_list)
@floating_point_mean = args[:floating_point_mean] if args.key?(:floating_point_mean)
@integer = args[:integer] if args.key?(:integer)
@integer_gauge = args[:integer_gauge] if args.key?(:integer_gauge)
@integer_list = args[:integer_list] if args.key?(:integer_list)
@integer_mean = args[:integer_mean] if args.key?(:integer_mean)
@internal = args[:internal] if args.key?(:internal)
@ -1481,6 +1487,32 @@ module Google
end
end
# A metric value representing temporal values of a variable.
class IntegerGauge
include Google::Apis::Core::Hashable
# The time at which this value was measured. Measured as msecs from epoch.
# Corresponds to the JSON property `timestamp`
# @return [String]
attr_accessor :timestamp
# A representation of an int64, n, that is immune to precision loss when
# encoded in JSON.
# Corresponds to the JSON property `value`
# @return [Google::Apis::DataflowV1b3::SplitInt64]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@timestamp = args[:timestamp] if args.key?(:timestamp)
@value = args[:value] if args.key?(:value)
end
end
# A metric value representing a list of integers.
class IntegerList
include Google::Apis::Core::Hashable

View File

@ -232,6 +232,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class IntegerGauge
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IntegerList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -932,6 +938,8 @@ module Google
property :integer, as: 'integer', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
property :integer_gauge, as: 'integerGauge', class: Google::Apis::DataflowV1b3::IntegerGauge, decorator: Google::Apis::DataflowV1b3::IntegerGauge::Representation
property :integer_list, as: 'integerList', class: Google::Apis::DataflowV1b3::IntegerList, decorator: Google::Apis::DataflowV1b3::IntegerList::Representation
property :integer_mean, as: 'integerMean', class: Google::Apis::DataflowV1b3::IntegerMean, decorator: Google::Apis::DataflowV1b3::IntegerMean::Representation
@ -1165,6 +1173,15 @@ module Google
end
end
class IntegerGauge
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :timestamp, as: 'timestamp'
property :value, as: 'value', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
end
end
class IntegerList
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2beta2
VERSION = 'V2beta2'
REVISION = '20180314'
REVISION = '20180315'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2437,6 +2437,7 @@ module Google
# replaced with the same surrogate.
# Identifiers must be at least two characters long.
# In the case that the identifier is the empty string, it will be skipped.
# See [Pseudonymization](/dlp/docs/pseudonymization) for example usage.
class GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig
include Google::Apis::Core::Hashable
@ -4883,6 +4884,7 @@ module Google
# replaced with the same surrogate.
# Identifiers must be at least two characters long.
# In the case that the identifier is the empty string, it will be skipped.
# See [Pseudonymization](/dlp/docs/pseudonymization) for example usage.
# Corresponds to the JSON property `cryptoReplaceFfxFpeConfig`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig]
attr_accessor :crypto_replace_ffx_fpe_config

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20180306'
REVISION = '20180315'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -729,7 +729,7 @@ module Google
# @return [Array<Float>]
attr_accessor :discrete_values
# Required if typeis `DOUBLE` or `INTEGER`. This field
# Required if type is `DOUBLE` or `INTEGER`. This field
# should be unset if type is `CATEGORICAL`. This value should be integers if
# type is `INTEGER`.
# Corresponds to the JSON property `maxValue`
@ -1289,6 +1289,13 @@ module Google
# @return [String]
attr_accessor :name
# Optional. The version of Python used in prediction. If not set, the default
# version is '2.7'. Python '3.5' is available when `runtime_version` is set
# to '1.4' and above. Python '2.7' works with all supported runtime versions.
# Corresponds to the JSON property `pythonVersion`
# @return [String]
attr_accessor :python_version
# Optional. The Google Cloud ML runtime version to use for this deployment.
# If not set, Google Cloud ML will choose a version.
# Corresponds to the JSON property `runtimeVersion`
@ -1316,6 +1323,7 @@ module Google
@last_use_time = args[:last_use_time] if args.key?(:last_use_time)
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
@name = args[:name] if args.key?(:name)
@python_version = args[:python_version] if args.key?(:python_version)
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
@state = args[:state] if args.key?(:state)
end

View File

@ -526,6 +526,7 @@ module Google
property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation
property :name, as: 'name'
property :python_version, as: 'pythonVersion'
property :runtime_version, as: 'runtimeVersion'
property :state, as: 'state'
end

View File

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

View File

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

View File

@ -195,6 +195,12 @@ module Google
class Location
include Google::Apis::Core::Hashable
# The friendly name for this location, typically a nearby city name.
# For example, "Tokyo".
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Cross-service attributes for the location. For example
# `"cloud.googleapis.com/region": "us-east1"`
# Corresponds to the JSON property `labels`
@ -224,6 +230,7 @@ module Google
# Update properties of this object
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@labels = args[:labels] if args.key?(:labels)
@location_id = args[:location_id] if args.key?(:location_id)
@metadata = args[:metadata] if args.key?(:metadata)

View File

@ -192,6 +192,7 @@ module Google
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
hash :labels, as: 'labels'
property :location_id, as: 'locationId'
hash :metadata, as: 'metadata'

View File

@ -43,7 +43,7 @@ module Google
attr_accessor :quota_user
def initialize
super('https://tpu.googleapis.com/', '')
super('https://content-tpu.googleapis.com/', '')
@batch_path = 'batch'
end