Autogenerated update (2019-06-21)

Update:
- bigquery_v2
- compute_alpha
- compute_beta
- compute_v1
- dataflow_v1b3
- tagmanager_v1
- tagmanager_v2
- tpu_v1alpha1
This commit is contained in:
Google APIs committed 2019-06-21 00:37:42 +00:00
1 parent 6e97b84c3f
commit dd84b41e1e
26 files changed
+3156 -1875

No files matched your search

+46 -74
View File
@@ -1478,43 +1478,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `status`
# @return [Google::Apis::DataflowV1b3::Status]
attr_accessor :status
@@ -1565,6 +1532,38 @@ module Google
end
end
# Proto describing a hot key detected on a given WorkItem.
class HotKeyDetection
include Google::Apis::Core::Hashable
# The age of the hot key measured from when it was first detected.
# Corresponds to the JSON property `hotKeyAge`
# @return [String]
attr_accessor :hot_key_age
# System-defined name of the step containing this hot key.
# Unique across the workflow.
# Corresponds to the JSON property `systemName`
# @return [String]
attr_accessor :system_name
# User-provided name of the step that contains this hot key.
# Corresponds to the JSON property `userStepName`
# @return [String]
attr_accessor :user_step_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@hot_key_age = args[:hot_key_age] if args.key?(:hot_key_age)
@system_name = args[:system_name] if args.key?(:system_name)
@user_step_name = args[:user_step_name] if args.key?(:user_step_name)
end
end
# An input of an instruction, as a reference to an output of a
# producer instruction.
class InstructionInput
@@ -4287,43 +4286,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable
@@ -5182,6 +5148,11 @@ module Google
# @return [Hash<String,Object>]
attr_accessor :harness_data
# Proto describing a hot key detected on a given WorkItem.
# Corresponds to the JSON property `hotKeyDetection`
# @return [Google::Apis::DataflowV1b3::HotKeyDetection]
attr_accessor :hot_key_detection
# Time at which the current lease will expire.
# Corresponds to the JSON property `leaseExpireTime`
# @return [String]
@@ -5233,6 +5204,7 @@ module Google
# Update properties of this object
def update!(**args)
@harness_data = args[:harness_data] if args.key?(:harness_data)
@hot_key_detection = args[:hot_key_detection] if args.key?(:hot_key_detection)
@lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time)
@metric_short_id = args[:metric_short_id] if args.key?(:metric_short_id)
@next_report_index = args[:next_report_index] if args.key?(:next_report_index)