Autogenerated update (2019-09-13)

Update:
- bigquery_v2
- bigqueryconnection_v1beta1
- cloudtasks_v2
- cloudtasks_v2beta2
- monitoring_v3
- serviceusage_v1
- serviceusage_v1beta1
- storagetransfer_v1
- videointelligence_v1beta2
- videointelligence_v1p1beta1
This commit is contained in:
Google APIs 2019-09-13 00:38:03 +00:00
parent c465b5c707
commit b38cd7cd67
26 changed files with 423 additions and 132 deletions

View File

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

View File

@ -3467,7 +3467,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :creation_time attr_accessor :creation_time
# [Optional] A user-friendly description of this model. # Optional. A user-friendly description of this model.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
@ -3484,8 +3484,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :etag attr_accessor :etag
# [Optional] The time when this model expires, in milliseconds since the # Optional. The time when this model expires, in milliseconds since the epoch.
# epoch. If not present, the model will persist indefinitely. Expired models # If not present, the model will persist indefinitely. Expired models
# will be deleted and their storage reclaimed. The defaultTableExpirationMs # will be deleted and their storage reclaimed. The defaultTableExpirationMs
# property of the encapsulating dataset can be used to set a default # property of the encapsulating dataset can be used to set a default
# expirationTime on newly created models. # expirationTime on newly created models.
@ -3498,7 +3498,7 @@ module Google
# @return [Array<Google::Apis::BigqueryV2::StandardSqlField>] # @return [Array<Google::Apis::BigqueryV2::StandardSqlField>]
attr_accessor :feature_columns attr_accessor :feature_columns
# [Optional] A descriptive name for this model. # Optional. A descriptive name for this model.
# Corresponds to the JSON property `friendlyName` # Corresponds to the JSON property `friendlyName`
# @return [String] # @return [String]
attr_accessor :friendly_name attr_accessor :friendly_name
@ -3509,8 +3509,8 @@ module Google
# @return [Array<Google::Apis::BigqueryV2::StandardSqlField>] # @return [Array<Google::Apis::BigqueryV2::StandardSqlField>]
attr_accessor :label_columns attr_accessor :label_columns
# [Optional] The labels associated with this model. You can use these to # The labels associated with this model. You can use these to organize
# organize and group your models. Label keys and values can be no longer # and group your models. Label keys and values can be no longer
# than 63 characters, can only contain lowercase letters, numeric # than 63 characters, can only contain lowercase letters, numeric
# characters, underscores and dashes. International characters are allowed. # characters, underscores and dashes. International characters are allowed.
# Label values are optional. Label keys must start with a letter and each # Label values are optional. Label keys must start with a letter and each
@ -3519,8 +3519,8 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# Output only. The time when this model was last modified, in millisecs # Output only. The time when this model was last modified, in millisecs since
# since the epoch. # the epoch.
# Corresponds to the JSON property `lastModifiedTime` # Corresponds to the JSON property `lastModifiedTime`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :last_modified_time attr_accessor :last_modified_time
@ -4314,6 +4314,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :definition_body attr_accessor :definition_body
# Optional. [Experimental] The description of the routine if defined.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Output only. A hash of this resource. # Output only. A hash of this resource.
# Corresponds to the JSON property `etag` # Corresponds to the JSON property `etag`
# @return [String] # @return [String]
@ -4355,7 +4360,7 @@ module Google
# @return [Google::Apis::BigqueryV2::RoutineReference] # @return [Google::Apis::BigqueryV2::RoutineReference]
attr_accessor :routine_reference attr_accessor :routine_reference
# Required. # Required. The type of routine.
# Corresponds to the JSON property `routineType` # Corresponds to the JSON property `routineType`
# @return [String] # @return [String]
attr_accessor :routine_type attr_accessor :routine_type
@ -4369,6 +4374,7 @@ module Google
@arguments = args[:arguments] if args.key?(:arguments) @arguments = args[:arguments] if args.key?(:arguments)
@creation_time = args[:creation_time] if args.key?(:creation_time) @creation_time = args[:creation_time] if args.key?(:creation_time)
@definition_body = args[:definition_body] if args.key?(:definition_body) @definition_body = args[:definition_body] if args.key?(:definition_body)
@description = args[:description] if args.key?(:description)
@etag = args[:etag] if args.key?(:etag) @etag = args[:etag] if args.key?(:etag)
@imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries) @imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
@language = args[:language] if args.key?(:language) @language = args[:language] if args.key?(:language)

View File

@ -1670,6 +1670,7 @@ module Google
property :creation_time, :numeric_string => true, as: 'creationTime' property :creation_time, :numeric_string => true, as: 'creationTime'
property :definition_body, as: 'definitionBody' property :definition_body, as: 'definitionBody'
property :description, as: 'description'
property :etag, as: 'etag' property :etag, as: 'etag'
collection :imported_libraries, as: 'importedLibraries' collection :imported_libraries, as: 'importedLibraries'
property :language, as: 'language' property :language, as: 'language'

View File

@ -583,11 +583,11 @@ module Google
# Deletes the model specified by modelId from the dataset. # Deletes the model specified by modelId from the dataset.
# @param [String] project_id # @param [String] project_id
# Project ID of the model to delete. # Required. Project ID of the model to delete.
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the model to delete. # Required. Dataset ID of the model to delete.
# @param [String] model_id # @param [String] model_id
# Model ID of the model to delete. # Required. Model ID of the model to delete.
# @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
@ -620,11 +620,11 @@ module Google
# Gets the specified model resource by model ID. # Gets the specified model resource by model ID.
# @param [String] project_id # @param [String] project_id
# Project ID of the requested model. # Required. Project ID of the requested model.
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the requested model. # Required. Dataset ID of the requested model.
# @param [String] model_id # @param [String] model_id
# Model ID of the requested model. # Required. Model ID of the requested model.
# @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
@ -660,9 +660,9 @@ module Google
# Lists all models in the specified dataset. Requires the READER dataset # Lists all models in the specified dataset. Requires the READER dataset
# role. # role.
# @param [String] project_id # @param [String] project_id
# Project ID of the models to list. # Required. Project ID of the models to list.
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the models to list. # Required. Dataset ID of the models to list.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maximum number of results to return in a single response page. # The maximum number of results to return in a single response page.
# Leverage the page tokens to iterate through the entire collection. # Leverage the page tokens to iterate through the entire collection.
@ -704,11 +704,11 @@ module Google
# Patch specific fields in the specified model. # Patch specific fields in the specified model.
# @param [String] project_id # @param [String] project_id
# Project ID of the model to patch. # Required. Project ID of the model to patch.
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the model to patch. # Required. Dataset ID of the model to patch.
# @param [String] model_id # @param [String] model_id
# Model ID of the model to patch. # Required. Model ID of the model to patch.
# @param [Google::Apis::BigqueryV2::Model] model_object # @param [Google::Apis::BigqueryV2::Model] model_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.
@ -816,11 +816,11 @@ module Google
# Deletes the routine specified by routineId from the dataset. # Deletes the routine specified by routineId from the dataset.
# @param [String] project_id # @param [String] project_id
# Project ID of the routine to delete # Required. Project ID of the routine to delete
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the routine to delete # Required. Dataset ID of the routine to delete
# @param [String] routine_id # @param [String] routine_id
# Routine ID of the routine to delete # Required. Routine ID of the routine to delete
# @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
@ -853,11 +853,11 @@ module Google
# Gets the specified routine resource by routine ID. # Gets the specified routine resource by routine ID.
# @param [String] project_id # @param [String] project_id
# Project ID of the requested routine # Required. Project ID of the requested routine
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the requested routine # Required. Dataset ID of the requested routine
# @param [String] routine_id # @param [String] routine_id
# Routine ID of the requested routine # Required. Routine ID of the requested routine
# @param [String] field_mask # @param [String] field_mask
# If set, only the Routine fields in the field mask are returned in the # If set, only the Routine fields in the field mask are returned in the
# response. If unset, all Routine fields are returned. # response. If unset, all Routine fields are returned.
@ -896,9 +896,9 @@ module Google
# Creates a new routine in the dataset. # Creates a new routine in the dataset.
# @param [String] project_id # @param [String] project_id
# Project ID of the new routine # Required. Project ID of the new routine
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the new routine # Required. Dataset ID of the new routine
# @param [Google::Apis::BigqueryV2::Routine] routine_object # @param [Google::Apis::BigqueryV2::Routine] routine_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.
@ -936,9 +936,9 @@ module Google
# Lists all routines in the specified dataset. Requires the READER dataset # Lists all routines in the specified dataset. Requires the READER dataset
# role. # role.
# @param [String] project_id # @param [String] project_id
# Project ID of the routines to list # Required. Project ID of the routines to list
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the routines to list # Required. Dataset ID of the routines to list
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maximum number of results to return in a single response page. # The maximum number of results to return in a single response page.
# Leverage the page tokens to iterate through the entire collection. # Leverage the page tokens to iterate through the entire collection.
@ -981,11 +981,11 @@ module Google
# Updates information in an existing routine. The update method replaces the # Updates information in an existing routine. The update method replaces the
# entire Routine resource. # entire Routine resource.
# @param [String] project_id # @param [String] project_id
# Project ID of the routine to update # Required. Project ID of the routine to update
# @param [String] dataset_id # @param [String] dataset_id
# Dataset ID of the routine to update # Required. Dataset ID of the routine to update
# @param [String] routine_id # @param [String] routine_id
# Routine ID of the routine to update # Required. Routine ID of the routine to update
# @param [Google::Apis::BigqueryV2::Routine] routine_object # @param [Google::Apis::BigqueryV2::Routine] routine_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.

View File

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

View File

@ -409,9 +409,11 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned. # Optional. The policy format version to be returned.
# Acceptable values are 0, 1, and 3. # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# If the value is 0, or the field is omitted, policy format version 1 will be # rejected.
# returned. # Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# Corresponds to the JSON property `requestedPolicyVersion` # Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :requested_policy_version attr_accessor :requested_policy_version
@ -516,7 +518,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :etag attr_accessor :etag
# Deprecated. # Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/ # @see https://cloud.google.com/tasks/
module CloudtasksV2 module CloudtasksV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190813' REVISION = '20190906'
# 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

@ -511,9 +511,11 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned. # Optional. The policy format version to be returned.
# Acceptable values are 0, 1, and 3. # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# If the value is 0, or the field is omitted, policy format version 1 will be # rejected.
# returned. # Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# Corresponds to the JSON property `requestedPolicyVersion` # Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :requested_policy_version attr_accessor :requested_policy_version
@ -732,7 +734,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :etag attr_accessor :etag
# Deprecated. # Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/ # @see https://cloud.google.com/tasks/
module CloudtasksV2beta2 module CloudtasksV2beta2
VERSION = 'V2beta2' VERSION = 'V2beta2'
REVISION = '20190813' REVISION = '20190906'
# 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

@ -647,9 +647,11 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned. # Optional. The policy format version to be returned.
# Acceptable values are 0, 1, and 3. # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# If the value is 0, or the field is omitted, policy format version 1 will be # rejected.
# returned. # Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# Corresponds to the JSON property `requestedPolicyVersion` # Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :requested_policy_version attr_accessor :requested_policy_version
@ -974,7 +976,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :etag attr_accessor :etag
# Deprecated. # Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20190904' REVISION = '20190907'
# 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

@ -201,18 +201,18 @@ module Google
end end
end end
# A type of authentication to perform against the specified resource or URL that # The authentication parameters to provide to the specified resource or URL that
# uses username and password. Currently, only Basic authentication is supported # requires a username and password. Currently, only Basic HTTP authentication (
# in Uptime Monitoring. # https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
class BasicAuthentication class BasicAuthentication
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The password to authenticate. # The password to use when authenticating with the HTTP server.
# Corresponds to the JSON property `password` # Corresponds to the JSON property `password`
# @return [String] # @return [String]
attr_accessor :password attr_accessor :password
# The username to authenticate. # The username to use when authenticating with the HTTP server.
# Corresponds to the JSON property `username` # Corresponds to the JSON property `username`
# @return [String] # @return [String]
attr_accessor :username attr_accessor :username
@ -517,9 +517,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :content attr_accessor :content
# The matcher representing content match options which the check will run with. # The type of content matcher that will be applied to the server output,
# If the field is not specified (in previous versions), the option is set to be # compared to the content string when the check is run.
# CONTAINS_STRING which performs content substring matching.
# Corresponds to the JSON property `matcher` # Corresponds to the JSON property `matcher`
# @return [String] # @return [String]
attr_accessor :matcher attr_accessor :matcher
@ -1096,18 +1095,18 @@ module Google
end end
end end
# Information involved in an HTTP/HTTPS uptime check request. # Information involved in an HTTP/HTTPS Uptime check request.
class HttpCheck class HttpCheck
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A type of authentication to perform against the specified resource or URL that # The authentication parameters to provide to the specified resource or URL that
# uses username and password. Currently, only Basic authentication is supported # requires a username and password. Currently, only Basic HTTP authentication (
# in Uptime Monitoring. # https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
# Corresponds to the JSON property `authInfo` # Corresponds to the JSON property `authInfo`
# @return [Google::Apis::MonitoringV3::BasicAuthentication] # @return [Google::Apis::MonitoringV3::BasicAuthentication]
attr_accessor :auth_info attr_accessor :auth_info
# The list of headers to send as part of the uptime check request. If two # The list of headers to send as part of the Uptime check request. If two
# headers have the same key and different values, they should be entered as a # headers have the same key and different values, they should be entered as a
# single header, with the value being a comma-separated list of all the desired # single header, with the value being a comma-separated list of all the desired
# values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page # values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page
@ -1122,23 +1121,24 @@ module Google
# should be specified for any headers related to authentication that you do not # should be specified for any headers related to authentication that you do not
# wish to be seen when retrieving the configuration. The server will be # wish to be seen when retrieving the configuration. The server will be
# responsible for encrypting the headers. On Get/List calls, if mask_headers is # responsible for encrypting the headers. On Get/List calls, if mask_headers is
# set to True then the headers will be obscured with ******. # set to true then the headers will be obscured with ******.
# Corresponds to the JSON property `maskHeaders` # Corresponds to the JSON property `maskHeaders`
# @return [Boolean] # @return [Boolean]
attr_accessor :mask_headers attr_accessor :mask_headers
alias_method :mask_headers?, :mask_headers alias_method :mask_headers?, :mask_headers
# The path to the page to run the check against. Will be combined with the host ( # Optional (defaults to "/"). The path to the page against which to run the
# specified within the MonitoredResource) and port to construct the full URL. # check. Will be combined with the host (specified within the monitored_resource)
# Optional (defaults to "/"). If the provided path does not begin with "/", it # and port to construct the full URL. If the provided path does not begin with "
# will be prepended automatically. # /", a "/" will be prepended automatically.
# Corresponds to the JSON property `path` # Corresponds to the JSON property `path`
# @return [String] # @return [String]
attr_accessor :path attr_accessor :path
# The port to the page to run the check against. Will be combined with host ( # Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true).
# specified within the MonitoredResource) and path to construct the full URL. # The TCP port on the HTTP server against which to run the check. Will be
# Optional (defaults to 80 without SSL, or 443 with SSL). # combined with host (specified within the monitored_resource) and path to
# construct the full URL.
# Corresponds to the JSON property `port` # Corresponds to the JSON property `port`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :port attr_accessor :port
@ -1149,8 +1149,9 @@ module Google
attr_accessor :use_ssl attr_accessor :use_ssl
alias_method :use_ssl?, :use_ssl alias_method :use_ssl?, :use_ssl
# Boolean specifying whether to validate SSL certificates. Only applies to # Boolean specifying whether to include SSL certificate validation as a part of
# uptime_url checks. If use_ssl is false, setting this to true has no effect. # the Uptime check. Only applies to checks where monitored_resource is set to
# uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
# Corresponds to the JSON property `validateSsl` # Corresponds to the JSON property `validateSsl`
# @return [Boolean] # @return [Boolean]
attr_accessor :validate_ssl attr_accessor :validate_ssl
@ -1172,7 +1173,7 @@ module Google
end end
end end
# An internal checker allows uptime checks to run on private/internal GCP # An internal checker allows Uptime checks to run on private/internal GCP
# resources. # resources.
class InternalChecker class InternalChecker
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1184,15 +1185,15 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The GCP zone the uptime check should egress from. Only respected for internal # The GCP zone the Uptime check should egress from. Only respected for internal
# uptime checks, where internal_network is specified. # Uptime checks, where internal_network is specified.
# Corresponds to the JSON property `gcpZone` # Corresponds to the JSON property `gcpZone`
# @return [String] # @return [String]
attr_accessor :gcp_zone attr_accessor :gcp_zone
# A unique resource name for this InternalChecker. The format is:projects/[ # A unique resource name for this InternalChecker. The format is:projects/[
# PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID].PROJECT_ID is the # PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID].[PROJECT_ID] is the
# stackdriver workspace project for the uptime check config associated with the # Stackdriver Workspace project for the Uptime check config associated with the
# internal checker. # internal checker.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1204,8 +1205,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# The GCP project_id where the internal checker lives. Not necessary the same as # The GCP project ID where the internal checker lives. Not necessary the same as
# the workspace project. # the Workspace project.
# Corresponds to the JSON property `peerProjectId` # Corresponds to the JSON property `peerProjectId`
# @return [String] # @return [String]
attr_accessor :peer_project_id attr_accessor :peer_project_id
@ -1542,13 +1543,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
# The total number of uptime check configurations for the project, irrespective # The total number of Uptime check configurations for the project, irrespective
# of any pagination. # of any pagination.
# Corresponds to the JSON property `totalSize` # Corresponds to the JSON property `totalSize`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :total_size attr_accessor :total_size
# The returned uptime check configurations. # The returned Uptime check configurations.
# Corresponds to the JSON property `uptimeCheckConfigs` # Corresponds to the JSON property `uptimeCheckConfigs`
# @return [Array<Google::Apis::MonitoringV3::UptimeCheckConfig>] # @return [Array<Google::Apis::MonitoringV3::UptimeCheckConfig>]
attr_accessor :uptime_check_configs attr_accessor :uptime_check_configs
@ -2378,8 +2379,8 @@ module Google
class ResourceGroup class ResourceGroup
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The group of resources being monitored. Should be only the group_id, not # The group of resources being monitored. Should be only the [GROUP_ID], and not
# projects/<project_id>/groups/<group_id>. # the full-path projects/[PROJECT_ID]/groups/[GROUP_ID].
# Corresponds to the JSON property `groupId` # Corresponds to the JSON property `groupId`
# @return [String] # @return [String]
attr_accessor :group_id attr_accessor :group_id
@ -2499,12 +2500,13 @@ module Google
end end
end end
# Information required for a TCP uptime check request. # Information required for a TCP Uptime check request.
class TcpCheck class TcpCheck
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The port to the page to run the check against. Will be combined with host ( # The TCP port on the server against which to run the check. Will be combined
# specified within the MonitoredResource) to construct the full URL. Required. # with host (specified within the monitored_resource) to construct the full URL.
# Required.
# Corresponds to the JSON property `port` # Corresponds to the JSON property `port`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :port attr_accessor :port
@ -2781,30 +2783,30 @@ module Google
class UptimeCheckConfig class UptimeCheckConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The expected content on the page the check is run against. Currently, only the # The content that is expected to appear in the data returned by the target
# first entry in the list is supported, and other entries will be ignored. The # server against which the check is run. Currently, only the first entry in the
# server will look for an exact match of the string in the page response's # content_matchers list is supported, and additional entries will be ignored.
# content. This field is optional and should only be specified if a content # This field is optional and should only be specified if a content match is
# match is required. # required as part of the/ Uptime check.
# Corresponds to the JSON property `contentMatchers` # Corresponds to the JSON property `contentMatchers`
# @return [Array<Google::Apis::MonitoringV3::ContentMatcher>] # @return [Array<Google::Apis::MonitoringV3::ContentMatcher>]
attr_accessor :content_matchers attr_accessor :content_matchers
# A human-friendly name for the uptime check configuration. The display name # A human-friendly name for the Uptime check configuration. The display name
# should be unique within a Stackdriver Workspace in order to make it easier to # should be unique within a Stackdriver Workspace in order to make it easier to
# identify; however, uniqueness is not enforced. Required. # identify; however, uniqueness is not enforced. Required.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# Information involved in an HTTP/HTTPS uptime check request. # Information involved in an HTTP/HTTPS Uptime check request.
# Corresponds to the JSON property `httpCheck` # Corresponds to the JSON property `httpCheck`
# @return [Google::Apis::MonitoringV3::HttpCheck] # @return [Google::Apis::MonitoringV3::HttpCheck]
attr_accessor :http_check attr_accessor :http_check
# The internal checkers that this check will egress from. If is_internal is true # The internal checkers that this check will egress from. If is_internal is true
# and this list is empty, the check will egress from all the InternalCheckers # and this list is empty, the check will egress from all the InternalCheckers
# configured for the project that owns this CheckConfig. # configured for the project that owns this UptimeCheckConfig.
# Corresponds to the JSON property `internalCheckers` # Corresponds to the JSON property `internalCheckers`
# @return [Array<Google::Apis::MonitoringV3::InternalChecker>] # @return [Array<Google::Apis::MonitoringV3::InternalChecker>]
attr_accessor :internal_checkers attr_accessor :internal_checkers
@ -2825,15 +2827,15 @@ module Google
# @return [Google::Apis::MonitoringV3::MonitoredResource] # @return [Google::Apis::MonitoringV3::MonitoredResource]
attr_accessor :monitored_resource attr_accessor :monitored_resource
# A unique resource name for this UptimeCheckConfig. The format is:projects/[ # A unique resource name for this Uptime check configuration. The format is:
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should be omitted # projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should
# when creating the uptime check configuration; on create, the resource name is # be omitted when creating the Uptime check configuration; on create, the
# assigned by the server and included in the response. # resource name is assigned by the server and included in the response.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# How often, in seconds, the uptime check is performed. Currently, the only # How often, in seconds, the Uptime check is performed. Currently, the only
# supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and # supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and
# 900s (15 minutes). Optional, defaults to 60s. # 900s (15 minutes). Optional, defaults to 60s.
# Corresponds to the JSON property `period` # Corresponds to the JSON property `period`
@ -2848,14 +2850,13 @@ module Google
# The list of regions from which the check will be run. Some regions contain one # The list of regions from which the check will be run. Some regions contain one
# location, and others contain more than one. If this field is specified, enough # location, and others contain more than one. If this field is specified, enough
# regions to include a minimum of 3 locations must be provided, or an error # regions must be provided to include a minimum of 3 locations. Not specifying
# message is returned. Not specifying this field will result in uptime checks # this field will result in Uptime checks running from all available regions.
# running from all regions.
# Corresponds to the JSON property `selectedRegions` # Corresponds to the JSON property `selectedRegions`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :selected_regions attr_accessor :selected_regions
# Information required for a TCP uptime check request. # Information required for a TCP Uptime check request.
# Corresponds to the JSON property `tcpCheck` # Corresponds to the JSON property `tcpCheck`
# @return [Google::Apis::MonitoringV3::TcpCheck] # @return [Google::Apis::MonitoringV3::TcpCheck]
attr_accessor :tcp_check attr_accessor :tcp_check
@ -2891,11 +2892,11 @@ module Google
class UptimeCheckIp class UptimeCheckIp
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The IP address from which the uptime check originates. This is a full IP # The IP address from which the Uptime check originates. This is a fully
# address (not an IP address range). Most IP addresses, as of this publication, # specified IP address (not an IP address range). Most IP addresses, as of this
# are in IPv4 format; however, one should not rely on the IP addresses being in # publication, are in IPv4 format; however, one should not rely on the IP
# IPv4 format indefinitely and should support interpreting this field in either # addresses being in IPv4 format indefinitely, and should support interpreting
# IPv4 or IPv6 format. # this field in either IPv4 or IPv6 format.
# Corresponds to the JSON property `ipAddress` # Corresponds to the JSON property `ipAddress`
# @return [String] # @return [String]
attr_accessor :ip_address attr_accessor :ip_address

View File

@ -1317,9 +1317,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates a new uptime check configuration. # Creates a new Uptime check configuration.
# @param [String] parent # @param [String] parent
# The project in which to create the uptime check. The format is projects/[ # The project in which to create the Uptime check. The format is projects/[
# PROJECT_ID]. # PROJECT_ID].
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
# @param [String] fields # @param [String] fields
@ -1351,11 +1351,11 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes an uptime check configuration. Note that this method will fail if the # Deletes an Uptime check configuration. Note that this method will fail if the
# uptime check configuration is referenced by an alert policy or other dependent # Uptime check configuration is referenced by an alert policy or other dependent
# configs that would be rendered invalid by the deletion. # configs that would be rendered invalid by the deletion.
# @param [String] name # @param [String] name
# The uptime check configuration to delete. The format is projects/[PROJECT_ID]/ # The Uptime check configuration to delete. The format is projects/[PROJECT_ID]/
# uptimeCheckConfigs/[UPTIME_CHECK_ID]. # uptimeCheckConfigs/[UPTIME_CHECK_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.
@ -1384,9 +1384,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets a single uptime check configuration. # Gets a single Uptime check configuration.
# @param [String] name # @param [String] name
# The uptime check configuration to retrieve. The format is projects/[ # The Uptime check configuration to retrieve. The format is projects/[
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]. # PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_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.
@ -1415,10 +1415,10 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists the existing valid uptime check configurations for the project, leaving # Lists the existing valid Uptime check configurations for the project (leaving
# out any invalid configurations. # out any invalid configurations).
# @param [String] parent # @param [String] parent
# The project whose uptime check configurations are listed. The format is # The project whose Uptime check configurations are listed. The format is
# projects/[PROJECT_ID]. # projects/[PROJECT_ID].
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of results to return in a single response. The server may # The maximum number of results to return in a single response. The server may
@ -1458,18 +1458,18 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates an uptime check configuration. You can either replace the entire # Updates an Uptime check configuration. You can either replace the entire
# configuration with a new one or replace only certain fields in the current # configuration with a new one or replace only certain fields in the current
# configuration by specifying the fields to be updated via "updateMask". Returns # configuration by specifying the fields to be updated via updateMask. Returns
# the updated configuration. # the updated configuration.
# @param [String] name # @param [String] name
# A unique resource name for this UptimeCheckConfig. The format is:projects/[ # A unique resource name for this Uptime check configuration. The format is:
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should be omitted # projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should
# when creating the uptime check configuration; on create, the resource name is # be omitted when creating the Uptime check configuration; on create, the
# assigned by the server and included in the response. # resource name is assigned by the server and included in the response.
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
# @param [String] update_mask # @param [String] update_mask
# Optional. If present, only the listed fields in the current uptime check # Optional. If present, only the listed fields in the current Uptime check
# configuration are updated with values from the new configuration. If this # configuration are updated with values from the new configuration. If this
# field is empty, then the current configuration is completely replaced with the # field is empty, then the current configuration is completely replaced with the
# new configuration. # new configuration.
@ -1503,7 +1503,7 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns the list of IPs that checkers run from # Returns the list of IP addresses that checkers run from
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of results to return in a single response. The server may # The maximum number of results to return in a single response. The server may
# further constrain the maximum number of results returned in a single page. If # further constrain the maximum number of results returned in a single page. If

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1 module ServiceusageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190907' REVISION = '20190911'
# 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

@ -1264,6 +1264,32 @@ module Google
end end
end end
# Response message for getting service identity.
class GetServiceIdentityResponse
include Google::Apis::Core::Hashable
# Service identity for a service. This is the identity that service producer
# should use to access consumer resources.
# Corresponds to the JSON property `identity`
# @return [Google::Apis::ServiceusageV1::ServiceIdentity]
attr_accessor :identity
# Service identity state.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@identity = args[:identity] if args.key?(:identity)
@state = args[:state] if args.key?(:state)
end
end
# `Service` is the root object of Google service configuration schema. It # `Service` is the root object of Google service configuration schema. It
# describes basic information about a service, such as the name and the # describes basic information about a service, such as the name and the
# title, and delegates other aspects to sub-sections. Each sub-section is # title, and delegates other aspects to sub-sections. Each sub-section is

View File

@ -214,6 +214,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GetServiceIdentityResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiService class GoogleApiService
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -745,6 +751,15 @@ module Google
end end
end end
class GetServiceIdentityResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :identity, as: 'identity', class: Google::Apis::ServiceusageV1::ServiceIdentity, decorator: Google::Apis::ServiceusageV1::ServiceIdentity::Representation
property :state, as: 'state'
end
end
class GoogleApiService class GoogleApiService
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1 module ServiceusageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190907' REVISION = '20190911'
# 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

@ -1242,6 +1242,32 @@ module Google
end end
end end
# Response message for getting service identity.
class GetServiceIdentityResponse
include Google::Apis::Core::Hashable
# Service identity for a service. This is the identity that service producer
# should use to access consumer resources.
# Corresponds to the JSON property `identity`
# @return [Google::Apis::ServiceusageV1beta1::ServiceIdentity]
attr_accessor :identity
# Service identity state.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@identity = args[:identity] if args.key?(:identity)
@state = args[:state] if args.key?(:state)
end
end
# `Service` is the root object of Google service configuration schema. It # `Service` is the root object of Google service configuration schema. It
# describes basic information about a service, such as the name and the # describes basic information about a service, such as the name and the
# title, and delegates other aspects to sub-sections. Each sub-section is # title, and delegates other aspects to sub-sections. Each sub-section is

View File

@ -208,6 +208,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GetServiceIdentityResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiService class GoogleApiService
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -744,6 +750,15 @@ module Google
end end
end end
class GetServiceIdentityResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :identity, as: 'identity', class: Google::Apis::ServiceusageV1beta1::ServiceIdentity, decorator: Google::Apis::ServiceusageV1beta1::ServiceIdentity::Representation
property :state, as: 'state'
end
end
class GoogleApiService class GoogleApiService
# @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/storage-transfer/docs # @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1 module StoragetransferV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190826' REVISION = '20190907'
# 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 = '20190713' REVISION = '20190905'
# 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

@ -683,6 +683,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment>]
@ -694,6 +700,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechTranscription>]
@ -719,8 +731,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -1818,6 +1832,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]
@ -1829,6 +1849,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
@ -1854,8 +1880,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -2665,6 +2693,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
@ -2676,6 +2710,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
@ -2701,8 +2741,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -3455,6 +3497,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
@ -3466,6 +3514,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
@ -3491,8 +3545,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -4472,6 +4528,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
@ -4483,6 +4545,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
@ -4509,8 +4577,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end

View File

@ -982,10 +982,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1TextAnnotation::Representation
@ -1286,10 +1290,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation
@ -1534,10 +1542,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation
@ -1762,10 +1774,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
@ -2062,10 +2078,14 @@ module Google
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
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::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 VideointelligenceV1p1beta1 module VideointelligenceV1p1beta1
VERSION = 'V1p1beta1' VERSION = 'V1p1beta1'
REVISION = '20190713' REVISION = '20190905'
# 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

@ -683,6 +683,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment>]
@ -694,6 +700,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechTranscription>]
@ -719,8 +731,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -1473,6 +1487,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
@ -1484,6 +1504,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
@ -1509,8 +1535,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -2608,6 +2636,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
@ -2619,6 +2653,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
@ -2644,8 +2684,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -3455,6 +3497,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
@ -3466,6 +3514,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
@ -3491,8 +3545,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end
@ -4472,6 +4528,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :segment_label_annotations attr_accessor :segment_label_annotations
# Presence label annotations on video level or user specified segment level.
# There is exactly one element for each unique label.
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :segment_presence_label_annotations
# Shot annotations. Each shot is represented as a video segment. # Shot annotations. Each shot is represented as a video segment.
# Corresponds to the JSON property `shotAnnotations` # Corresponds to the JSON property `shotAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
@ -4483,6 +4545,12 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :shot_label_annotations attr_accessor :shot_label_annotations
# Presence label annotations on shot level. There is exactly one element for
# each unique label.
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
attr_accessor :shot_presence_label_annotations
# Speech transcription. # Speech transcription.
# Corresponds to the JSON property `speechTranscriptions` # Corresponds to the JSON property `speechTranscriptions`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>] # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
@ -4509,8 +4577,10 @@ module Google
@object_annotations = args[:object_annotations] if args.key?(:object_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@segment = args[:segment] if args.key?(:segment) @segment = args[:segment] if args.key?(:segment)
@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)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations) @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions) @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations) @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
end end

View File

@ -982,10 +982,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1TextAnnotation::Representation
@ -1210,10 +1214,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation
@ -1514,10 +1522,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation
@ -1762,10 +1774,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
@ -2062,10 +2078,14 @@ module Google
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation