Autogenerated update (2019-06-13)

Update:
- androidmanagement_v1
- androidpublisher_v2
- androidpublisher_v3
- cloudsearch_v1
- compute_alpha
- compute_beta
- compute_v1
- container_v1
- container_v1beta1
- content_v2
- content_v2_1
- dialogflow_v2
- dialogflow_v2beta1
- healthcare_v1alpha2
- healthcare_v1beta1
- spanner_v1
- videointelligence_v1beta2
- videointelligence_v1p3beta1
This commit is contained in:
Google APIs 2019-06-13 00:38:06 +00:00
parent 386421fe95
commit 958b94b20d
50 changed files with 6816 additions and 1769 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management # @see https://developers.google.com/android/management
module AndroidmanagementV1 module AndroidmanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190514' REVISION = '20190605'
# Manage Android devices and apps for your customers # Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -1749,38 +1749,10 @@ module Google
# The Status type defines a logical error model that is suitable for different # 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 # programming environments, including REST APIs and RPC APIs. It is used by gRPC
# (https://github.com/grpc). The error model is designed to be: # (https://github.com/grpc). Each Status message contains three pieces of data:
# Simple to use and understand for most users # error code, error message, and error details.You can find out more about this
# Flexible enough to meet unexpected needsOverviewThe Status message contains # error model and how to work with it in the API Design Guide (https://cloud.
# three pieces of data: error code, error message, and error details. The error # google.com/apis/design/errors).
# 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 mappingThe 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 usesThe 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::AndroidmanagementV1::Status] # @return [Google::Apis::AndroidmanagementV1::Status]
attr_accessor :error attr_accessor :error
@ -2861,38 +2833,10 @@ module Google
# The Status type defines a logical error model that is suitable for different # 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 # programming environments, including REST APIs and RPC APIs. It is used by gRPC
# (https://github.com/grpc). The error model is designed to be: # (https://github.com/grpc). Each Status message contains three pieces of data:
# Simple to use and understand for most users # error code, error message, and error details.You can find out more about this
# Flexible enough to meet unexpected needsOverviewThe Status message contains # error model and how to work with it in the API Design Guide (https://cloud.
# three pieces of data: error code, error message, and error details. The error # google.com/apis/design/errors).
# 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 mappingThe 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 usesThe 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.
class Status class Status
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV2 module AndroidpublisherV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190414' REVISION = '20190611'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1536,8 +1536,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :price_currency_code attr_accessor :price_currency_code
# The profile id of the user when the subscription was purchased. Only present # The Google profile id of the user when the subscription was purchased. Only
# for purchases made with 'Subscribe with Google'. # present for purchases made with 'Subscribe with Google'.
# Corresponds to the JSON property `profileId` # Corresponds to the JSON property `profileId`
# @return [String] # @return [String]
attr_accessor :profile_id attr_accessor :profile_id

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV3 module AndroidpublisherV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20190604' REVISION = '20190611'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1612,8 +1612,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :price_currency_code attr_accessor :price_currency_code
# The profile id of the user when the subscription was purchased. Only present # The Google profile id of the user when the subscription was purchased. Only
# for purchases made with 'Subscribe with Google'. # present for purchases made with 'Subscribe with Google'.
# Corresponds to the JSON property `profileId` # Corresponds to the JSON property `profileId`
# @return [String] # @return [String]
attr_accessor :profile_id attr_accessor :profile_id

View File

@ -26,7 +26,7 @@ module Google
# @see https://gsuite.google.com/products/cloud-search/ # @see https://gsuite.google.com/products/cloud-search/
module CloudsearchV1 module CloudsearchV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190522' REVISION = '20190606'
# Index and serve your organization's data with Cloud Search # Index and serve your organization's data with Cloud Search
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search' AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'

View File

@ -2533,43 +2533,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::CloudsearchV1::Status] # @return [Google::Apis::CloudsearchV1::Status]
attr_accessor :error attr_accessor :error
@ -4346,43 +4313,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
class Status class Status
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha module ComputeAlpha
VERSION = 'Alpha' VERSION = 'Alpha'
REVISION = '20190528' REVISION = '20190530'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -322,6 +322,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class AutoscalingPolicyScaleDownControl
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Backend class Backend
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -382,24 +388,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BackendServiceAppEngineBackend
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BackendServiceCdnPolicy class BackendServiceCdnPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BackendServiceCloudFunctionBackend
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BackendServiceFailoverPolicy class BackendServiceFailoverPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -472,6 +466,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BfdPacket
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BfdStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BfdStatusPacketCounts
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Binding class Binding
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1072,6 +1084,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class HealthCheckLogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheckReference class HealthCheckReference
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1084,6 +1102,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class HealthCheckServiceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HealthCheckServicesList class HealthCheckServicesList
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1498,6 +1522,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class InstanceGroupManagersListErrorsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersListManagedInstancesResponse class InstanceGroupManagersListManagedInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1678,6 +1708,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class InstanceManagedByIgmError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceManagedByIgmErrorInstanceActionDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceManagedByIgmErrorManagedInstanceError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceMoveRequest class InstanceMoveRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1798,6 +1846,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class InstancesSetNameRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstancesSetServiceAccountRequest class InstancesSetServiceAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2866,6 +2920,126 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PacketIntervals
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroring
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringCollectorInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringCollectorInfoInstanceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringForwardingRuleInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringMirroredResourceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringMirroredResourceInfoInstanceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringMirroredResourceInfoSubnetInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringNetworkInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringPacketMatcher
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringsScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class PathMatcher class PathMatcher
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3136,6 +3310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class RegionInstanceGroupManagersListErrorsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersListInstanceConfigsResp class RegionInstanceGroupManagersListInstanceConfigsResp
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3778,12 +3958,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ServerSecuritySettingsSelector
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ServerTlsSettings class ServerTlsSettings
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3796,12 +3970,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ServiceAccountJwtAccessCredentials
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedInstanceConfig class ShieldedInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3880,6 +4048,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SourceDiskEncryptionKey
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SourceInstanceParams class SourceInstanceParams
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5526,6 +5700,8 @@ module Google
property :mode, as: 'mode' property :mode, as: 'mode'
property :queue_based_scaling, as: 'queueBasedScaling', class: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling::Representation property :queue_based_scaling, as: 'queueBasedScaling', class: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling::Representation
property :scale_down_control, as: 'scaleDownControl', class: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleDownControl, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleDownControl::Representation
end end
end end
@ -5572,6 +5748,15 @@ module Google
end end
end end
class AutoscalingPolicyScaleDownControl
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_scaled_down_replicas, as: 'maxScaledDownReplicas', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
property :time_window_sec, as: 'timeWindowSec'
end
end
class Backend class Backend
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5651,16 +5836,12 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :affinity_cookie_ttl_sec, as: 'affinityCookieTtlSec' property :affinity_cookie_ttl_sec, as: 'affinityCookieTtlSec'
property :app_engine_backend, as: 'appEngineBackend', class: Google::Apis::ComputeAlpha::BackendServiceAppEngineBackend, decorator: Google::Apis::ComputeAlpha::BackendServiceAppEngineBackend::Representation
collection :backends, as: 'backends', class: Google::Apis::ComputeAlpha::Backend, decorator: Google::Apis::ComputeAlpha::Backend::Representation collection :backends, as: 'backends', class: Google::Apis::ComputeAlpha::Backend, decorator: Google::Apis::ComputeAlpha::Backend::Representation
property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeAlpha::BackendServiceCdnPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceCdnPolicy::Representation property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeAlpha::BackendServiceCdnPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceCdnPolicy::Representation
property :circuit_breakers, as: 'circuitBreakers', class: Google::Apis::ComputeAlpha::CircuitBreakers, decorator: Google::Apis::ComputeAlpha::CircuitBreakers::Representation property :circuit_breakers, as: 'circuitBreakers', class: Google::Apis::ComputeAlpha::CircuitBreakers, decorator: Google::Apis::ComputeAlpha::CircuitBreakers::Representation
property :cloud_function_backend, as: 'cloudFunctionBackend', class: Google::Apis::ComputeAlpha::BackendServiceCloudFunctionBackend, decorator: Google::Apis::ComputeAlpha::BackendServiceCloudFunctionBackend::Representation
property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeAlpha::ConnectionDraining, decorator: Google::Apis::ComputeAlpha::ConnectionDraining::Representation property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeAlpha::ConnectionDraining, decorator: Google::Apis::ComputeAlpha::ConnectionDraining::Representation
property :consistent_hash, as: 'consistentHash', class: Google::Apis::ComputeAlpha::ConsistentHashLoadBalancerSettings, decorator: Google::Apis::ComputeAlpha::ConsistentHashLoadBalancerSettings::Representation property :consistent_hash, as: 'consistentHash', class: Google::Apis::ComputeAlpha::ConsistentHashLoadBalancerSettings, decorator: Google::Apis::ComputeAlpha::ConsistentHashLoadBalancerSettings::Representation
@ -5682,6 +5863,7 @@ module Google
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation
property :name, as: 'name' property :name, as: 'name'
property :network, as: 'network'
property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeAlpha::OutlierDetection, decorator: Google::Apis::ComputeAlpha::OutlierDetection::Representation property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeAlpha::OutlierDetection, decorator: Google::Apis::ComputeAlpha::OutlierDetection::Representation
property :port, as: 'port' property :port, as: 'port'
@ -5730,15 +5912,6 @@ module Google
end end
end end
class BackendServiceAppEngineBackend
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_engine_service, as: 'appEngineService'
property :target_project, as: 'targetProject'
property :version, as: 'version'
end
end
class BackendServiceCdnPolicy class BackendServiceCdnPolicy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5749,14 +5922,6 @@ module Google
end end
end end
class BackendServiceCloudFunctionBackend
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :function_name, as: 'functionName'
property :target_project, as: 'targetProject'
end
end
class BackendServiceFailoverPolicy class BackendServiceFailoverPolicy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5872,6 +6037,64 @@ module Google
end end
end end
class BfdPacket
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :authentication_present, as: 'authenticationPresent'
property :control_plane_independent, as: 'controlPlaneIndependent'
property :demand, as: 'demand'
property :diagnostic, as: 'diagnostic'
property :final, as: 'final'
property :length, as: 'length'
property :min_echo_rx_interval_ms, as: 'minEchoRxIntervalMs'
property :min_rx_interval_ms, as: 'minRxIntervalMs'
property :min_tx_interval_ms, as: 'minTxIntervalMs'
property :multiplier, as: 'multiplier'
property :multipoint, as: 'multipoint'
property :my_discriminator, as: 'myDiscriminator'
property :poll, as: 'poll'
property :state, as: 'state'
property :version, as: 'version'
property :your_discriminator, as: 'yourDiscriminator'
end
end
class BfdStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bfd_session_initialization_mode, as: 'bfdSessionInitializationMode'
property :config_update_timestamp_micros, :numeric_string => true, as: 'configUpdateTimestampMicros'
property :control_packet_counts, as: 'controlPacketCounts', class: Google::Apis::ComputeAlpha::BfdStatusPacketCounts, decorator: Google::Apis::ComputeAlpha::BfdStatusPacketCounts::Representation
collection :control_packet_intervals, as: 'controlPacketIntervals', class: Google::Apis::ComputeAlpha::PacketIntervals, decorator: Google::Apis::ComputeAlpha::PacketIntervals::Representation
property :echo_packet_counts, as: 'echoPacketCounts', class: Google::Apis::ComputeAlpha::BfdStatusPacketCounts, decorator: Google::Apis::ComputeAlpha::BfdStatusPacketCounts::Representation
collection :echo_packet_intervals, as: 'echoPacketIntervals', class: Google::Apis::ComputeAlpha::PacketIntervals, decorator: Google::Apis::ComputeAlpha::PacketIntervals::Representation
property :local_diagnostic, as: 'localDiagnostic'
property :local_state, as: 'localState'
property :negotiated_local_control_tx_interval_ms, as: 'negotiatedLocalControlTxIntervalMs'
property :negotiated_local_echo_tx_interval_ms, as: 'negotiatedLocalEchoTxIntervalMs'
property :rx_packet, as: 'rxPacket', class: Google::Apis::ComputeAlpha::BfdPacket, decorator: Google::Apis::ComputeAlpha::BfdPacket::Representation
property :tx_packet, as: 'txPacket', class: Google::Apis::ComputeAlpha::BfdPacket, decorator: Google::Apis::ComputeAlpha::BfdPacket::Representation
property :uptime_ms, :numeric_string => true, as: 'uptimeMs'
property :using_echo_mode, as: 'usingEchoMode'
end
end
class BfdStatusPacketCounts
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :num_rx, as: 'numRx'
property :num_rx_rejected, as: 'numRxRejected'
property :num_rx_successful, as: 'numRxSuccessful'
property :num_tx, as: 'numTx'
end
end
class Binding class Binding
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5904,12 +6127,9 @@ module Google
class CallCredentials class CallCredentials
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :access_token, as: 'accessToken'
property :call_credential_type, as: 'callCredentialType' property :call_credential_type, as: 'callCredentialType'
property :from_plugin, as: 'fromPlugin', class: Google::Apis::ComputeAlpha::MetadataCredentialsFromPlugin, decorator: Google::Apis::ComputeAlpha::MetadataCredentialsFromPlugin::Representation property :from_plugin, as: 'fromPlugin', class: Google::Apis::ComputeAlpha::MetadataCredentialsFromPlugin, decorator: Google::Apis::ComputeAlpha::MetadataCredentialsFromPlugin::Representation
property :jwt_service_account, as: 'jwtServiceAccount', class: Google::Apis::ComputeAlpha::ServiceAccountJwtAccessCredentials, decorator: Google::Apis::ComputeAlpha::ServiceAccountJwtAccessCredentials::Representation
end end
end end
@ -6152,6 +6372,7 @@ module Google
property :description, as: 'description' property :description, as: 'description'
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
property :erase_windows_vss_signature, as: 'eraseWindowsVssSignature'
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
@ -6170,6 +6391,7 @@ module Google
collection :replica_zones, as: 'replicaZones' collection :replica_zones, as: 'replicaZones'
collection :resource_policies, as: 'resourcePolicies' collection :resource_policies, as: 'resourcePolicies'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
property :size_gb, :numeric_string => true, as: 'sizeGb' property :size_gb, :numeric_string => true, as: 'sizeGb'
property :source_disk, as: 'sourceDisk' property :source_disk, as: 'sourceDisk'
property :source_disk_id, as: 'sourceDiskId' property :source_disk_id, as: 'sourceDiskId'
@ -6688,6 +6910,7 @@ module Google
property :fingerprint, :base64 => true, as: 'fingerprint' property :fingerprint, :base64 => true, as: 'fingerprint'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :ip_version, as: 'ipVersion' property :ip_version, as: 'ipVersion'
property :is_mirroring_collector, as: 'isMirroringCollector'
property :kind, as: 'kind' property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint' property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels' hash :labels, as: 'labels'
@ -6945,6 +7168,8 @@ module Google
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::HealthCheckLogConfig, decorator: Google::Apis::ComputeAlpha::HealthCheckLogConfig::Representation
property :name, as: 'name' property :name, as: 'name'
property :region, as: 'region' property :region, as: 'region'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
@ -6993,6 +7218,14 @@ module Google
end end
end end
class HealthCheckLogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable, as: 'enable'
property :filter, as: 'filter'
end
end
class HealthCheckReference class HealthCheckReference
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -7018,6 +7251,13 @@ module Google
end end
end end
class HealthCheckServiceReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :health_check_service, as: 'healthCheckService'
end
end
class HealthCheckServicesList class HealthCheckServicesList
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -7130,6 +7370,8 @@ module Google
property :health_check, as: 'healthCheck', class: Google::Apis::ComputeAlpha::HealthCheckReference, decorator: Google::Apis::ComputeAlpha::HealthCheckReference::Representation property :health_check, as: 'healthCheck', class: Google::Apis::ComputeAlpha::HealthCheckReference, decorator: Google::Apis::ComputeAlpha::HealthCheckReference::Representation
property :health_check_service, as: 'healthCheckService', class: Google::Apis::ComputeAlpha::HealthCheckServiceReference, decorator: Google::Apis::ComputeAlpha::HealthCheckServiceReference::Representation
property :health_state, as: 'healthState' property :health_state, as: 'healthState'
end end
end end
@ -7505,6 +7747,7 @@ module Google
property :display_device, as: 'displayDevice', class: Google::Apis::ComputeAlpha::DisplayDevice, decorator: Google::Apis::ComputeAlpha::DisplayDevice::Representation property :display_device, as: 'displayDevice', class: Google::Apis::ComputeAlpha::DisplayDevice, decorator: Google::Apis::ComputeAlpha::DisplayDevice::Representation
property :erase_windows_vss_signature, as: 'eraseWindowsVssSignature'
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
property :hostname, as: 'hostname' property :hostname, as: 'hostname'
@ -7899,6 +8142,15 @@ module Google
end end
end end
class InstanceGroupManagersListErrorsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::InstanceManagedByIgmError, decorator: Google::Apis::ComputeAlpha::InstanceManagedByIgmError::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class InstanceGroupManagersListManagedInstancesResponse class InstanceGroupManagersListManagedInstancesResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8175,6 +8427,35 @@ module Google
end end
end end
class InstanceManagedByIgmError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error, as: 'error', class: Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorManagedInstanceError, decorator: Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorManagedInstanceError::Representation
property :instance_action_details, as: 'instanceActionDetails', class: Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorInstanceActionDetails, decorator: Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorInstanceActionDetails::Representation
property :timestamp, as: 'timestamp'
end
end
class InstanceManagedByIgmErrorInstanceActionDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
property :instance, as: 'instance'
property :version, as: 'version', class: Google::Apis::ComputeAlpha::ManagedInstanceVersion, decorator: Google::Apis::ComputeAlpha::ManagedInstanceVersion::Representation
end
end
class InstanceManagedByIgmErrorManagedInstanceError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :message, as: 'message'
end
end
class InstanceMoveRequest class InstanceMoveRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8384,6 +8665,14 @@ module Google
end end
end end
class InstancesSetNameRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :current_name, as: 'currentName'
property :name, as: 'name'
end
end
class InstancesSetServiceAccountRequest class InstancesSetServiceAccountRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -9000,6 +9289,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :guest_flush, as: 'guestFlush'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
@ -9007,6 +9297,8 @@ module Google
property :name, as: 'name' property :name, as: 'name'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId' property :self_link_with_id, as: 'selfLinkWithId'
collection :source_disk_encryption_keys, as: 'sourceDiskEncryptionKeys', class: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey, decorator: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey::Representation
property :source_instance, as: 'sourceInstance' property :source_instance, as: 'sourceInstance'
property :source_instance_properties, as: 'sourceInstanceProperties', class: Google::Apis::ComputeAlpha::SourceInstanceProperties, decorator: Google::Apis::ComputeAlpha::SourceInstanceProperties::Representation property :source_instance_properties, as: 'sourceInstanceProperties', class: Google::Apis::ComputeAlpha::SourceInstanceProperties, decorator: Google::Apis::ComputeAlpha::SourceInstanceProperties::Representation
@ -10353,6 +10645,211 @@ module Google
end end
end end
class PacketIntervals
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :avg_ms, :numeric_string => true, as: 'avgMs'
property :duration, as: 'duration'
property :max_ms, :numeric_string => true, as: 'maxMs'
property :min_ms, :numeric_string => true, as: 'minMs'
property :num_intervals, :numeric_string => true, as: 'numIntervals'
property :type, as: 'type'
end
end
class PacketMirroring
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :collector_ilb, as: 'collectorIlb', class: Google::Apis::ComputeAlpha::PacketMirroringForwardingRuleInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringForwardingRuleInfo::Representation
property :collectors, as: 'collectors', class: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfo::Representation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :enable, as: 'enable'
property :filter, as: 'filter', class: Google::Apis::ComputeAlpha::PacketMirroringFilter, decorator: Google::Apis::ComputeAlpha::PacketMirroringFilter::Representation
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :mirrored_resources, as: 'mirroredResources', class: Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfo::Representation
property :name, as: 'name'
property :network, as: 'network', class: Google::Apis::ComputeAlpha::PacketMirroringNetworkInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringNetworkInfo::Representation
collection :packet_matchers, as: 'packetMatchers', class: Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher, decorator: Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher::Representation
property :priority, as: 'priority'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
end
end
class PacketMirroringAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::PacketMirroringsScopedList, decorator: Google::Apis::ComputeAlpha::PacketMirroringsScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class PacketMirroringCollectorInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfoInstanceInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfoInstanceInfo::Representation
end
end
class PacketMirroringCollectorInfoInstanceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :url, as: 'url'
end
end
class PacketMirroringFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ip_protocol, as: 'IPProtocol'
collection :cidr_ranges, as: 'cidrRanges'
end
end
class PacketMirroringForwardingRuleInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::PacketMirroring, decorator: Google::Apis::ComputeAlpha::PacketMirroring::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::PacketMirroringList::Warning, decorator: Google::Apis::ComputeAlpha::PacketMirroringList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::PacketMirroringList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::PacketMirroringList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class PacketMirroringMirroredResourceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfoInstanceInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfoInstanceInfo::Representation
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfoSubnetInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfoSubnetInfo::Representation
collection :tags, as: 'tags'
end
end
class PacketMirroringMirroredResourceInfoInstanceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringMirroredResourceInfoSubnetInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringNetworkInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringPacketMatcher
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cidr_range, as: 'cidrRange'
end
end
class PacketMirroringsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :packet_mirrorings, as: 'packetMirrorings', class: Google::Apis::ComputeAlpha::PacketMirroring, decorator: Google::Apis::ComputeAlpha::PacketMirroring::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::PacketMirroringsScopedList::Warning, decorator: Google::Apis::ComputeAlpha::PacketMirroringsScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::PacketMirroringsScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::PacketMirroringsScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class PathMatcher class PathMatcher
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -10818,6 +11315,15 @@ module Google
end end
end end
class RegionInstanceGroupManagersListErrorsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::InstanceManagedByIgmError, decorator: Google::Apis::ComputeAlpha::InstanceManagedByIgmError::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class RegionInstanceGroupManagersListInstanceConfigsResp class RegionInstanceGroupManagersListInstanceConfigsResp
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -11022,6 +11528,7 @@ module Google
property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation::Representation property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation::Representation
property :specific_reservation_required, as: 'specificReservationRequired' property :specific_reservation_required, as: 'specificReservationRequired'
property :status, as: 'status'
property :zone, as: 'zone' property :zone, as: 'zone'
end end
end end
@ -11652,6 +12159,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :advertised_routes, as: 'advertisedRoutes', class: Google::Apis::ComputeAlpha::Route, decorator: Google::Apis::ComputeAlpha::Route::Representation collection :advertised_routes, as: 'advertisedRoutes', class: Google::Apis::ComputeAlpha::Route, decorator: Google::Apis::ComputeAlpha::Route::Representation
property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeAlpha::BfdStatus, decorator: Google::Apis::ComputeAlpha::BfdStatus::Representation
property :ip_address, as: 'ipAddress' property :ip_address, as: 'ipAddress'
property :linked_vpn_tunnel, as: 'linkedVpnTunnel' property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
property :name, as: 'name' property :name, as: 'name'
@ -11956,8 +12465,6 @@ module Google
property :client_tls_settings, as: 'clientTlsSettings', class: Google::Apis::ComputeAlpha::ClientTlsSettings, decorator: Google::Apis::ComputeAlpha::ClientTlsSettings::Representation property :client_tls_settings, as: 'clientTlsSettings', class: Google::Apis::ComputeAlpha::ClientTlsSettings, decorator: Google::Apis::ComputeAlpha::ClientTlsSettings::Representation
property :server_settings_selector, as: 'serverSettingsSelector', class: Google::Apis::ComputeAlpha::ServerSecuritySettingsSelector, decorator: Google::Apis::ComputeAlpha::ServerSecuritySettingsSelector::Representation
end end
end end
@ -11979,15 +12486,6 @@ module Google
end end
end end
class ServerSecuritySettingsSelector
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :label_matches, as: 'labelMatches', class: Google::Apis::ComputeAlpha::MetadataFilterLabelMatch, decorator: Google::Apis::ComputeAlpha::MetadataFilterLabelMatch::Representation
property :port, as: 'port'
end
end
class ServerTlsSettings class ServerTlsSettings
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -12006,14 +12504,6 @@ module Google
end end
end end
class ServiceAccountJwtAccessCredentials
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :json_key, as: 'jsonKey'
property :token_lifetime_seconds, :numeric_string => true, as: 'tokenLifetimeSeconds'
end
end
class ShieldedInstanceConfig class ShieldedInstanceConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -12155,6 +12645,15 @@ module Google
end end
end end
class SourceDiskEncryptionKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
property :source_disk, as: 'sourceDisk'
end
end
class SourceInstanceParams class SourceInstanceParams
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -12470,6 +12969,7 @@ module Google
property :network, as: 'network' property :network, as: 'network'
property :private_ip_google_access, as: 'privateIpGoogleAccess' property :private_ip_google_access, as: 'privateIpGoogleAccess'
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess' property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
collection :private_ipv6_google_access_service_accounts, as: 'privateIpv6GoogleAccessServiceAccounts'
property :purpose, as: 'purpose' property :purpose, as: 'purpose'
property :range_type, as: 'rangeType' property :range_type, as: 'rangeType'
property :region, as: 'region' property :region, as: 'region'

View File

@ -396,8 +396,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an address resource in the specified project using the data included # Creates an address resource in the specified project by using the data
# in the request. # included in the request.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [String] region # @param [String] region
@ -4311,8 +4311,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an address resource in the specified project using the data included # Creates an address resource in the specified project by using the data
# in the request. # included in the request.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [Google::Apis::ComputeAlpha::Address] address_object # @param [Google::Apis::ComputeAlpha::Address] address_object
@ -7879,6 +7879,87 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists all errors thrown by actions on instances for a given managed instance
# group.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the managed instance group is located. It should
# conform to RFC1035.
# @param [String] instance_group_manager
# The name of the managed instance group. It must be a string that meets the
# requirements in RFC1035, or an unsigned long integer: must match regexp
# pattern: (?:[a-z](?:[-a-z0-9]`0,61`[a-z0-9])?)|[1-9][0-9]`0,19`.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse]
#
# @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_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options)
command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse::Representation
command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists all of the instances in the managed instance group. Each instance in the # Lists all of the instances in the managed instance group. Each instance in the
# list has a currentAction, which indicates the action that the managed instance # list has a currentAction, which indicates the action that the managed instance
# group is performing on the instance. For example, if the group is still # group is performing on the instance. For example, if the group is still
@ -11104,6 +11185,60 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets name of an instance.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# The instance name for this request.
# @param [Google::Apis::ComputeAlpha::InstancesSetNameRequest] instances_set_name_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @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 set_instance_name(project, zone, instance, instances_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setName', options)
command.request_representation = Google::Apis::ComputeAlpha::InstancesSetNameRequest::Representation
command.request_object = instances_set_name_request_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets an instance's scheduling options. # Sets an instance's scheduling options.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -17409,6 +17544,336 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Retrieves an aggregated list of packetMirrorings.
# @param [String] project
# Project ID for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::PacketMirroringAggregatedList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::PacketMirroringAggregatedList]
#
# @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 aggregated_packet_mirroring_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options)
command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Representation
command.response_class = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified PacketMirroring resource.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] packet_mirroring
# Name of the PacketMirroring resource to delete.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @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 delete_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns the specified PacketMirroring resource.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] packet_mirroring
# Name of the PacketMirroring resource to return.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::PacketMirroring] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::PacketMirroring]
#
# @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 get_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
command.response_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation
command.response_class = Google::Apis::ComputeAlpha::PacketMirroring
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a PacketMirroring resource in the specified project and region using
# the data included in the request.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [Google::Apis::ComputeAlpha::PacketMirroring] packet_mirroring_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @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 insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings', options)
command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation
command.request_object = packet_mirroring_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves a list of PacketMirroring resources available to the specified
# project and region.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::PacketMirroringList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::PacketMirroringList]
#
# @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_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings', options)
command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringList::Representation
command.response_class = Google::Apis::ComputeAlpha::PacketMirroringList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
#
# @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 test_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Disable this project as a shared VPC host project. # Disable this project as a shared VPC host project.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -17454,8 +17919,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Disable a serivce resource (a.k.a service project) associated with this host # Disable a service resource (also known as service project) associated with
# project. # this host project.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object # @param [Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object
@ -21088,6 +21553,86 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists all errors thrown by actions on instances for a given regional managed
# instance group.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region scoping this request. This should conform to RFC1035.
# @param [String] instance_group_manager
# The name of the managed instance group. It must be a string that meets the
# requirements in RFC1035, or an unsigned long integer: must match regexp
# pattern: (?:[a-z](?:[-a-z0-9]`0,61`[a-z0-9])?)|[1-9][0-9]`0,19`.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse]
#
# @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_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options)
command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse::Representation
command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists the instances in the managed instance group and instances that are # Lists the instances in the managed instance group and instances that are
# scheduled to be created. The list includes any current actions that the group # scheduled to be created. The list includes any current actions that the group
# has scheduled for its instances. # has scheduled for its instances.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta module ComputeBeta
VERSION = 'Beta' VERSION = 'Beta'
REVISION = '20190528' REVISION = '20190530'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -5219,6 +5219,7 @@ module Google
property :start_timestamp, as: 'startTimestamp' property :start_timestamp, as: 'startTimestamp'
property :status, as: 'status' property :status, as: 'status'
property :status_message, as: 'statusMessage' property :status_message, as: 'statusMessage'
property :type, as: 'type'
end end
end end
@ -9494,6 +9495,7 @@ module Google
property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeBeta::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeBeta::AllocationSpecificSkuReservation::Representation property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeBeta::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeBeta::AllocationSpecificSkuReservation::Representation
property :specific_reservation_required, as: 'specificReservationRequired' property :specific_reservation_required, as: 'specificReservationRequired'
property :status, as: 'status'
property :zone, as: 'zone' property :zone, as: 'zone'
end end
end end

View File

@ -396,8 +396,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an address resource in the specified project using the data included # Creates an address resource in the specified project by using the data
# in the request. # included in the request.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [String] region # @param [String] region
@ -4195,8 +4195,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an address resource in the specified project using the data included # Creates an address resource in the specified project by using the data
# in the request. # included in the request.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [Google::Apis::ComputeBeta::Address] address_object # @param [Google::Apis::ComputeBeta::Address] address_object
@ -14626,8 +14626,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Disable a serivce resource (a.k.a service project) associated with this host # Disable a service resource (also known as service project) associated with
# project. # this host project.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object # @param [Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1 module ComputeV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190528' REVISION = '20190530'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -622,6 +622,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DisksAddResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DisksRemoveResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DisksResizeRequest class DisksResizeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -790,6 +802,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GuestAttributes
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestAttributesEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestAttributesValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GuestOsFeature class GuestOsFeature
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2266,6 +2296,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class RegionDisksAddResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionDisksRemoveResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionDisksResizeRequest class RegionDisksResizeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2416,6 +2458,114 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ResourcePoliciesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyDailyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyHourlyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicySnapshotSchedulePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicySnapshotSchedulePolicySchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyWeeklyCycle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourcePolicyWeeklyCycleDayOfWeek
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Route class Route
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2662,6 +2812,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ServerBinding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ServiceAccount class ServiceAccount
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3784,6 +3940,7 @@ module Google
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :disk_type, as: 'diskType' property :disk_type, as: 'diskType'
hash :labels, as: 'labels' hash :labels, as: 'labels'
collection :resource_policies, as: 'resourcePolicies'
property :source_image, as: 'sourceImage' property :source_image, as: 'sourceImage'
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
@ -4420,6 +4577,7 @@ module Google
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes' property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
property :region, as: 'region' property :region, as: 'region'
collection :replica_zones, as: 'replicaZones' collection :replica_zones, as: 'replicaZones'
collection :resource_policies, as: 'resourcePolicies'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :size_gb, :numeric_string => true, as: 'sizeGb' property :size_gb, :numeric_string => true, as: 'sizeGb'
property :source_image, as: 'sourceImage' property :source_image, as: 'sourceImage'
@ -4629,6 +4787,20 @@ module Google
end end
end end
class DisksAddResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class DisksRemoveResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class DisksResizeRequest class DisksResizeRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -4926,6 +5098,36 @@ module Google
end end
end end
class GuestAttributes
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :query_path, as: 'queryPath'
property :query_value, as: 'queryValue', class: Google::Apis::ComputeV1::GuestAttributesValue, decorator: Google::Apis::ComputeV1::GuestAttributesValue::Representation
property :self_link, as: 'selfLink'
property :variable_key, as: 'variableKey'
property :variable_value, as: 'variableValue'
end
end
class GuestAttributesEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :namespace, as: 'namespace'
property :value, as: 'value'
end
end
class GuestAttributesValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeV1::GuestAttributesEntry, decorator: Google::Apis::ComputeV1::GuestAttributesEntry::Representation
end
end
class GuestOsFeature class GuestOsFeature
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -6998,6 +7200,8 @@ module Google
collection :instances, as: 'instances' collection :instances, as: 'instances'
property :name, as: 'name' property :name, as: 'name'
property :node_type, as: 'nodeType' property :node_type, as: 'nodeType'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeV1::ServerBinding, decorator: Google::Apis::ComputeV1::ServerBinding::Representation
property :status, as: 'status' property :status, as: 'status'
end end
end end
@ -7097,6 +7301,8 @@ module Google
property :region, as: 'region' property :region, as: 'region'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeV1::ServerBinding, decorator: Google::Apis::ComputeV1::ServerBinding::Representation
property :status, as: 'status' property :status, as: 'status'
property :status_message, as: 'statusMessage' property :status_message, as: 'statusMessage'
end end
@ -7670,6 +7876,20 @@ module Google
end end
end end
class RegionDisksAddResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class RegionDisksRemoveResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies'
end
end
class RegionDisksResizeRequest class RegionDisksResizeRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -7900,6 +8120,192 @@ module Google
end end
end end
class ResourcePoliciesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_policies, as: 'resourcePolicies', class: Google::Apis::ComputeV1::ResourcePolicy, decorator: Google::Apis::ComputeV1::ResourcePolicy::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ResourcePoliciesScopedList::Warning, decorator: Google::Apis::ComputeV1::ResourcePoliciesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::ResourcePoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::ResourcePoliciesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class ResourcePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicy::Representation
property :status, as: 'status'
end
end
class ResourcePolicyAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeV1::ResourcePoliciesScopedList, decorator: Google::Apis::ComputeV1::ResourcePoliciesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Warning, decorator: Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class ResourcePolicyDailyCycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :days_in_cycle, as: 'daysInCycle'
property :duration, as: 'duration'
property :start_time, as: 'startTime'
end
end
class ResourcePolicyHourlyCycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :hours_in_cycle, as: 'hoursInCycle'
property :start_time, as: 'startTime'
end
end
class ResourcePolicyList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeV1::ResourcePolicy, decorator: Google::Apis::ComputeV1::ResourcePolicy::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ResourcePolicyList::Warning, decorator: Google::Apis::ComputeV1::ResourcePolicyList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::ResourcePolicyList::Warning::Datum, decorator: Google::Apis::ComputeV1::ResourcePolicyList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class ResourcePolicySnapshotSchedulePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicyRetentionPolicy, decorator: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicyRetentionPolicy::Representation
property :schedule, as: 'schedule', class: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicySchedule, decorator: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicySchedule::Representation
property :snapshot_properties, as: 'snapshotProperties', class: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicySnapshotProperties, decorator: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicySnapshotProperties::Representation
end
end
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_retention_days, as: 'maxRetentionDays'
property :on_source_disk_delete, as: 'onSourceDiskDelete'
end
end
class ResourcePolicySnapshotSchedulePolicySchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :daily_schedule, as: 'dailySchedule', class: Google::Apis::ComputeV1::ResourcePolicyDailyCycle, decorator: Google::Apis::ComputeV1::ResourcePolicyDailyCycle::Representation
property :hourly_schedule, as: 'hourlySchedule', class: Google::Apis::ComputeV1::ResourcePolicyHourlyCycle, decorator: Google::Apis::ComputeV1::ResourcePolicyHourlyCycle::Representation
property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::ComputeV1::ResourcePolicyWeeklyCycle, decorator: Google::Apis::ComputeV1::ResourcePolicyWeeklyCycle::Representation
end
end
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :guest_flush, as: 'guestFlush'
hash :labels, as: 'labels'
collection :storage_locations, as: 'storageLocations'
end
end
class ResourcePolicyWeeklyCycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :day_of_weeks, as: 'dayOfWeeks', class: Google::Apis::ComputeV1::ResourcePolicyWeeklyCycleDayOfWeek, decorator: Google::Apis::ComputeV1::ResourcePolicyWeeklyCycleDayOfWeek::Representation
end
end
class ResourcePolicyWeeklyCycleDayOfWeek
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :day, as: 'day'
property :duration, as: 'duration'
property :start_time, as: 'startTime'
end
end
class Route class Route
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8372,6 +8778,13 @@ module Google
end end
end end
class ServerBinding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class ServiceAccount class ServiceAccount
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -8426,6 +8839,7 @@ module Google
class Snapshot class Snapshot
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :auto_created, as: 'autoCreated'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'

View File

@ -396,8 +396,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an address resource in the specified project using the data included # Creates an address resource in the specified project by using the data
# in the request. # included in the request.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [String] region # @param [String] region
@ -2105,6 +2105,61 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Adds existing resource policies to a disk. You can only add one policy which
# will be applied to this disk for scheduling snapshot creation.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] disk
# The disk name for this request.
# @param [Google::Apis::ComputeV1::DisksAddResourcePoliciesRequest] disks_add_resource_policies_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::Operation]
#
# @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 add_disk_resource_policies(project, zone, disk, disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/addResourcePolicies', options)
command.request_representation = Google::Apis::ComputeV1::DisksAddResourcePoliciesRequest::Representation
command.request_object = disks_add_resource_policies_request_object
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['disk'] = disk unless disk.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an aggregated list of persistent disks. # Retrieves an aggregated list of persistent disks.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -2499,6 +2554,60 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Removes resource policies from a disk.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] disk
# The disk name for this request.
# @param [Google::Apis::ComputeV1::DisksRemoveResourcePoliciesRequest] disks_remove_resource_policies_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::Operation]
#
# @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 remove_disk_resource_policies(project, zone, disk, disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', options)
command.request_representation = Google::Apis::ComputeV1::DisksRemoveResourcePoliciesRequest::Representation
command.request_object = disks_remove_resource_policies_request_object
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['disk'] = disk unless disk.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Resizes the specified persistent disk. You can only increase the size of the # Resizes the specified persistent disk. You can only increase the size of the
# disk. # disk.
# @param [String] project # @param [String] project
@ -3432,8 +3541,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an address resource in the specified project using the data included # Creates an address resource in the specified project by using the data
# in the request. # included in the request.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [Google::Apis::ComputeV1::Address] address_object # @param [Google::Apis::ComputeV1::Address] address_object
@ -7487,6 +7596,51 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns the specified guest attributes entry.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the instance scoping this request.
# @param [String] query_path
# Specifies the guest attributes path to be queried.
# @param [String] variable_key
# Specifies the key for the guest attributes entry.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::GuestAttributes] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::GuestAttributes]
#
# @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 get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options)
command.response_representation = Google::Apis::ComputeV1::GuestAttributes::Representation
command.response_class = Google::Apis::ComputeV1::GuestAttributes
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['queryPath'] = query_path unless query_path.nil?
command.query['variableKey'] = variable_key unless variable_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource. May be empty if no such policy # Gets the access control policy for a resource. May be empty if no such policy
# or resource exists. # or resource exists.
# @param [String] project # @param [String] project
@ -12517,8 +12671,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Disable a serivce resource (a.k.a service project) associated with this host # Disable a service resource (also known as service project) associated with
# project. # this host project.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [Google::Apis::ComputeV1::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object # @param [Google::Apis::ComputeV1::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object
@ -14171,6 +14325,61 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Adds existing resource policies to a regional disk. You can only add one
# policy which will be applied to this disk for scheduling snapshot creation.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] disk
# The disk name for this request.
# @param [Google::Apis::ComputeV1::RegionDisksAddResourcePoliciesRequest] region_disks_add_resource_policies_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::Operation]
#
# @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 add_region_disk_resource_policies(project, region, disk, region_disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/addResourcePolicies', options)
command.request_representation = Google::Apis::ComputeV1::RegionDisksAddResourcePoliciesRequest::Representation
command.request_object = region_disks_add_resource_policies_request_object
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['disk'] = disk unless disk.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a snapshot of this regional disk. # Creates a snapshot of this regional disk.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -14447,6 +14656,60 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Removes resource policies from a regional disk.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] disk
# The disk name for this request.
# @param [Google::Apis::ComputeV1::RegionDisksRemoveResourcePoliciesRequest] region_disks_remove_resource_policies_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::Operation]
#
# @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 remove_region_disk_resource_policies(project, region, disk, region_disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/removeResourcePolicies', options)
command.request_representation = Google::Apis::ComputeV1::RegionDisksRemoveResourcePoliciesRequest::Representation
command.request_object = region_disks_remove_resource_policies_request_object
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['disk'] = disk unless disk.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Resizes the specified regional persistent disk. # Resizes the specified regional persistent disk.
# @param [String] project # @param [String] project
# The project ID for this request. # The project ID for this request.
@ -15830,6 +16093,335 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Retrieves an aggregated list of resource policies.
# @param [String] project
# Project ID for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::ResourcePolicyAggregatedList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::ResourcePolicyAggregatedList]
#
# @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 aggregated_resource_policy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/aggregated/resourcePolicies', options)
command.response_representation = Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Representation
command.response_class = Google::Apis::ComputeV1::ResourcePolicyAggregatedList
command.params['project'] = project unless project.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified resource policy.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] resource_policy
# Name of the resource policy to delete.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::Operation]
#
# @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 delete_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves all information of the specified resource policy.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] resource_policy
# Name of the resource policy to retrieve.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::ResourcePolicy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::ResourcePolicy]
#
# @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 get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
command.response_representation = Google::Apis::ComputeV1::ResourcePolicy::Representation
command.response_class = Google::Apis::ComputeV1::ResourcePolicy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a new resource policy.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [Google::Apis::ComputeV1::ResourcePolicy] resource_policy_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::Operation]
#
# @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 insert_resource_policy(project, region, resource_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies', options)
command.request_representation = Google::Apis::ComputeV1::ResourcePolicy::Representation
command.request_object = resource_policy_object
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# A list all the resource policies that have been configured for the specified
# project in specified region.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either =, !=, >, or <.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named example-instance by specifying name != example-instance.
# You can also filter nested fields. For example, you could specify scheduling.
# automaticRestart = false to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
# Intel Skylake"). By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
# automaticRestart = true).
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::ResourcePolicyList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::ResourcePolicyList]
#
# @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_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options)
command.response_representation = Google::Apis::ComputeV1::ResourcePolicyList::Representation
command.response_class = Google::Apis::ComputeV1::ResourcePolicyList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
#
# @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 test_resource_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an aggregated list of routers. # Retrieves an aggregated list of routers.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.

View File

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

View File

@ -120,6 +120,25 @@ module Google
end end
end end
# Parameters for using BigQuery as the destination of resource usage export.
class BigQueryDestination
include Google::Apis::Core::Hashable
# The ID of a BigQuery Dataset.
# Corresponds to the JSON property `datasetId`
# @return [String]
attr_accessor :dataset_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
end
end
# CancelOperationRequest cancels a single operation. # CancelOperationRequest cancels a single operation.
class CancelOperationRequest class CancelOperationRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -366,6 +385,8 @@ module Google
# The logging service the cluster should use to write logs. # The logging service the cluster should use to write logs.
# Currently available options: # Currently available options:
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
# service with Kubernetes-native resource model in Stackdriver
# * `logging.googleapis.com` - the Google Cloud Logging service. # * `logging.googleapis.com` - the Google Cloud Logging service.
# * `none` - no logs will be exported from the cluster. # * `none` - no logs will be exported from the cluster.
# * if left as an empty string,`logging.googleapis.com` will be used. # * if left as an empty string,`logging.googleapis.com` will be used.
@ -461,6 +482,11 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :resource_labels attr_accessor :resource_labels
# Configuration for exporting cluster resource usages.
# Corresponds to the JSON property `resourceUsageExportConfig`
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
attr_accessor :resource_usage_export_config
# [Output only] Server-defined URL for the resource. # [Output only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
@ -549,6 +575,7 @@ module Google
@node_pools = args[:node_pools] if args.key?(:node_pools) @node_pools = args[:node_pools] if args.key?(:node_pools)
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config) @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
@resource_labels = args[:resource_labels] if args.key?(:resource_labels) @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr) @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@ -587,6 +614,16 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :desired_locations attr_accessor :desired_locations
# The logging service the cluster should use to write logs.
# Currently available options:
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
# service with Kubernetes-native resource model in Stackdriver
# * "logging.googleapis.com" - the Google Cloud Logging service
# * "none" - no logs will be exported from the cluster
# Corresponds to the JSON property `desiredLoggingService`
# @return [String]
attr_accessor :desired_logging_service
# Configuration options for the master authorized networks feature. Enabled # Configuration options for the master authorized networks feature. Enabled
# master authorized networks will disallow all external traffic to access # master authorized networks will disallow all external traffic to access
# Kubernetes master through HTTPS except traffic from the given CIDR blocks, # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@ -609,6 +646,8 @@ module Google
# The monitoring service the cluster should use to write metrics. # The monitoring service the cluster should use to write metrics.
# Currently available options: # Currently available options:
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
# service with Kubernetes-native resource model in Stackdriver
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
# * "none" - no metrics will be exported from the cluster # * "none" - no metrics will be exported from the cluster
# Corresponds to the JSON property `desiredMonitoringService` # Corresponds to the JSON property `desiredMonitoringService`
@ -642,6 +681,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :desired_node_version attr_accessor :desired_node_version
# Configuration for exporting cluster resource usages.
# Corresponds to the JSON property `desiredResourceUsageExportConfig`
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
attr_accessor :desired_resource_usage_export_config
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -651,12 +695,14 @@ module Google
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config) @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type) @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
@desired_locations = args[:desired_locations] if args.key?(:desired_locations) @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config) @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
@desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version) @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling) @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id) @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
end end
end end
@ -704,6 +750,28 @@ module Google
end end
end end
# Parameters for controlling consumption metering.
class ConsumptionMeteringConfig
include Google::Apis::Core::Hashable
# Whether to enable consumption metering for this cluster. If enabled, a
# second BigQuery table will be created to hold resource consumption
# records.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
# CreateClusterRequest creates a cluster. # CreateClusterRequest creates a cluster.
class CreateClusterRequest class CreateClusterRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1634,6 +1702,7 @@ module Google
# "k8s-node-setup-psm1" # "k8s-node-setup-psm1"
# "install-ssh-psm1" # "install-ssh-psm1"
# "user-profile-psm1" # "user-profile-psm1"
# "serial-port-logging-enable"
# Values are free-form strings, and only have meaning as interpreted by # Values are free-form strings, and only have meaning as interpreted by
# the image running in the instance. The only restriction placed on them is # the image running in the instance. The only restriction placed on them is
# that each value's size must be less than or equal to 32 KB. # that each value's size must be less than or equal to 32 KB.
@ -2084,6 +2153,39 @@ module Google
end end
end end
# Configuration for exporting cluster resource usages.
class ResourceUsageExportConfig
include Google::Apis::Core::Hashable
# Parameters for using BigQuery as the destination of resource usage export.
# Corresponds to the JSON property `bigqueryDestination`
# @return [Google::Apis::ContainerV1::BigQueryDestination]
attr_accessor :bigquery_destination
# Parameters for controlling consumption metering.
# Corresponds to the JSON property `consumptionMeteringConfig`
# @return [Google::Apis::ContainerV1::ConsumptionMeteringConfig]
attr_accessor :consumption_metering_config
# Whether to enable network egress metering for this cluster. If enabled, a
# daemonset will be created in the cluster to meter network egress traffic.
# Corresponds to the JSON property `enableNetworkEgressMetering`
# @return [Boolean]
attr_accessor :enable_network_egress_metering
alias_method :enable_network_egress_metering?, :enable_network_egress_metering
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
@consumption_metering_config = args[:consumption_metering_config] if args.key?(:consumption_metering_config)
@enable_network_egress_metering = args[:enable_network_egress_metering] if args.key?(:enable_network_egress_metering)
end
end
# RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
# NodePool upgrade. This will be an no-op if the last upgrade successfully # NodePool upgrade. This will be an no-op if the last upgrade successfully
# completed. # completed.
@ -2573,6 +2675,8 @@ module Google
# The monitoring service the cluster should use to write metrics. # The monitoring service the cluster should use to write metrics.
# Currently available options: # Currently available options:
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
# service with Kubernetes-native resource model in Stackdriver
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
# * "none" - no metrics will be exported from the cluster # * "none" - no metrics will be exported from the cluster
# Corresponds to the JSON property `monitoringService` # Corresponds to the JSON property `monitoringService`

View File

@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class BigQueryDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -76,6 +82,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ConsumptionMeteringConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateClusterRequest class CreateClusterRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -262,6 +274,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ResourceUsageExportConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RollbackNodePoolUpgradeRequest class RollbackNodePoolUpgradeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -418,6 +436,13 @@ module Google
end end
end end
class BigQueryDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dataset_id, as: 'datasetId'
end
end
class CancelOperationRequest class CancelOperationRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -494,6 +519,8 @@ module Google
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
hash :resource_labels, as: 'resourceLabels' hash :resource_labels, as: 'resourceLabels'
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :services_ipv4_cidr, as: 'servicesIpv4Cidr' property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
property :status, as: 'status' property :status, as: 'status'
@ -511,6 +538,7 @@ module Google
property :desired_image_type, as: 'desiredImageType' property :desired_image_type, as: 'desiredImageType'
collection :desired_locations, as: 'desiredLocations' collection :desired_locations, as: 'desiredLocations'
property :desired_logging_service, as: 'desiredLoggingService'
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
property :desired_master_version, as: 'desiredMasterVersion' property :desired_master_version, as: 'desiredMasterVersion'
@ -519,6 +547,8 @@ module Google
property :desired_node_pool_id, as: 'desiredNodePoolId' property :desired_node_pool_id, as: 'desiredNodePoolId'
property :desired_node_version, as: 'desiredNodeVersion' property :desired_node_version, as: 'desiredNodeVersion'
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
end end
end end
@ -532,6 +562,13 @@ module Google
end end
end end
class ConsumptionMeteringConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class CreateClusterRequest class CreateClusterRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -860,6 +897,17 @@ module Google
end end
end end
class ResourceUsageExportConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::ContainerV1::BigQueryDestination, decorator: Google::Apis::ContainerV1::BigQueryDestination::Representation
property :consumption_metering_config, as: 'consumptionMeteringConfig', class: Google::Apis::ContainerV1::ConsumptionMeteringConfig, decorator: Google::Apis::ContainerV1::ConsumptionMeteringConfig::Representation
property :enable_network_egress_metering, as: 'enableNetworkEgressMetering'
end
end
class RollbackNodePoolUpgradeRequest class RollbackNodePoolUpgradeRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1beta1 module ContainerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190527' REVISION = '20190610'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -675,6 +675,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :subnetwork attr_accessor :subnetwork
# Cluster tier settings.
# Corresponds to the JSON property `tierSettings`
# @return [Google::Apis::ContainerV1beta1::TierSettings]
attr_accessor :tier_settings
# [Output only] The IP address range of the Cloud TPUs in this cluster, in # [Output only] The IP address range of the Cloud TPUs in this cluster, in
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
# notation (e.g. `1.2.3.4/29`). # notation (e.g. `1.2.3.4/29`).
@ -757,6 +762,7 @@ module Google
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@status_message = args[:status_message] if args.key?(:status_message) @status_message = args[:status_message] if args.key?(:status_message)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork) @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@tier_settings = args[:tier_settings] if args.key?(:tier_settings)
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block) @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
@vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling) @vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config) @workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
@ -1884,8 +1890,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :client_key attr_accessor :client_key
# [Output only] Base64-encoded public certificate that is the root of #
# trust for the cluster.
# Corresponds to the JSON property `clusterCaCertificate` # Corresponds to the JSON property `clusterCaCertificate`
# @return [String] # @return [String]
attr_accessor :cluster_ca_certificate attr_accessor :cluster_ca_certificate
@ -2177,6 +2182,7 @@ module Google
# "k8s-node-setup-psm1" # "k8s-node-setup-psm1"
# "install-ssh-psm1" # "install-ssh-psm1"
# "user-profile-psm1" # "user-profile-psm1"
# "serial-port-logging-enable"
# Values are free-form strings, and only have meaning as interpreted by # Values are free-form strings, and only have meaning as interpreted by
# the image running in the instance. The only restriction placed on them is # the image running in the instance. The only restriction placed on them is
# that each value's size must be less than or equal to 32 KB. # that each value's size must be less than or equal to 32 KB.
@ -2231,6 +2237,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :service_account attr_accessor :service_account
# A set of Shielded Instance options.
# Corresponds to the JSON property `shieldedInstanceConfig`
# @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
attr_accessor :shielded_instance_config
# The list of instance tags applied to all nodes. Tags are used to identify # The list of instance tags applied to all nodes. Tags are used to identify
# valid sources or targets for network firewalls and are specified by # valid sources or targets for network firewalls and are specified by
# the client during cluster or node pool creation. Each tag within the list # the client during cluster or node pool creation. Each tag within the list
@ -2271,6 +2282,7 @@ module Google
@preemptible = args[:preemptible] if args.key?(:preemptible) @preemptible = args[:preemptible] if args.key?(:preemptible)
@sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config) @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
@service_account = args[:service_account] if args.key?(:service_account) @service_account = args[:service_account] if args.key?(:service_account)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@tags = args[:tags] if args.key?(:tags) @tags = args[:tags] if args.key?(:tags)
@taints = args[:taints] if args.key?(:taints) @taints = args[:taints] if args.key?(:taints)
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config) @workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
@ -3570,6 +3582,40 @@ module Google
end end
end end
# A set of Shielded Instance options.
class ShieldedInstanceConfig
include Google::Apis::Core::Hashable
# Defines whether the instance has integrity monitoring enabled.
# Enables monitoring and attestation of the boot integrity of the instance.
# The attestation is performed against the integrity policy baseline. This
# baseline is initially derived from the implicitly trusted boot image when
# the instance is created.
# Corresponds to the JSON property `enableIntegrityMonitoring`
# @return [Boolean]
attr_accessor :enable_integrity_monitoring
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
# Defines whether the instance has Secure Boot enabled.
# Secure Boot helps ensure that the system only runs authentic software by
# verifying the digital signature of all boot components, and halting the
# boot process if signature verification fails.
# Corresponds to the JSON property `enableSecureBoot`
# @return [Boolean]
attr_accessor :enable_secure_boot
alias_method :enable_secure_boot?, :enable_secure_boot
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
@enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot)
end
end
# StartIPRotationRequest creates a new IP for the cluster and then performs # StartIPRotationRequest creates a new IP for the cluster and then performs
# a node upgrade on each node pool to point to the new IP. # a node upgrade on each node pool to point to the new IP.
class StartIpRotationRequest class StartIpRotationRequest
@ -3648,6 +3694,25 @@ module Google
end end
end end
# Cluster tier settings.
class TierSettings
include Google::Apis::Core::Hashable
# Cluster tier.
# Corresponds to the JSON property `tier`
# @return [String]
attr_accessor :tier
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tier = args[:tier] if args.key?(:tier)
end
end
# UpdateClusterRequest updates the settings of a cluster. # UpdateClusterRequest updates the settings of a cluster.
class UpdateClusterRequest class UpdateClusterRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -454,6 +454,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ShieldedInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StartIpRotationRequest class StartIpRotationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -466,6 +472,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class TierSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateClusterRequest class UpdateClusterRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -680,6 +692,8 @@ module Google
property :status, as: 'status' property :status, as: 'status'
property :status_message, as: 'statusMessage' property :status_message, as: 'statusMessage'
property :subnetwork, as: 'subnetwork' property :subnetwork, as: 'subnetwork'
property :tier_settings, as: 'tierSettings', class: Google::Apis::ContainerV1beta1::TierSettings, decorator: Google::Apis::ContainerV1beta1::TierSettings::Representation
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock' property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
@ -1048,6 +1062,8 @@ module Google
property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation
property :service_account, as: 'serviceAccount' property :service_account, as: 'serviceAccount'
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig::Representation
collection :tags, as: 'tags' collection :tags, as: 'tags'
collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
@ -1356,6 +1372,14 @@ module Google
end end
end end
class ShieldedInstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
property :enable_secure_boot, as: 'enableSecureBoot'
end
end
class StartIpRotationRequest class StartIpRotationRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1375,6 +1399,13 @@ module Google
end end
end end
class TierSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :tier, as: 'tier'
end
end
class UpdateClusterRequest class UpdateClusterRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2 module ContentV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190531' REVISION = '20190607'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -5147,9 +5147,13 @@ module Google
# - "lasership" # - "lasership"
# - "mpx" # - "mpx"
# - "uds" # - "uds"
# - "efw"
# Acceptable values for FR are: # Acceptable values for FR are:
# - "colissimo" # - "colissimo"
# - "chronopost" # - "chronopost"
# - "gls"
# - "dpd"
# - "bpost"
# Corresponds to the JSON property `carrier` # Corresponds to the JSON property `carrier`
# @return [String] # @return [String]
attr_accessor :carrier attr_accessor :carrier

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2_1 module ContentV2_1
VERSION = 'V2_1' VERSION = 'V2_1'
REVISION = '20190531' REVISION = '20190607'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -3724,6 +3724,11 @@ module Google
class OrderLineItem class OrderLineItem
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Price and tax adjustments applied on the line item.
# Corresponds to the JSON property `adjustments`
# @return [Array<Google::Apis::ContentV2_1::OrderLineItemAdjustment>]
attr_accessor :adjustments
# Annotations that are attached to the line item. # Annotations that are attached to the line item.
# Corresponds to the JSON property `annotations` # Corresponds to the JSON property `annotations`
# @return [Array<Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation>] # @return [Array<Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation>]
@ -3809,6 +3814,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@adjustments = args[:adjustments] if args.key?(:adjustments)
@annotations = args[:annotations] if args.key?(:annotations) @annotations = args[:annotations] if args.key?(:annotations)
@cancellations = args[:cancellations] if args.key?(:cancellations) @cancellations = args[:cancellations] if args.key?(:cancellations)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@ -3827,6 +3833,37 @@ module Google
end end
end end
#
class OrderLineItemAdjustment
include Google::Apis::Core::Hashable
# Adjustment for total price of the line item.
# Corresponds to the JSON property `priceAdjustment`
# @return [Google::Apis::ContentV2_1::Price]
attr_accessor :price_adjustment
# Adjustment for total tax of the line item.
# Corresponds to the JSON property `taxAdjustment`
# @return [Google::Apis::ContentV2_1::Price]
attr_accessor :tax_adjustment
# Type of this adjustment.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@price_adjustment = args[:price_adjustment] if args.key?(:price_adjustment)
@tax_adjustment = args[:tax_adjustment] if args.key?(:tax_adjustment)
@type = args[:type] if args.key?(:type)
end
end
# #
class OrderLineItemProduct class OrderLineItemProduct
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4434,9 +4471,13 @@ module Google
# - "lasership" # - "lasership"
# - "mpx" # - "mpx"
# - "uds" # - "uds"
# - "efw"
# Acceptable values for FR are: # Acceptable values for FR are:
# - "colissimo" # - "colissimo"
# - "chronopost" # - "chronopost"
# - "gls"
# - "dpd"
# - "bpost"
# Corresponds to the JSON property `carrier` # Corresponds to the JSON property `carrier`
# @return [String] # @return [String]
attr_accessor :carrier attr_accessor :carrier

View File

@ -616,6 +616,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class OrderLineItemAdjustment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderLineItemProduct class OrderLineItemProduct
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2447,6 +2453,8 @@ module Google
class OrderLineItem class OrderLineItem
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :adjustments, as: 'adjustments', class: Google::Apis::ContentV2_1::OrderLineItemAdjustment, decorator: Google::Apis::ContentV2_1::OrderLineItemAdjustment::Representation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation::Representation collection :annotations, as: 'annotations', class: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation::Representation
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2_1::OrderCancellation, decorator: Google::Apis::ContentV2_1::OrderCancellation::Representation collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2_1::OrderCancellation, decorator: Google::Apis::ContentV2_1::OrderCancellation::Representation
@ -2473,6 +2481,17 @@ module Google
end end
end end
class OrderLineItemAdjustment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :price_adjustment, as: 'priceAdjustment', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :tax_adjustment, as: 'taxAdjustment', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :type, as: 'type'
end
end
class OrderLineItemProduct class OrderLineItemProduct
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/ # @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2 module DialogflowV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190601' REVISION = '20190610'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,6 +26,14 @@ module Google
class GoogleCloudDialogflowV2Agent class GoogleCloudDialogflowV2Agent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. API version displayed in Dialogflow console. If not specified,
# V2 API is assumed. Clients are free to query different service endpoints
# for different API versions. However, bots connectors and webhook calls will
# follow the specified API version.
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# Optional. The URI of the agent's avatar. # Optional. The URI of the agent's avatar.
# Avatars are used throughout the Dialogflow console and in the self-hosted # Avatars are used throughout the Dialogflow console and in the self-hosted
# [Web # [Web
@ -91,6 +99,11 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :supported_language_codes attr_accessor :supported_language_codes
# Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
# Corresponds to the JSON property `tier`
# @return [String]
attr_accessor :tier
# Required. The time zone of this agent from the # Required. The time zone of this agent from the
# [time zone database](https://www.iana.org/time-zones), e.g., # [time zone database](https://www.iana.org/time-zones), e.g.,
# America/New_York, Europe/Paris. # America/New_York, Europe/Paris.
@ -104,6 +117,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri) @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
@classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold) @classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold)
@default_language_code = args[:default_language_code] if args.key?(:default_language_code) @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
@ -113,6 +127,7 @@ module Google
@match_mode = args[:match_mode] if args.key?(:match_mode) @match_mode = args[:match_mode] if args.key?(:match_mode)
@parent = args[:parent] if args.key?(:parent) @parent = args[:parent] if args.key?(:parent)
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes) @supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
@tier = args[:tier] if args.key?(:tier)
@time_zone = args[:time_zone] if args.key?(:time_zone) @time_zone = args[:time_zone] if args.key?(:time_zone)
end end
end end

View File

@ -709,6 +709,7 @@ module Google
class GoogleCloudDialogflowV2Agent class GoogleCloudDialogflowV2Agent
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :avatar_uri, as: 'avatarUri' property :avatar_uri, as: 'avatarUri'
property :classification_threshold, as: 'classificationThreshold' property :classification_threshold, as: 'classificationThreshold'
property :default_language_code, as: 'defaultLanguageCode' property :default_language_code, as: 'defaultLanguageCode'
@ -718,6 +719,7 @@ module Google
property :match_mode, as: 'matchMode' property :match_mode, as: 'matchMode'
property :parent, as: 'parent' property :parent, as: 'parent'
collection :supported_language_codes, as: 'supportedLanguageCodes' collection :supported_language_codes, as: 'supportedLanguageCodes'
property :tier, as: 'tier'
property :time_zone, as: 'timeZone' property :time_zone, as: 'timeZone'
end end
end end

View File

@ -48,6 +48,74 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Creates/updates the specified agent.
# @param [String] parent
# Required. The project of this agent.
# Format: `projects/<Project ID>`.
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
# @param [String] update_mask
# Optional. The mask to control which fields get updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent]
#
# @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 agent_project(parent, google_cloud_dialogflow_v2_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/agent', options)
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
command.request_object = google_cloud_dialogflow_v2_agent_object
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
command.params['parent'] = parent unless parent.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified agent.
# @param [String] parent
# Required. The project that the agent to delete is associated with.
# Format: `projects/<Project ID>`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
#
# @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 delete_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+parent}/agent', options)
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the specified agent. # Retrieves the specified agent.
# @param [String] parent # @param [String] parent
# Required. The project that the agent to fetch is associated with. # Required. The project that the agent to fetch is associated with.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/ # @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1 module DialogflowV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20190601' REVISION = '20190610'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1560,6 +1560,14 @@ module Google
class GoogleCloudDialogflowV2beta1Agent class GoogleCloudDialogflowV2beta1Agent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. API version displayed in Dialogflow console. If not specified,
# V2 API is assumed. Clients are free to query different service endpoints
# for different API versions. However, bots connectors and webhook calls will
# follow the specified API version.
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# Optional. The URI of the agent's avatar. # Optional. The URI of the agent's avatar.
# Avatars are used throughout the Dialogflow console and in the self-hosted # Avatars are used throughout the Dialogflow console and in the self-hosted
# [Web # [Web
@ -1625,6 +1633,11 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :supported_language_codes attr_accessor :supported_language_codes
# Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
# Corresponds to the JSON property `tier`
# @return [String]
attr_accessor :tier
# Required. The time zone of this agent from the # Required. The time zone of this agent from the
# [time zone database](https://www.iana.org/time-zones), e.g., # [time zone database](https://www.iana.org/time-zones), e.g.,
# America/New_York, Europe/Paris. # America/New_York, Europe/Paris.
@ -1638,6 +1651,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri) @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
@classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold) @classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold)
@default_language_code = args[:default_language_code] if args.key?(:default_language_code) @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
@ -1647,6 +1661,7 @@ module Google
@match_mode = args[:match_mode] if args.key?(:match_mode) @match_mode = args[:match_mode] if args.key?(:match_mode)
@parent = args[:parent] if args.key?(:parent) @parent = args[:parent] if args.key?(:parent)
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes) @supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
@tier = args[:tier] if args.key?(:tier)
@time_zone = args[:time_zone] if args.key?(:time_zone) @time_zone = args[:time_zone] if args.key?(:time_zone)
end end
end end

View File

@ -1138,6 +1138,7 @@ module Google
class GoogleCloudDialogflowV2beta1Agent class GoogleCloudDialogflowV2beta1Agent
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :avatar_uri, as: 'avatarUri' property :avatar_uri, as: 'avatarUri'
property :classification_threshold, as: 'classificationThreshold' property :classification_threshold, as: 'classificationThreshold'
property :default_language_code, as: 'defaultLanguageCode' property :default_language_code, as: 'defaultLanguageCode'
@ -1147,6 +1148,7 @@ module Google
property :match_mode, as: 'matchMode' property :match_mode, as: 'matchMode'
property :parent, as: 'parent' property :parent, as: 'parent'
collection :supported_language_codes, as: 'supportedLanguageCodes' collection :supported_language_codes, as: 'supportedLanguageCodes'
property :tier, as: 'tier'
property :time_zone, as: 'timeZone' property :time_zone, as: 'timeZone'
end end
end end

View File

@ -48,6 +48,74 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Creates/updates the specified agent.
# @param [String] parent
# Required. The project of this agent.
# Format: `projects/<Project ID>`.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
# @param [String] update_mask
# Optional. The mask to control which fields get updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent]
#
# @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 agent_project(parent, google_cloud_dialogflow_v2beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+parent}/agent', options)
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
command.request_object = google_cloud_dialogflow_v2beta1_agent_object
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
command.params['parent'] = parent unless parent.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified agent.
# @param [String] parent
# Required. The project that the agent to delete is associated with.
# Format: `projects/<Project ID>`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
#
# @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 delete_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+parent}/agent', options)
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the specified agent. # Retrieves the specified agent.
# @param [String] parent # @param [String] parent
# Required. The project that the agent to fetch is associated with. # Required. The project that the agent to fetch is associated with.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare # @see https://cloud.google.com/healthcare
module HealthcareV1alpha2 module HealthcareV1alpha2
VERSION = 'V1alpha2' VERSION = 'V1alpha2'
REVISION = '20190530' REVISION = '20190607'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1303,9 +1303,9 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForInstancesRequest DICOMweb request (e.g.,
# QIDO-RS standard (e.g., # `instances` or `series/`series_uid`/instances` or
# `instances`). # `studies/`study_uid`/instances`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1341,9 +1341,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForSeries DICOMweb request(e.g., `series` or
# QIDO-RS standard (e.g., # `studies/`study_uid`/series`).
# `series`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1379,9 +1378,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForStudies DICOMweb request (e.g., `studies`).
# QIDO-RS standard (e.g.,
# `studies`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1418,8 +1415,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the StoreInstances DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id``). # `studies/[`study_id`]`). Note that the `study_uid` is optional.
# @param [Google::Apis::HealthcareV1alpha2::HttpBody] http_body_object # @param [Google::Apis::HealthcareV1alpha2::HttpBody] http_body_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1458,8 +1455,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the DeleteStudy request (e.g., `studies/`study_id``).
# QIDO-RS standard (e.g., `studies/`study_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1496,8 +1492,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveStudyMetadata DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/metadata`. # `studies/`study_id`/metadata`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1533,8 +1529,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveStudy DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id``). # `studies/`study_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1570,9 +1566,9 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForInstancesRequest DICOMweb request (e.g.,
# QIDO-RS standard (e.g., # `instances` or `series/`series_uid`/instances` or
# `instances`). # `studies/`study_uid`/instances`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1608,9 +1604,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForSeries DICOMweb request(e.g., `series` or
# QIDO-RS standard (e.g., # `studies/`study_uid`/series`).
# `series`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1647,8 +1642,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the StoreInstances DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id``). # `studies/[`study_id`]`). Note that the `study_uid` is optional.
# @param [Google::Apis::HealthcareV1alpha2::HttpBody] http_body_object # @param [Google::Apis::HealthcareV1alpha2::HttpBody] http_body_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1688,8 +1683,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the DeleteSeries request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/series/`series_id``). # `studies/`study_id`/series/`series_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1726,8 +1721,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveSeriesMetadata DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/series/`series_id`/metadata`. # `studies/`study_id`/series/`series_id`/metadata`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1763,8 +1758,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveSeries DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/series/`series_id``). # `studies/`study_id`/series/`series_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1800,9 +1795,9 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForInstancesRequest DICOMweb request (e.g.,
# QIDO-RS standard (e.g., # `instances` or `series/`series_uid`/instances` or
# `instances`). # `studies/`study_uid`/instances`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1839,8 +1834,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the DeleteInstance request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id``). # `studies/`study_id`/series/`series_id`/instances/`instance_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1879,8 +1873,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveInstanceMetadata DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/metadata`). # `studies/`study_id`/series/`series_id`/instances/`instance_id`/metadata`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1918,8 +1911,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveRenderedInstance DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/rendered`). # `studies/`study_id`/series/`series_id`/instances/`instance_id`/rendered`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1957,8 +1949,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveInstance DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id``). # `studies/`study_id`/series/`series_id`/instances/`instance_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1997,8 +1988,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveRenderedFrames DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/` # `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/`
# frame_list`/rendered`). # frame_list`/rendered`).
# @param [String] fields # @param [String] fields
@ -2037,8 +2027,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveFrames DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/` # `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/`
# frame_list``). # frame_list``).
# @param [String] fields # @param [String] fields
@ -3153,27 +3142,14 @@ module Google
# `OperationOutcome` resource describing the reason for the error. If the # `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic # request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead. # GCP error might be returned instead.
# # Search Parameters
# The server's capability statement, retrieved through # The server's capability statement, retrieved through
# capabilities, indicates what search parameters # capabilities, indicates what search parameters
# are supported on each FHIR resource. A list of all search parameters # are supported on each FHIR resource. A list of all search parameters
# defined by the specification can be found in the [FHIR Search Parameter # defined by the specification can be found in the [FHIR Search Parameter
# Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter- # Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
# registry.html). # registry.html).
# # Search Modifiers # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
# Modifier | Supported # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
# ----------- | ---------
# `:missing` | Yes
# `:exact` | Yes
# `:contains` | Yes
# `:text` | Yes
# `:in` | Yes
# `:not-in` | Yes
# `:above` | Yes
# `:below` | Yes
# `:[type]` | Yes
# `:not` | Yes
# `:recurse` | No
# @param [String] parent # @param [String] parent
# Name of the FHIR store to retrieve resources from. # Name of the FHIR store to retrieve resources from.
# @param [Google::Apis::HealthcareV1alpha2::SearchResourcesRequest] search_resources_request_object # @param [Google::Apis::HealthcareV1alpha2::SearchResourcesRequest] search_resources_request_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare # @see https://cloud.google.com/healthcare
module HealthcareV1beta1 module HealthcareV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190530' REVISION = '20190607'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -750,9 +750,9 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForInstancesRequest DICOMweb request (e.g.,
# QIDO-RS standard (e.g., # `instances` or `series/`series_uid`/instances` or
# `instances`). # `studies/`study_uid`/instances`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -788,9 +788,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForSeries DICOMweb request(e.g., `series` or
# QIDO-RS standard (e.g., # `studies/`study_uid`/series`).
# `series`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -826,9 +825,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForStudies DICOMweb request (e.g., `studies`).
# QIDO-RS standard (e.g.,
# `studies`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -900,8 +897,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the StoreInstances DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id``). # `studies/[`study_id`]`). Note that the `study_uid` is optional.
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -979,8 +976,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the DeleteStudy request (e.g., `studies/`study_id``).
# QIDO-RS standard (e.g., `studies/`study_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1017,8 +1013,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveStudyMetadata DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/metadata`. # `studies/`study_id`/metadata`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1054,8 +1050,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveStudy DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id``). # `studies/`study_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1091,9 +1087,9 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForInstancesRequest DICOMweb request (e.g.,
# QIDO-RS standard (e.g., # `instances` or `series/`series_uid`/instances` or
# `instances`). # `studies/`study_uid`/instances`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1129,9 +1125,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForSeries DICOMweb request(e.g., `series` or
# QIDO-RS standard (e.g., # `studies/`study_uid`/series`).
# `series`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1168,8 +1163,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the StoreInstances DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id``). # `studies/[`study_id`]`). Note that the `study_uid` is optional.
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1209,8 +1204,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the DeleteSeries request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/series/`series_id``). # `studies/`study_id`/series/`series_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1247,8 +1242,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveSeriesMetadata DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/series/`series_id`/metadata`. # `studies/`study_id`/series/`series_id`/metadata`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1284,8 +1279,8 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveSeries DICOMweb request (e.g.,
# QIDO-RS standard (e.g., `studies/`study_id`/series/`series_id``). # `studies/`study_id`/series/`series_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1321,9 +1316,9 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the SearchForInstancesRequest DICOMweb request (e.g.,
# QIDO-RS standard (e.g., # `instances` or `series/`series_uid`/instances` or
# `instances`). # `studies/`study_uid`/instances`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1360,8 +1355,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the DeleteInstance request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id``). # `studies/`study_id`/series/`series_id`/instances/`instance_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1399,8 +1393,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveInstance DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id``). # `studies/`study_id`/series/`series_id`/instances/`instance_id``).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1439,8 +1432,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveInstanceMetadata DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/metadata`). # `studies/`study_id`/series/`series_id`/instances/`instance_id`/metadata`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1478,8 +1470,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveRenderedInstance DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/rendered`). # `studies/`study_id`/series/`series_id`/instances/`instance_id`/rendered`).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1517,8 +1508,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveFrames DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/` # `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/`
# frame_list``). # frame_list``).
# @param [String] fields # @param [String] fields
@ -1558,8 +1548,7 @@ module Google
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
# dicomStores/`dicom_store_id``). # dicomStores/`dicom_store_id``).
# @param [String] dicom_web_path # @param [String] dicom_web_path
# The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or # The path of the RetrieveRenderedFrames DICOMweb request (e.g.,
# QIDO-RS standard (e.g.,
# `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/` # `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/`
# frame_list`/rendered`). # frame_list`/rendered`).
# @param [String] fields # @param [String] fields
@ -2631,27 +2620,14 @@ module Google
# `OperationOutcome` resource describing the reason for the error. If the # `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic # request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead. # GCP error might be returned instead.
# # Search Parameters
# The server's capability statement, retrieved through # The server's capability statement, retrieved through
# capabilities, indicates what search parameters # capabilities, indicates what search parameters
# are supported on each FHIR resource. A list of all search parameters # are supported on each FHIR resource. A list of all search parameters
# defined by the specification can be found in the [FHIR Search Parameter # defined by the specification can be found in the [FHIR Search Parameter
# Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter- # Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
# registry.html). # registry.html).
# # Search Modifiers # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
# Modifier | Supported # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
# ----------- | ---------
# `:missing` | Yes
# `:exact` | Yes
# `:contains` | Yes
# `:text` | Yes
# `:in` | Yes
# `:not-in` | Yes
# `:above` | Yes
# `:below` | Yes
# `:[type]` | Yes
# `:not` | Yes
# `:recurse` | No
# @param [String] parent # @param [String] parent
# Name of the FHIR store to retrieve resources from. # Name of the FHIR store to retrieve resources from.
# @param [Google::Apis::HealthcareV1beta1::SearchResourcesRequest] search_resources_request_object # @param [Google::Apis::HealthcareV1beta1::SearchResourcesRequest] search_resources_request_object

View File

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

View File

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

View File

@ -584,6 +584,12 @@ module Google
class GoogleCloudVideointelligenceV1VideoAnnotationProgress class GoogleCloudVideointelligenceV1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -596,6 +602,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -612,8 +623,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -625,43 +638,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -1336,6 +1316,27 @@ module Google
end end
end end
# Config for OBJECT_TRACKING.
class GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
include Google::Apis::Core::Hashable
# Model to use for object tracking.
# Supported values: "builtin/stable" (the default if unset) and
# "builtin/latest".
# Corresponds to the JSON property `model`
# @return [String]
attr_accessor :model
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@model = args[:model] if args.key?(:model)
end
end
# Video frame level annotations for object detection and tracking. This field # Video frame level annotations for object detection and tracking. This field
# stores per frame location, time offset, and confidence. # stores per frame location, time offset, and confidence.
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
@ -1615,6 +1616,13 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :language_hints attr_accessor :language_hints
# Model to use for text detection.
# Supported values: "builtin/stable" (the default if unset) and
# "builtin/latest".
# Corresponds to the JSON property `model`
# @return [String]
attr_accessor :model
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1622,6 +1630,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@language_hints = args[:language_hints] if args.key?(:language_hints) @language_hints = args[:language_hints] if args.key?(:language_hints)
@model = args[:model] if args.key?(:model)
end end
end end
@ -1702,6 +1711,12 @@ module Google
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -1714,6 +1729,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -1730,8 +1750,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -1743,43 +1765,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -1870,6 +1859,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig] # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig]
attr_accessor :label_detection_config attr_accessor :label_detection_config
# Config for OBJECT_TRACKING.
# Corresponds to the JSON property `objectTrackingConfig`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig]
attr_accessor :object_tracking_config
# Video segments to annotate. The segments may overlap and are not required # 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 # to be contiguous or span the whole video. If unspecified, each video is
# treated as a single segment. # treated as a single segment.
@ -1900,6 +1894,7 @@ module Google
def update!(**args) def update!(**args)
@explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
@label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config) @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
@object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
@segments = args[:segments] if args.key?(:segments) @segments = args[:segments] if args.key?(:segments)
@shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config) @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
@speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config) @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@ -2555,6 +2550,12 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -2567,6 +2568,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -2583,8 +2589,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -2596,43 +2604,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -3357,6 +3332,12 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -3369,6 +3350,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -3385,8 +3371,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -3398,43 +3386,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -3639,6 +3594,39 @@ module Google
end end
end end
# A generic detected attribute represented by name in string format.
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
include Google::Apis::Core::Hashable
# Detected attribute confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
# A full list of supported type names will be provided in the document.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Text value of the detection result. For example, the value for "HairColor"
# can be "black", "blonde", etc.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@confidence = args[:confidence] if args.key?(:confidence)
@name = args[:name] if args.key?(:name)
@value = args[:value] if args.key?(:value)
end
end
# Detected entity from video analysis. # Detected entity from video analysis.
class GoogleCloudVideointelligenceV1p3beta1Entity class GoogleCloudVideointelligenceV1p3beta1Entity
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3810,6 +3798,39 @@ module Google
end end
end end
# Annotation corresponding to one detected, tracked and recognized logo class.
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
include Google::Apis::Core::Hashable
# Detected entity from video analysis.
# Corresponds to the JSON property `entity`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Entity]
attr_accessor :entity
# All video segments where the recognized logo appears. There might be
# multiple instances of the same logo class appearing in one VideoSegment.
# Corresponds to the JSON property `segments`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
attr_accessor :segments
# All logo tracks where the recognized logo appears. Each track corresponds
# to one logo instance appearing in consecutive frames.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track>]
attr_accessor :tracks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@entity = args[:entity] if args.key?(:entity)
@segments = args[:segments] if args.key?(:segments)
@tracks = args[:tracks] if args.key?(:tracks)
end
end
# Normalized bounding box. # Normalized bounding box.
# The normalized vertex coordinates are relative to the original image. # The normalized vertex coordinates are relative to the original image.
# Range: [0, 1]. # Range: [0, 1].
@ -4077,43 +4098,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -4270,10 +4258,90 @@ module Google
end end
end end
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
# An object at time_offset with attributes, and located with
# normalized_bounding_box.
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
include Google::Apis::Core::Hashable
# Optional. The attributes of the object in the bounding box.
# Corresponds to the JSON property `attributes`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
attr_accessor :attributes
# Normalized bounding box.
# The normalized vertex coordinates are relative to the original image.
# Range: [0, 1].
# Corresponds to the JSON property `normalizedBoundingBox`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
attr_accessor :normalized_bounding_box
# Time-offset, relative to the beginning of the video,
# corresponding to the video frame for this object.
# Corresponds to the JSON property `timeOffset`
# @return [String]
attr_accessor :time_offset
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes)
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
@time_offset = args[:time_offset] if args.key?(:time_offset)
end
end
# A track of an object instance.
class GoogleCloudVideointelligenceV1p3beta1Track
include Google::Apis::Core::Hashable
# Optional. Attributes in the track level.
# Corresponds to the JSON property `attributes`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
attr_accessor :attributes
# Optional. The confidence score of the tracked object.
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
attr_accessor :segment
# The object with timestamp and attributes per frame in the track.
# Corresponds to the JSON property `timestampedObjects`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TimestampedObject>]
attr_accessor :timestamped_objects
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes)
@confidence = args[:confidence] if args.key?(:confidence)
@segment = args[:segment] if args.key?(:segment)
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
end
end
# Annotation progress for a single video. # Annotation progress for a single video.
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -4286,6 +4354,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -4302,8 +4375,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -4315,43 +4390,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -4375,6 +4417,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :input_uri attr_accessor :input_uri
# Annotations for list of logos detected, tracked and recognized in video.
# Corresponds to the JSON property `logoRecognitionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>]
attr_accessor :logo_recognition_annotations
# Annotations for list of objects detected and tracked in video. # Annotations for list of objects detected and tracked in video.
# Corresponds to the JSON property `objectAnnotations` # Corresponds to the JSON property `objectAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
@ -4419,6 +4466,7 @@ module Google
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@ -4529,43 +4577,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -4580,7 +4595,7 @@ module Google
# The server-assigned name, which is only unique within the same service that # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the # originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`. # `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -4613,43 +4628,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
class GoogleRpcStatus class GoogleRpcStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -244,6 +244,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -610,6 +616,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1Entity class GoogleCloudVideointelligenceV1p3beta1Entity
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -646,6 +658,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -718,6 +736,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1Track
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -926,8 +956,11 @@ module Google
class GoogleCloudVideointelligenceV1VideoAnnotationProgress class GoogleCloudVideointelligenceV1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1120,6 +1153,13 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :model, as: 'model'
end
end
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1191,6 +1231,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :language_hints, as: 'languageHints' collection :language_hints, as: 'languageHints'
property :model, as: 'model'
end end
end end
@ -1217,8 +1258,11 @@ module Google
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1256,6 +1300,8 @@ module Google
property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig::Representation property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig::Representation
property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig::Representation
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig::Representation property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig::Representation
@ -1458,8 +1504,11 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1681,8 +1730,11 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1748,6 +1800,15 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :name, as: 'name'
property :value, as: 'value'
end
end
class GoogleCloudVideointelligenceV1p3beta1Entity class GoogleCloudVideointelligenceV1p3beta1Entity
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1804,6 +1865,18 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Entity::Representation
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1926,11 +1999,38 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation
property :time_offset, as: 'timeOffset'
end
end
class GoogleCloudVideointelligenceV1p3beta1Track
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
property :confidence, as: 'confidence'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
collection :timestamped_objects, as: 'timestampedObjects', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TimestampedObject, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TimestampedObject::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1946,6 +2046,8 @@ module Google
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
collection :logo_recognition_annotations, as: 'logoRecognitionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation::Representation
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/ # @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1p3beta1 module VideointelligenceV1p3beta1
VERSION = 'V1p3beta1' VERSION = 'V1p3beta1'
REVISION = '20190308' REVISION = '20190603'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -584,6 +584,12 @@ module Google
class GoogleCloudVideointelligenceV1VideoAnnotationProgress class GoogleCloudVideointelligenceV1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -596,6 +602,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -612,8 +623,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -625,43 +638,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -1386,6 +1366,12 @@ module Google
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -1398,6 +1384,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -1414,8 +1405,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -1427,43 +1420,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -2188,6 +2148,12 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -2200,6 +2166,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -2216,8 +2187,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -2229,43 +2202,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -2990,6 +2930,12 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -3002,6 +2948,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -3018,8 +2969,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -3031,43 +2984,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -3340,6 +3260,39 @@ module Google
end end
end end
# A generic detected attribute represented by name in string format.
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
include Google::Apis::Core::Hashable
# Detected attribute confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
# A full list of supported type names will be provided in the document.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Text value of the detection result. For example, the value for "HairColor"
# can be "black", "blonde", etc.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@confidence = args[:confidence] if args.key?(:confidence)
@name = args[:name] if args.key?(:name)
@value = args[:value] if args.key?(:value)
end
end
# Detected entity from video analysis. # Detected entity from video analysis.
class GoogleCloudVideointelligenceV1p3beta1Entity class GoogleCloudVideointelligenceV1p3beta1Entity
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3592,6 +3545,39 @@ module Google
end end
end end
# Annotation corresponding to one detected, tracked and recognized logo class.
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
include Google::Apis::Core::Hashable
# Detected entity from video analysis.
# Corresponds to the JSON property `entity`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
attr_accessor :entity
# All video segments where the recognized logo appears. There might be
# multiple instances of the same logo class appearing in one VideoSegment.
# Corresponds to the JSON property `segments`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
attr_accessor :segments
# All logo tracks where the recognized logo appears. Each track corresponds
# to one logo instance appearing in consecutive frames.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
attr_accessor :tracks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@entity = args[:entity] if args.key?(:entity)
@segments = args[:segments] if args.key?(:segments)
@tracks = args[:tracks] if args.key?(:tracks)
end
end
# Normalized bounding box. # Normalized bounding box.
# The normalized vertex coordinates are relative to the original image. # The normalized vertex coordinates are relative to the original image.
# Range: [0, 1]. # Range: [0, 1].
@ -3742,6 +3728,27 @@ module Google
end end
end end
# Config for OBJECT_TRACKING.
class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig
include Google::Apis::Core::Hashable
# Model to use for object tracking.
# Supported values: "builtin/stable" (the default if unset) and
# "builtin/latest".
# Corresponds to the JSON property `model`
# @return [String]
attr_accessor :model
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@model = args[:model] if args.key?(:model)
end
end
# Video frame level annotations for object detection and tracking. This field # Video frame level annotations for object detection and tracking. This field
# stores per frame location, time offset, and confidence. # stores per frame location, time offset, and confidence.
class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame
@ -4004,43 +4011,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -4136,6 +4110,13 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :language_hints attr_accessor :language_hints
# Model to use for text detection.
# Supported values: "builtin/stable" (the default if unset) and
# "builtin/latest".
# Corresponds to the JSON property `model`
# @return [String]
attr_accessor :model
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -4143,6 +4124,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@language_hints = args[:language_hints] if args.key?(:language_hints) @language_hints = args[:language_hints] if args.key?(:language_hints)
@model = args[:model] if args.key?(:model)
end end
end end
@ -4219,10 +4201,90 @@ module Google
end end
end end
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
# An object at time_offset with attributes, and located with
# normalized_bounding_box.
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
include Google::Apis::Core::Hashable
# Optional. The attributes of the object in the bounding box.
# Corresponds to the JSON property `attributes`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
attr_accessor :attributes
# Normalized bounding box.
# The normalized vertex coordinates are relative to the original image.
# Range: [0, 1].
# Corresponds to the JSON property `normalizedBoundingBox`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
attr_accessor :normalized_bounding_box
# Time-offset, relative to the beginning of the video,
# corresponding to the video frame for this object.
# Corresponds to the JSON property `timeOffset`
# @return [String]
attr_accessor :time_offset
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes)
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
@time_offset = args[:time_offset] if args.key?(:time_offset)
end
end
# A track of an object instance.
class GoogleCloudVideointelligenceV1p3beta1Track
include Google::Apis::Core::Hashable
# Optional. Attributes in the track level.
# Corresponds to the JSON property `attributes`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
attr_accessor :attributes
# Optional. The confidence score of the tracked object.
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
attr_accessor :segment
# The object with timestamp and attributes per frame in the track.
# Corresponds to the JSON property `timestampedObjects`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject>]
attr_accessor :timestamped_objects
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes)
@confidence = args[:confidence] if args.key?(:confidence)
@segment = args[:segment] if args.key?(:segment)
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
end
end
# Annotation progress for a single video. # Annotation progress for a single video.
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies which feature is being tracked if the request contains more than
# one features.
# Corresponds to the JSON property `feature`
# @return [String]
attr_accessor :feature
# Video file location in # Video file location in
# [Google Cloud Storage](https://cloud.google.com/storage/). # [Google Cloud Storage](https://cloud.google.com/storage/).
# Corresponds to the JSON property `inputUri` # Corresponds to the JSON property `inputUri`
@ -4235,6 +4297,11 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :progress_percent attr_accessor :progress_percent
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
attr_accessor :segment
# Time when the request was received. # Time when the request was received.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -4251,8 +4318,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@feature = args[:feature] if args.key?(:feature)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@progress_percent = args[:progress_percent] if args.key?(:progress_percent) @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@segment = args[:segment] if args.key?(:segment)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -4264,43 +4333,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -4324,6 +4360,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :input_uri attr_accessor :input_uri
# Annotations for list of logos detected, tracked and recognized in video.
# Corresponds to the JSON property `logoRecognitionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>]
attr_accessor :logo_recognition_annotations
# Annotations for list of objects detected and tracked in video. # Annotations for list of objects detected and tracked in video.
# Corresponds to the JSON property `objectAnnotations` # Corresponds to the JSON property `objectAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
@ -4368,6 +4409,7 @@ module Google
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
@input_uri = args[:input_uri] if args.key?(:input_uri) @input_uri = args[:input_uri] if args.key?(:input_uri)
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@ -4391,6 +4433,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig]
attr_accessor :label_detection_config attr_accessor :label_detection_config
# Config for OBJECT_TRACKING.
# Corresponds to the JSON property `objectTrackingConfig`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig]
attr_accessor :object_tracking_config
# Video segments to annotate. The segments may overlap and are not required # 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 # to be contiguous or span the whole video. If unspecified, each video is
# treated as a single segment. # treated as a single segment.
@ -4421,6 +4468,7 @@ module Google
def update!(**args) def update!(**args)
@explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
@label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config) @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
@object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
@segments = args[:segments] if args.key?(:segments) @segments = args[:segments] if args.key?(:segments)
@shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config) @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
@speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config) @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@ -4529,43 +4577,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus] # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
attr_accessor :error attr_accessor :error
@ -4580,7 +4595,7 @@ module Google
# The server-assigned name, which is only unique within the same service that # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the # originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`. # `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -4613,43 +4628,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # 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: # used by [gRPC](https://github.com/grpc). Each `Status` message contains
# - Simple to use and understand for most users # three pieces of data: error code, error message, and error details.
# - Flexible enough to meet unexpected needs # You can find out more about this error model and how to work with it in the
# # Overview # [API Design Guide](https://cloud.google.com/apis/design/errors).
# 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.
class GoogleRpcStatus class GoogleRpcStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -568,6 +568,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1Entity class GoogleCloudVideointelligenceV1p3beta1Entity
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -616,6 +622,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -640,6 +652,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -712,6 +730,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1Track
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -926,8 +956,11 @@ module Google
class GoogleCloudVideointelligenceV1VideoAnnotationProgress class GoogleCloudVideointelligenceV1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1149,8 +1182,11 @@ module Google
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1372,8 +1408,11 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1595,8 +1634,11 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1675,6 +1717,15 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :name, as: 'name'
property :value, as: 'value'
end
end
class GoogleCloudVideointelligenceV1p3beta1Entity class GoogleCloudVideointelligenceV1p3beta1Entity
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1749,6 +1800,18 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Entity::Representation
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1789,6 +1852,13 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :model, as: 'model'
end
end
class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1885,6 +1955,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :language_hints, as: 'languageHints' collection :language_hints, as: 'languageHints'
property :model, as: 'model'
end end
end end
@ -1908,11 +1979,38 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation
property :time_offset, as: 'timeOffset'
end
end
class GoogleCloudVideointelligenceV1p3beta1Track
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
property :confidence, as: 'confidence'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
collection :timestamped_objects, as: 'timestampedObjects', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature'
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
property :progress_percent, as: 'progressPercent' property :progress_percent, as: 'progressPercent'
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -1928,6 +2026,8 @@ module Google
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri' property :input_uri, as: 'inputUri'
collection :logo_recognition_annotations, as: 'logoRecognitionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation::Representation
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
@ -1950,6 +2050,8 @@ module Google
property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig::Representation property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig::Representation
property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig::Representation
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig::Representation property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig::Representation