Autogenerated update (2018-06-23)

Update:
- cloudfunctions_v1
- cloudfunctions_v1beta2
- cloudtasks_v2beta2
- dataflow_v1b3
- dataproc_v1
- serviceconsumermanagement_v1
- serviceusage_v1beta1
- serviceuser_v1
- videointelligence_v1beta2
This commit is contained in:
Google APIs 2018-06-23 00:36:32 +00:00
parent 4dc32ab397
commit 90e80d91f3
20 changed files with 601 additions and 47 deletions

View File

@ -36060,6 +36060,15 @@
"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings
"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm
"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers
"/dataflow:v1b3/BigQueryIODetails": big_query_io_details
"/dataflow:v1b3/BigQueryIODetails/dataset": dataset
"/dataflow:v1b3/BigQueryIODetails/projectId": project_id
"/dataflow:v1b3/BigQueryIODetails/query": query
"/dataflow:v1b3/BigQueryIODetails/table": table
"/dataflow:v1b3/BigTableIODetails": big_table_io_details
"/dataflow:v1b3/BigTableIODetails/instanceId": instance_id
"/dataflow:v1b3/BigTableIODetails/projectId": project_id
"/dataflow:v1b3/BigTableIODetails/tableId": table_id
"/dataflow:v1b3/CPUTime": cpu_time
"/dataflow:v1b3/CPUTime/rate": rate
"/dataflow:v1b3/CPUTime/timestamp": timestamp
@ -36136,6 +36145,9 @@
"/dataflow:v1b3/DataDiskAssignment/dataDisks": data_disks
"/dataflow:v1b3/DataDiskAssignment/dataDisks/data_disk": data_disk
"/dataflow:v1b3/DataDiskAssignment/vmInstance": vm_instance
"/dataflow:v1b3/DatastoreIODetails": datastore_io_details
"/dataflow:v1b3/DatastoreIODetails/namespace": namespace
"/dataflow:v1b3/DatastoreIODetails/projectId": project_id
"/dataflow:v1b3/DerivedSource": derived_source
"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode
"/dataflow:v1b3/DerivedSource/source": source
@ -36203,6 +36215,8 @@
"/dataflow:v1b3/ExecutionStageSummary/outputSource/output_source": output_source
"/dataflow:v1b3/FailedLocation": failed_location
"/dataflow:v1b3/FailedLocation/name": name
"/dataflow:v1b3/FileIODetails": file_io_details
"/dataflow:v1b3/FileIODetails/filePattern": file_pattern
"/dataflow:v1b3/FlattenInstruction": flatten_instruction
"/dataflow:v1b3/FlattenInstruction/inputs": inputs
"/dataflow:v1b3/FlattenInstruction/inputs/input": input
@ -36253,6 +36267,7 @@
"/dataflow:v1b3/Job/environment": environment
"/dataflow:v1b3/Job/executionInfo": execution_info
"/dataflow:v1b3/Job/id": id
"/dataflow:v1b3/Job/jobMetadata": job_metadata
"/dataflow:v1b3/Job/labels": labels
"/dataflow:v1b3/Job/labels/label": label
"/dataflow:v1b3/Job/location": location
@ -36282,6 +36297,20 @@
"/dataflow:v1b3/JobMessage/messageImportance": message_importance
"/dataflow:v1b3/JobMessage/messageText": message_text
"/dataflow:v1b3/JobMessage/time": time
"/dataflow:v1b3/JobMetadata": job_metadata
"/dataflow:v1b3/JobMetadata/bigTableDetails": big_table_details
"/dataflow:v1b3/JobMetadata/bigTableDetails/big_table_detail": big_table_detail
"/dataflow:v1b3/JobMetadata/bigqueryDetails": bigquery_details
"/dataflow:v1b3/JobMetadata/bigqueryDetails/bigquery_detail": bigquery_detail
"/dataflow:v1b3/JobMetadata/datastoreDetails": datastore_details
"/dataflow:v1b3/JobMetadata/datastoreDetails/datastore_detail": datastore_detail
"/dataflow:v1b3/JobMetadata/fileDetails": file_details
"/dataflow:v1b3/JobMetadata/fileDetails/file_detail": file_detail
"/dataflow:v1b3/JobMetadata/pubsubDetails": pubsub_details
"/dataflow:v1b3/JobMetadata/pubsubDetails/pubsub_detail": pubsub_detail
"/dataflow:v1b3/JobMetadata/sdkVersion": sdk_version
"/dataflow:v1b3/JobMetadata/spannerDetails": spanner_details
"/dataflow:v1b3/JobMetadata/spannerDetails/spanner_detail": spanner_detail
"/dataflow:v1b3/JobMetrics": job_metrics
"/dataflow:v1b3/JobMetrics/metricTime": metric_time
"/dataflow:v1b3/JobMetrics/metrics": metrics
@ -36419,6 +36448,9 @@
"/dataflow:v1b3/Position/key": key
"/dataflow:v1b3/Position/recordIndex": record_index
"/dataflow:v1b3/Position/shufflePosition": shuffle_position
"/dataflow:v1b3/PubSubIODetails": pub_sub_io_details
"/dataflow:v1b3/PubSubIODetails/subscription": subscription
"/dataflow:v1b3/PubSubIODetails/topic": topic
"/dataflow:v1b3/PubsubLocation": pubsub_location
"/dataflow:v1b3/PubsubLocation/dropLateData": drop_late_data
"/dataflow:v1b3/PubsubLocation/idLabel": id_label
@ -36456,6 +36488,10 @@
"/dataflow:v1b3/RuntimeEnvironment/subnetwork": subnetwork
"/dataflow:v1b3/RuntimeEnvironment/tempLocation": temp_location
"/dataflow:v1b3/RuntimeEnvironment/zone": zone
"/dataflow:v1b3/SdkVersion": sdk_version
"/dataflow:v1b3/SdkVersion/sdkSupportStatus": sdk_support_status
"/dataflow:v1b3/SdkVersion/version": version
"/dataflow:v1b3/SdkVersion/versionDisplayName": version_display_name
"/dataflow:v1b3/SendDebugCaptureRequest": send_debug_capture_request
"/dataflow:v1b3/SendDebugCaptureRequest/componentId": component_id
"/dataflow:v1b3/SendDebugCaptureRequest/data": data
@ -36547,6 +36583,10 @@
"/dataflow:v1b3/SourceSplitShard": source_split_shard
"/dataflow:v1b3/SourceSplitShard/derivationMode": derivation_mode
"/dataflow:v1b3/SourceSplitShard/source": source
"/dataflow:v1b3/SpannerIODetails": spanner_io_details
"/dataflow:v1b3/SpannerIODetails/databaseId": database_id
"/dataflow:v1b3/SpannerIODetails/instanceId": instance_id
"/dataflow:v1b3/SpannerIODetails/projectId": project_id
"/dataflow:v1b3/SplitInt64": split_int64
"/dataflow:v1b3/SplitInt64/highBits": high_bits
"/dataflow:v1b3/SplitInt64/lowBits": low_bits
@ -69745,11 +69785,16 @@
"/serviceconsumermanagement:v1/MetricDescriptor/displayName": display_name
"/serviceconsumermanagement:v1/MetricDescriptor/labels": labels
"/serviceconsumermanagement:v1/MetricDescriptor/labels/label": label
"/serviceconsumermanagement:v1/MetricDescriptor/metadata": metadata
"/serviceconsumermanagement:v1/MetricDescriptor/metricKind": metric_kind
"/serviceconsumermanagement:v1/MetricDescriptor/name": name
"/serviceconsumermanagement:v1/MetricDescriptor/type": type
"/serviceconsumermanagement:v1/MetricDescriptor/unit": unit
"/serviceconsumermanagement:v1/MetricDescriptor/valueType": value_type
"/serviceconsumermanagement:v1/MetricDescriptorMetadata": metric_descriptor_metadata
"/serviceconsumermanagement:v1/MetricDescriptorMetadata/ingestDelay": ingest_delay
"/serviceconsumermanagement:v1/MetricDescriptorMetadata/launchStage": launch_stage
"/serviceconsumermanagement:v1/MetricDescriptorMetadata/samplePeriod": sample_period
"/serviceconsumermanagement:v1/MetricRule": metric_rule
"/serviceconsumermanagement:v1/MetricRule/metricCosts": metric_costs
"/serviceconsumermanagement:v1/MetricRule/metricCosts/metric_cost": metric_cost
@ -71511,11 +71556,16 @@
"/serviceusage:v1beta1/MetricDescriptor/displayName": display_name
"/serviceusage:v1beta1/MetricDescriptor/labels": labels
"/serviceusage:v1beta1/MetricDescriptor/labels/label": label
"/serviceusage:v1beta1/MetricDescriptor/metadata": metadata
"/serviceusage:v1beta1/MetricDescriptor/metricKind": metric_kind
"/serviceusage:v1beta1/MetricDescriptor/name": name
"/serviceusage:v1beta1/MetricDescriptor/type": type
"/serviceusage:v1beta1/MetricDescriptor/unit": unit
"/serviceusage:v1beta1/MetricDescriptor/valueType": value_type
"/serviceusage:v1beta1/MetricDescriptorMetadata": metric_descriptor_metadata
"/serviceusage:v1beta1/MetricDescriptorMetadata/ingestDelay": ingest_delay
"/serviceusage:v1beta1/MetricDescriptorMetadata/launchStage": launch_stage
"/serviceusage:v1beta1/MetricDescriptorMetadata/samplePeriod": sample_period
"/serviceusage:v1beta1/MetricRule": metric_rule
"/serviceusage:v1beta1/MetricRule/metricCosts": metric_costs
"/serviceusage:v1beta1/MetricRule/metricCosts/metric_cost": metric_cost

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/functions
module CloudfunctionsV1
VERSION = 'V1'
REVISION = '20180420'
REVISION = '20180619'
# 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/functions
module CloudfunctionsV1beta2
VERSION = 'V1beta2'
REVISION = '20180420'
REVISION = '20180619'
# 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/cloud-tasks/
module CloudtasksV2beta2
VERSION = 'V2beta2'
REVISION = '20180620'
REVISION = '20180622'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -865,11 +865,6 @@ module Google
# Required.
# The queue name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
# @param [String] order_by
# Sort order used for the query. The only fields supported for sorting
# are `schedule_time` and `pull_message.tag`. All results will be
# returned in approximately ascending order. The default ordering is by
# `schedule_time`.
# @param [Fixnum] page_size
# Requested page size. Fewer tasks than requested might be returned.
# The maximum page size is 1000. If unspecified, the page size will
@ -913,12 +908,11 @@ 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_project_location_queue_tasks(parent, order_by: nil, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_location_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::ListTasksResponse::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::ListTasksResponse
command.params['parent'] = parent unless parent.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['responseView'] = response_view unless response_view.nil?

View File

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

View File

@ -204,6 +204,74 @@ module Google
end
end
# Metadata for a BigQuery connector used by the job.
class BigQueryIoDetails
include Google::Apis::Core::Hashable
# Dataset accessed in the connection.
# Corresponds to the JSON property `dataset`
# @return [String]
attr_accessor :dataset
# Project accessed in the connection.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# Query used to access data in the connection.
# Corresponds to the JSON property `query`
# @return [String]
attr_accessor :query
# Table accessed in the connection.
# Corresponds to the JSON property `table`
# @return [String]
attr_accessor :table
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dataset = args[:dataset] if args.key?(:dataset)
@project_id = args[:project_id] if args.key?(:project_id)
@query = args[:query] if args.key?(:query)
@table = args[:table] if args.key?(:table)
end
end
# Metadata for a BigTable connector used by the job.
class BigTableIoDetails
include Google::Apis::Core::Hashable
# InstanceId accessed in the connection.
# Corresponds to the JSON property `instanceId`
# @return [String]
attr_accessor :instance_id
# ProjectId accessed in the connection.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# TableId accessed in the connection.
# Corresponds to the JSON property `tableId`
# @return [String]
attr_accessor :table_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance_id = args[:instance_id] if args.key?(:instance_id)
@project_id = args[:project_id] if args.key?(:project_id)
@table_id = args[:table_id] if args.key?(:table_id)
end
end
# Modeled after information exposed by /proc/stat.
class CpuTime
include Google::Apis::Core::Hashable
@ -734,6 +802,31 @@ module Google
end
end
# Metadata for a Datastore connector used by the job.
class DatastoreIoDetails
include Google::Apis::Core::Hashable
# Namespace used in the connection.
# Corresponds to the JSON property `namespace`
# @return [String]
attr_accessor :namespace
# ProjectId accessed in the connection.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@namespace = args[:namespace] if args.key?(:namespace)
@project_id = args[:project_id] if args.key?(:project_id)
end
end
# Specification of one of the bundles produced as a result of splitting
# a Source (e.g. when executing a SourceSplitRequest, or when
# splitting an active task using WorkItemStatus.dynamic_source_split),
@ -1197,6 +1290,25 @@ module Google
end
end
# Metadata for a File connector used by the job.
class FileIoDetails
include Google::Apis::Core::Hashable
# File Pattern used to access files by the connector.
# Corresponds to the JSON property `filePattern`
# @return [String]
attr_accessor :file_pattern
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@file_pattern = args[:file_pattern] if args.key?(:file_pattern)
end
end
# An instruction that copies its inputs (zero or more) to its (single) output.
class FlattenInstruction
include Google::Apis::Core::Hashable
@ -1622,6 +1734,12 @@ module Google
# @return [String]
attr_accessor :id
# Metadata available primarily for filtering jobs. Will be included in the
# ListJob response and Job SUMMARY view+.
# Corresponds to the JSON property `jobMetadata`
# @return [Google::Apis::DataflowV1b3::JobMetadata]
attr_accessor :job_metadata
# User-defined labels for this job.
# The labels map can contain no more than 64 entries. Entries of the labels
# map are UTF8 strings that comply with the following restrictions:
@ -1734,6 +1852,7 @@ module Google
@environment = args[:environment] if args.key?(:environment)
@execution_info = args[:execution_info] if args.key?(:execution_info)
@id = args[:id] if args.key?(:id)
@job_metadata = args[:job_metadata] if args.key?(:job_metadata)
@labels = args[:labels] if args.key?(:labels)
@location = args[:location] if args.key?(:location)
@name = args[:name] if args.key?(:name)
@ -1829,6 +1948,62 @@ module Google
end
end
# Metadata available primarily for filtering jobs. Will be included in the
# ListJob response and Job SUMMARY view+.
class JobMetadata
include Google::Apis::Core::Hashable
# Identification of a BigTable source used in the Dataflow job.
# Corresponds to the JSON property `bigTableDetails`
# @return [Array<Google::Apis::DataflowV1b3::BigTableIoDetails>]
attr_accessor :big_table_details
# Identification of a BigQuery source used in the Dataflow job.
# Corresponds to the JSON property `bigqueryDetails`
# @return [Array<Google::Apis::DataflowV1b3::BigQueryIoDetails>]
attr_accessor :bigquery_details
# Identification of a Datastore source used in the Dataflow job.
# Corresponds to the JSON property `datastoreDetails`
# @return [Array<Google::Apis::DataflowV1b3::DatastoreIoDetails>]
attr_accessor :datastore_details
# Identification of a File source used in the Dataflow job.
# Corresponds to the JSON property `fileDetails`
# @return [Array<Google::Apis::DataflowV1b3::FileIoDetails>]
attr_accessor :file_details
# Identification of a PubSub source used in the Dataflow job.
# Corresponds to the JSON property `pubsubDetails`
# @return [Array<Google::Apis::DataflowV1b3::PubSubIoDetails>]
attr_accessor :pubsub_details
# The version of the SDK used to run the jobl
# Corresponds to the JSON property `sdkVersion`
# @return [Google::Apis::DataflowV1b3::SdkVersion]
attr_accessor :sdk_version
# Identification of a Spanner source used in the Dataflow job.
# Corresponds to the JSON property `spannerDetails`
# @return [Array<Google::Apis::DataflowV1b3::SpannerIoDetails>]
attr_accessor :spanner_details
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@big_table_details = args[:big_table_details] if args.key?(:big_table_details)
@bigquery_details = args[:bigquery_details] if args.key?(:bigquery_details)
@datastore_details = args[:datastore_details] if args.key?(:datastore_details)
@file_details = args[:file_details] if args.key?(:file_details)
@pubsub_details = args[:pubsub_details] if args.key?(:pubsub_details)
@sdk_version = args[:sdk_version] if args.key?(:sdk_version)
@spanner_details = args[:spanner_details] if args.key?(:spanner_details)
end
end
# JobMetrics contains a collection of metrics descibing the detailed progress
# of a Dataflow job. Metrics correspond to user-defined and system-defined
# metrics in the job.
@ -2767,6 +2942,31 @@ module Google
end
end
# Metadata for a PubSub connector used by the job.
class PubSubIoDetails
include Google::Apis::Core::Hashable
# Subscription used in the connection.
# Corresponds to the JSON property `subscription`
# @return [String]
attr_accessor :subscription
# Topic accessed in the connection.
# Corresponds to the JSON property `topic`
# @return [String]
attr_accessor :topic
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@subscription = args[:subscription] if args.key?(:subscription)
@topic = args[:topic] if args.key?(:topic)
end
end
# Identifies a pubsub location to use for transferring data into or
# out of a streaming Dataflow job.
class PubsubLocation
@ -3056,6 +3256,37 @@ module Google
end
end
# The version of the SDK used to run the jobl
class SdkVersion
include Google::Apis::Core::Hashable
# The support status for this SDK version.
# Corresponds to the JSON property `sdkSupportStatus`
# @return [String]
attr_accessor :sdk_support_status
# The version of the SDK used to run the job.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
# A readable string describing the version of the sdk.
# Corresponds to the JSON property `versionDisplayName`
# @return [String]
attr_accessor :version_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@sdk_support_status = args[:sdk_support_status] if args.key?(:sdk_support_status)
@version = args[:version] if args.key?(:version)
@version_display_name = args[:version_display_name] if args.key?(:version_display_name)
end
end
# Request to send encoded debug information.
class SendDebugCaptureRequest
include Google::Apis::Core::Hashable
@ -3713,6 +3944,37 @@ module Google
end
end
# Metadata for a Spanner connector used by the job.
class SpannerIoDetails
include Google::Apis::Core::Hashable
# DatabaseId accessed in the connection.
# Corresponds to the JSON property `databaseId`
# @return [String]
attr_accessor :database_id
# InstanceId accessed in the connection.
# Corresponds to the JSON property `instanceId`
# @return [String]
attr_accessor :instance_id
# ProjectId accessed in the connection.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@database_id = args[:database_id] if args.key?(:database_id)
@instance_id = args[:instance_id] if args.key?(:instance_id)
@project_id = args[:project_id] if args.key?(:project_id)
end
end
# A representation of an int64, n, that is immune to precision loss when
# encoded in JSON.
class SplitInt64

View File

@ -52,6 +52,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BigQueryIoDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BigTableIoDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CpuTime
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -124,6 +136,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DatastoreIoDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DerivedSource
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -178,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class FileIoDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FlattenInstruction
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -274,6 +298,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class JobMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class JobMetrics
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -418,6 +448,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PubSubIoDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PubsubLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -466,6 +502,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SdkVersion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SendDebugCaptureRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -586,6 +628,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SpannerIoDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SplitInt64
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -837,6 +885,25 @@ module Google
end
end
class BigQueryIoDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dataset, as: 'dataset'
property :project_id, as: 'projectId'
property :query, as: 'query'
property :table, as: 'table'
end
end
class BigTableIoDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_id, as: 'instanceId'
property :project_id, as: 'projectId'
property :table_id, as: 'tableId'
end
end
class CpuTime
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -983,6 +1050,14 @@ module Google
end
end
class DatastoreIoDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :namespace, as: 'namespace'
property :project_id, as: 'projectId'
end
end
class DerivedSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1096,6 +1171,13 @@ module Google
end
end
class FileIoDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file_pattern, as: 'filePattern'
end
end
class FlattenInstruction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1213,6 +1295,8 @@ module Google
property :execution_info, as: 'executionInfo', class: Google::Apis::DataflowV1b3::JobExecutionInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionInfo::Representation
property :id, as: 'id'
property :job_metadata, as: 'jobMetadata', class: Google::Apis::DataflowV1b3::JobMetadata, decorator: Google::Apis::DataflowV1b3::JobMetadata::Representation
hash :labels, as: 'labels'
property :location, as: 'location'
property :name, as: 'name'
@ -1257,6 +1341,26 @@ module Google
end
end
class JobMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :big_table_details, as: 'bigTableDetails', class: Google::Apis::DataflowV1b3::BigTableIoDetails, decorator: Google::Apis::DataflowV1b3::BigTableIoDetails::Representation
collection :bigquery_details, as: 'bigqueryDetails', class: Google::Apis::DataflowV1b3::BigQueryIoDetails, decorator: Google::Apis::DataflowV1b3::BigQueryIoDetails::Representation
collection :datastore_details, as: 'datastoreDetails', class: Google::Apis::DataflowV1b3::DatastoreIoDetails, decorator: Google::Apis::DataflowV1b3::DatastoreIoDetails::Representation
collection :file_details, as: 'fileDetails', class: Google::Apis::DataflowV1b3::FileIoDetails, decorator: Google::Apis::DataflowV1b3::FileIoDetails::Representation
collection :pubsub_details, as: 'pubsubDetails', class: Google::Apis::DataflowV1b3::PubSubIoDetails, decorator: Google::Apis::DataflowV1b3::PubSubIoDetails::Representation
property :sdk_version, as: 'sdkVersion', class: Google::Apis::DataflowV1b3::SdkVersion, decorator: Google::Apis::DataflowV1b3::SdkVersion::Representation
collection :spanner_details, as: 'spannerDetails', class: Google::Apis::DataflowV1b3::SpannerIoDetails, decorator: Google::Apis::DataflowV1b3::SpannerIoDetails::Representation
end
end
class JobMetrics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1514,6 +1618,14 @@ module Google
end
end
class PubSubIoDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :subscription, as: 'subscription'
property :topic, as: 'topic'
end
end
class PubsubLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1591,6 +1703,15 @@ module Google
end
end
class SdkVersion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :sdk_support_status, as: 'sdkSupportStatus'
property :version, as: 'version'
property :version_display_name, as: 'versionDisplayName'
end
end
class SendDebugCaptureRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1786,6 +1907,15 @@ module Google
end
end
class SpannerIoDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :database_id, as: 'databaseId'
property :instance_id, as: 'instanceId'
property :project_id, as: 'projectId'
end
end
class SplitInt64
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -755,7 +755,7 @@ module Google
# @return [Google::Apis::DataprocV1::DiskConfig]
attr_accessor :disk_config
# Output only. The Compute Engine image resource used for cluster instances.
# Optional. The Compute Engine image resource used for cluster instances.
# Inferred from SoftwareConfig.image_version.
# Corresponds to the JSON property `imageUri`
# @return [String]

View File

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

View File

@ -1997,6 +1997,11 @@ module Google
# @return [Array<Google::Apis::ServiceconsumermanagementV1::LabelDescriptor>]
attr_accessor :labels
# Additional annotations that can be used to guide the usage of a metric.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata]
attr_accessor :metadata
# Whether the metric records instantaneous values, changes to a value, etc.
# Some combinations of `metric_kind` and `value_type` might not be supported.
# Corresponds to the JSON property `metricKind`
@ -2089,6 +2094,7 @@ module Google
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@labels = args[:labels] if args.key?(:labels)
@metadata = args[:metadata] if args.key?(:metadata)
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
@name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type)
@ -2097,6 +2103,42 @@ module Google
end
end
# Additional annotations that can be used to guide the usage of a metric.
class MetricDescriptorMetadata
include Google::Apis::Core::Hashable
# The delay of data points caused by ingestion. Data points older than this
# age are guaranteed to be ingested and available to be read, excluding
# data loss due to errors.
# Corresponds to the JSON property `ingestDelay`
# @return [String]
attr_accessor :ingest_delay
# The launch stage of the metric definition.
# Corresponds to the JSON property `launchStage`
# @return [String]
attr_accessor :launch_stage
# The sampling period of metric data points. For metrics which are written
# periodically, consecutive data points are stored at this time interval,
# excluding data loss due to errors. Metrics with a higher granularity have
# a smaller sampling period.
# Corresponds to the JSON property `samplePeriod`
# @return [String]
attr_accessor :sample_period
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
@sample_period = args[:sample_period] if args.key?(:sample_period)
end
end
# Bind API methods to metrics. Binding a method to a metric causes that
# metric's configured quota behaviors to apply to the method call.
class MetricRule

View File

@ -268,6 +268,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MetricDescriptorMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -854,6 +860,8 @@ module Google
property :display_name, as: 'displayName'
collection :labels, as: 'labels', class: Google::Apis::ServiceconsumermanagementV1::LabelDescriptor, decorator: Google::Apis::ServiceconsumermanagementV1::LabelDescriptor::Representation
property :metadata, as: 'metadata', class: Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata::Representation
property :metric_kind, as: 'metricKind'
property :name, as: 'name'
property :type, as: 'type'
@ -862,6 +870,15 @@ module Google
end
end
class MetricDescriptorMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ingest_delay, as: 'ingestDelay'
property :launch_stage, as: 'launchStage'
property :sample_period, as: 'samplePeriod'
end
end
class MetricRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -2711,6 +2711,11 @@ module Google
# @return [Array<Google::Apis::ServiceusageV1beta1::LabelDescriptor>]
attr_accessor :labels
# Additional annotations that can be used to guide the usage of a metric.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata]
attr_accessor :metadata
# Whether the metric records instantaneous values, changes to a value, etc.
# Some combinations of `metric_kind` and `value_type` might not be supported.
# Corresponds to the JSON property `metricKind`
@ -2803,6 +2808,7 @@ module Google
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@labels = args[:labels] if args.key?(:labels)
@metadata = args[:metadata] if args.key?(:metadata)
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
@name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type)
@ -2811,6 +2817,42 @@ module Google
end
end
# Additional annotations that can be used to guide the usage of a metric.
class MetricDescriptorMetadata
include Google::Apis::Core::Hashable
# The delay of data points caused by ingestion. Data points older than this
# age are guaranteed to be ingested and available to be read, excluding
# data loss due to errors.
# Corresponds to the JSON property `ingestDelay`
# @return [String]
attr_accessor :ingest_delay
# The launch stage of the metric definition.
# Corresponds to the JSON property `launchStage`
# @return [String]
attr_accessor :launch_stage
# The sampling period of metric data points. For metrics which are written
# periodically, consecutive data points are stored at this time interval,
# excluding data loss due to errors. Metrics with a higher granularity have
# a smaller sampling period.
# Corresponds to the JSON property `samplePeriod`
# @return [String]
attr_accessor :sample_period
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
@sample_period = args[:sample_period] if args.key?(:sample_period)
end
end
# Bind API methods to metrics. Binding a method to a metric causes that
# metric's configured quota behaviors to apply to the method call.
class MetricRule

View File

@ -304,6 +304,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MetricDescriptorMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -972,6 +978,8 @@ module Google
property :display_name, as: 'displayName'
collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation
property :metadata, as: 'metadata', class: Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata::Representation
property :metric_kind, as: 'metricKind'
property :name, as: 'name'
property :type, as: 'type'
@ -980,6 +988,15 @@ module Google
end
end
class MetricDescriptorMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ingest_delay, as: 'ingestDelay'
property :launch_stage, as: 'launchStage'
property :sample_period, as: 'samplePeriod'
end
end
class MetricRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServiceuserV1
VERSION = 'V1'
REVISION = '20180612'
REVISION = '20180621'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -58,7 +58,7 @@ module Google
# The Service User implementation accepts the following forms for consumer:
# - "project:<project_id>"
# A valid path would be:
# - /v1/projects/my-project/services/servicemanagement.googleapis.com:disable
# - projects/my-project/services/servicemanagement.googleapis.com
# @param [Google::Apis::ServiceuserV1::DisableServiceRequest] disable_service_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -96,7 +96,7 @@ module Google
# @param [String] name
# Name of the consumer and the service to enable for that consumer.
# A valid path would be:
# - /v1/projects/my-project/services/servicemanagement.googleapis.com:enable
# - projects/my-project/services/servicemanagement.googleapis.com
# @param [Google::Apis::ServiceuserV1::EnableServiceRequest] enable_service_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1beta2
VERSION = 'V1beta2'
REVISION = '20180604'
REVISION = '20180619'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -239,24 +239,24 @@ module Google
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
include Google::Apis::Core::Hashable
# Output only. Video file location in
# Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri`
# @return [String]
attr_accessor :input_uri
# Output only. Approximate percentage processed thus far. Guaranteed to be
# Approximate percentage processed thus far. Guaranteed to be
# 100 when fully processed.
# Corresponds to the JSON property `progressPercent`
# @return [Fixnum]
attr_accessor :progress_percent
# Output only. Time when the request was received.
# Time when the request was received.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# Output only. Time of the most recent update.
# Time of the most recent update.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
@ -334,7 +334,7 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :frame_label_annotations
# Output only. Video file location in
# Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri`
# @return [String]
@ -765,24 +765,24 @@ module Google
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
include Google::Apis::Core::Hashable
# Output only. Video file location in
# Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri`
# @return [String]
attr_accessor :input_uri
# Output only. Approximate percentage processed thus far. Guaranteed to be
# Approximate percentage processed thus far. Guaranteed to be
# 100 when fully processed.
# Corresponds to the JSON property `progressPercent`
# @return [Fixnum]
attr_accessor :progress_percent
# Output only. Time when the request was received.
# Time when the request was received.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# Output only. Time of the most recent update.
# Time of the most recent update.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
@ -860,7 +860,7 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :frame_label_annotations
# Output only. Video file location in
# Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri`
# @return [String]
@ -913,9 +913,9 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig]
attr_accessor :label_detection_config
# Non-streaming request only. Video segments to annotate. The segments may
# overlap and are not required to be contiguous or span the whole video. If
# unspecified, each video is treated as a single segment.
# Video segments to annotate. The segments may overlap and are not required
# to be contiguous or span the whole video. If unspecified, each video is
# treated as a single segment.
# Corresponds to the JSON property `segments`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]
attr_accessor :segments
@ -1182,7 +1182,7 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
# The confidence estimate between 0.0 and 1.0. A higher number
# indicates an estimated greater likelihood that the recognized words are
# correct. This field is typically provided only for the top hypothesis, and
# only for `is_final=true` results. Clients should not rely on the
@ -1192,12 +1192,12 @@ module Google
# @return [Float]
attr_accessor :confidence
# Output only. Transcript text representing the words that the user spoke.
# Transcript text representing the words that the user spoke.
# Corresponds to the JSON property `transcript`
# @return [String]
attr_accessor :transcript
# Output only. A list of word-specific information for each recognized word.
# A list of word-specific information for each recognized word.
# Corresponds to the JSON property `words`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
attr_accessor :words
@ -1218,10 +1218,10 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscription
include Google::Apis::Core::Hashable
# Output only. May contain one or more recognition hypotheses (up to the
# maximum specified in `max_alternatives`).
# These alternatives are ordered in terms of accuracy, with the top (first)
# alternative being the most probable, as ranked by the recognizer.
# May contain one or more recognition hypotheses (up to the maximum specified
# in `max_alternatives`). These alternatives are ordered in terms of
# accuracy, with the top (first) alternative being the most probable, as
# ranked by the recognizer.
# Corresponds to the JSON property `alternatives`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
attr_accessor :alternatives
@ -1240,24 +1240,24 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
include Google::Apis::Core::Hashable
# Output only. Video file location in
# Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri`
# @return [String]
attr_accessor :input_uri
# Output only. Approximate percentage processed thus far. Guaranteed to be
# Approximate percentage processed thus far. Guaranteed to be
# 100 when fully processed.
# Corresponds to the JSON property `progressPercent`
# @return [Fixnum]
attr_accessor :progress_percent
# Output only. Time when the request was received.
# Time when the request was received.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# Output only. Time of the most recent update.
# Time of the most recent update.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
@ -1335,7 +1335,7 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :frame_label_annotations
# Output only. Video file location in
# Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri`
# @return [String]
@ -1413,7 +1413,7 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1WordInfo
include Google::Apis::Core::Hashable
# Output only. Time offset relative to the beginning of the audio, and
# Time offset relative to the beginning of the audio, and
# corresponding to the end of the spoken word. This field is only set if
# `enable_word_time_offsets=true` and only in the top hypothesis. This is an
# experimental feature and the accuracy of the time offset can vary.
@ -1421,7 +1421,7 @@ module Google
# @return [String]
attr_accessor :end_time
# Output only. Time offset relative to the beginning of the audio, and
# Time offset relative to the beginning of the audio, and
# corresponding to the start of the spoken word. This field is only set if
# `enable_word_time_offsets=true` and only in the top hypothesis. This is an
# experimental feature and the accuracy of the time offset can vary.
@ -1429,7 +1429,7 @@ module Google
# @return [String]
attr_accessor :start_time
# Output only. The word corresponding to this set of information.
# The word corresponding to this set of information.
# Corresponds to the JSON property `word`
# @return [String]
attr_accessor :word