Autogenerated update (2019-11-12)

Update:
- adexchangebuyer2_v2beta1
- cloudbilling_v1
- docs_v1
- healthcare_v1beta1
- securitycenter_v1
- securitycenter_v1beta1
- videointelligence_v1
- videointelligence_v1beta2
- videointelligence_v1p1beta1
- videointelligence_v1p2beta1
- videointelligence_v1p3beta1
This commit is contained in:
Google APIs 2019-11-12 00:37:27 +00:00
parent ddd4ecea51
commit acf3b2c24e
27 changed files with 1011 additions and 23 deletions

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/ # @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1 module Adexchangebuyer2V2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20191017' REVISION = '20191111'
# Manage your Ad Exchange buyer account configuration # Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/billing/ # @see https://cloud.google.com/billing/
module CloudbillingV1 module CloudbillingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191005' REVISION = '20191111'
# 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

@ -244,6 +244,23 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`. # account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. # * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`. # For example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For
# example,`alice@example.com?uid=123456789012345678901`. If the user is
# recovered, this value reverts to `user:`emailid`` and the recovered user
# retains the role in the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example,
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to
# `serviceAccount:`emailid`` and the undeleted service account retains the
# role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
# the group is recovered, this value reverts to `group:`emailid`` and the
# recovered group retains the role in the binding.
# * `domain:`domain``: The G Suite domain (primary) that represents all the # * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`. # users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members` # Corresponds to the JSON property `members`

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/docs/ # @see https://developers.google.com/docs/
module DocsV1 module DocsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191029' REVISION = '20191106'
# View and manage your Google Docs documents # View and manage your Google Docs documents
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'

View File

@ -365,8 +365,7 @@ module Google
end end
# Creates a Footer. The new footer will be # Creates a Footer. The new footer will be
# applied to SectionStyle or the # applied to the DocumentStyle.
# DocumentStyle.
# If a footer of the specified type already exists then a 400 bad request error # If a footer of the specified type already exists then a 400 bad request error
# will be returned. # will be returned.
class CreateFooterRequest class CreateFooterRequest
@ -407,8 +406,7 @@ module Google
end end
# Creates a Header. The new header will be # Creates a Header. The new header will be
# applied to SectionStyle or the # applied to the DocumentStyle.
# DocumentStyle.
# If a header of the specified type already exists then a 400 bad request error # If a header of the specified type already exists then a 400 bad request error
# will be returned. # will be returned.
class CreateHeaderRequest class CreateHeaderRequest
@ -3842,8 +3840,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Creates a Footer. The new footer will be # Creates a Footer. The new footer will be
# applied to SectionStyle or the # applied to the DocumentStyle.
# DocumentStyle.
# If a footer of the specified type already exists then a 400 bad request error # If a footer of the specified type already exists then a 400 bad request error
# will be returned. # will be returned.
# Corresponds to the JSON property `createFooter` # Corresponds to the JSON property `createFooter`
@ -3851,8 +3848,7 @@ module Google
attr_accessor :create_footer attr_accessor :create_footer
# Creates a Header. The new header will be # Creates a Header. The new header will be
# applied to SectionStyle or the # applied to the DocumentStyle.
# DocumentStyle.
# If a header of the specified type already exists then a 400 bad request error # If a header of the specified type already exists then a 400 bad request error
# will be returned. # will be returned.
# Corresponds to the JSON property `createHeader` # Corresponds to the JSON property `createHeader`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare # @see https://cloud.google.com/healthcare
module HealthcareV1beta1 module HealthcareV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191021' REVISION = '20191107'
# 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

@ -944,8 +944,8 @@ module Google
# field[x]) we use two separate components. For example, # field[x]) we use two separate components. For example,
# "deceasedAge.unit" is matched by "Deceased.Age.unit". # "deceasedAge.unit" is matched by "Deceased.Age.unit".
# Supported types are: AdministrativeGenderCode, Code, Date, DateTime, # Supported types are: AdministrativeGenderCode, Code, Date, DateTime,
# Decimal, HumanName, Id, LanguageCode, Markdown, MimeTypeCode, Oid, # Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid,
# String, Uri, Uuid, Xhtml. # Xhtml.
# Corresponds to the JSON property `paths` # Corresponds to the JSON property `paths`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :paths attr_accessor :paths

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1 module SecuritycenterV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191101' REVISION = '20191108'
# 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

@ -257,6 +257,23 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`. # account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. # * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`. # For example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For
# example,`alice@example.com?uid=123456789012345678901`. If the user is
# recovered, this value reverts to `user:`emailid`` and the recovered user
# retains the role in the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example,
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to
# `serviceAccount:`emailid`` and the undeleted service account retains the
# role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
# the group is recovered, this value reverts to `group:`emailid`` and the
# recovered group retains the role in the binding.
# * `domain:`domain``: The G Suite domain (primary) that represents all the # * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`. # users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members` # Corresponds to the JSON property `members`
@ -1029,6 +1046,12 @@ module Google
# @return [Google::Apis::SecuritycenterV1::Finding] # @return [Google::Apis::SecuritycenterV1::Finding]
attr_accessor :finding attr_accessor :finding
# Information related to the Google Cloud Platform (GCP) resource that is
# associated with this finding.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1::Resource]
attr_accessor :resource
# State change of the finding between the points in time. # State change of the finding between the points in time.
# Corresponds to the JSON property `stateChange` # Corresponds to the JSON property `stateChange`
# @return [String] # @return [String]
@ -1041,6 +1064,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@resource = args[:resource] if args.key?(:resource)
@state_change = args[:state_change] if args.key?(:state_change) @state_change = args[:state_change] if args.key?(:state_change)
end end
end end
@ -1307,6 +1331,51 @@ module Google
end end
end end
# Information related to the Google Cloud Platform (GCP) resource that is
# associated with this finding.
class Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parentName`
# @return [String]
attr_accessor :parent_name
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `projectName`
# @return [String]
attr_accessor :project_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@parent_name = args[:parent_name] if args.key?(:parent_name)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
@project_name = args[:project_name] if args.key?(:project_name)
end
end
# Request message for running asset discovery for an organization. # Request message for running asset discovery for an organization.
class RunAssetDiscoveryRequest class RunAssetDiscoveryRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -184,6 +184,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RunAssetDiscoveryRequest class RunAssetDiscoveryRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -450,6 +456,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1::Finding, decorator: Google::Apis::SecuritycenterV1::Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1::Finding, decorator: Google::Apis::SecuritycenterV1::Finding::Representation
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1::Resource, decorator: Google::Apis::SecuritycenterV1::Resource::Representation
property :state_change, as: 'stateChange' property :state_change, as: 'stateChange'
end end
end end
@ -506,6 +514,17 @@ module Google
end end
end end
class Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent_display_name, as: 'parentDisplayName'
property :parent_name, as: 'parentName'
property :project_display_name, as: 'projectDisplayName'
property :project_name, as: 'projectName'
end
end
class RunAssetDiscoveryRequest class RunAssetDiscoveryRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1beta1 module SecuritycenterV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191101' REVISION = '20191108'
# 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

@ -249,6 +249,23 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`. # account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. # * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`. # For example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For
# example,`alice@example.com?uid=123456789012345678901`. If the user is
# recovered, this value reverts to `user:`emailid`` and the recovered user
# retains the role in the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example,
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to
# `serviceAccount:`emailid`` and the undeleted service account retains the
# role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
# the group is recovered, this value reverts to `group:`emailid`` and the
# recovered group retains the role in the binding.
# * `domain:`domain``: The G Suite domain (primary) that represents all the # * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`. # users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members` # Corresponds to the JSON property `members`
@ -1404,8 +1421,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# The sources display name. # The source's display name.
# A sources display name must be unique amongst its siblings, for example, # A source's display name must be unique amongst its siblings, for example,
# two sources with the same parent can't share the same display name. # two sources with the same parent can't share the same display name.
# The display name must have a length between 1 and 64 characters # The display name must have a length between 1 and 64 characters
# (inclusive). # (inclusive).

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 VideointelligenceV1 module VideointelligenceV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191028' REVISION = '20191109'
# 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

@ -3710,6 +3710,87 @@ module Google
end end
end end
# Celebrity definition.
class GoogleCloudVideointelligenceV1p3beta1Celebrity
include Google::Apis::Core::Hashable
# Textual description of additional information about the celebrity, if
# applicable.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The celebrity name.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# The resource name of the celebrity. Have the format
# `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
# kg-mid is the id in Google knowledge graph, which is unique for the
# celebrity.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
end
end
# Celebrity recognition annotation per video.
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
include Google::Apis::Core::Hashable
# The tracks detected from the input video, including recognized celebrities
# and other detected faces in the video.
# Corresponds to the JSON property `celebrityTracks`
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
attr_accessor :celebrity_tracks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
end
end
# The annotation result of a celebrity face track. RecognizedCelebrity field
# could be empty if the face track does not have any matched celebrities.
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
include Google::Apis::Core::Hashable
# Top N match of the celebrities for the face in this track.
# Corresponds to the JSON property `celebrities`
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
attr_accessor :celebrities
# A track of an object instance.
# Corresponds to the JSON property `faceTrack`
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track]
attr_accessor :face_track
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrities = args[:celebrities] if args.key?(:celebrities)
@face_track = args[:face_track] if args.key?(:face_track)
end
end
# A generic detected attribute represented by name in string format. # A generic detected attribute represented by name in string format.
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4125,6 +4206,31 @@ module Google
end end
end end
# The recognized celebrity with confidence score.
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
include Google::Apis::Core::Hashable
# Celebrity definition.
# Corresponds to the JSON property `celebrity`
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
attr_accessor :celebrity
# Recognition confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity = args[:celebrity] if args.key?(:celebrity)
@confidence = args[:confidence] if args.key?(:confidence)
end
end
# Alternative hypotheses (a.k.a. n-best list). # Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4505,6 +4611,11 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Celebrity recognition annotation per video.
# Corresponds to the JSON property `celebrityRecognitionAnnotations`
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
attr_accessor :celebrity_recognition_annotations
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@ -4603,6 +4714,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
@error = args[:error] if args.key?(:error) @error = args[:error] if args.key?(:error)
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)

View File

@ -616,6 +616,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -694,6 +712,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1842,6 +1866,33 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrity_tracks, as: 'celebrityTracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrities, as: 'celebrities', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity::Representation
property :face_track, as: 'faceTrack', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1968,6 +2019,15 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity, as: 'celebrity', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Celebrity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Celebrity::Representation
property :confidence, as: 'confidence'
end
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2081,6 +2141,8 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity_recognition_annotations, as: 'celebrityRecognitionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VideointelligenceV1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1::GoogleRpcStatus::Representation property :error, as: 'error', class: Google::Apis::VideointelligenceV1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1::GoogleRpcStatus::Representation
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::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 VideointelligenceV1beta2 module VideointelligenceV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20191028' REVISION = '20191109'
# 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

@ -3710,6 +3710,87 @@ module Google
end end
end end
# Celebrity definition.
class GoogleCloudVideointelligenceV1p3beta1Celebrity
include Google::Apis::Core::Hashable
# Textual description of additional information about the celebrity, if
# applicable.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The celebrity name.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# The resource name of the celebrity. Have the format
# `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
# kg-mid is the id in Google knowledge graph, which is unique for the
# celebrity.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
end
end
# Celebrity recognition annotation per video.
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
include Google::Apis::Core::Hashable
# The tracks detected from the input video, including recognized celebrities
# and other detected faces in the video.
# Corresponds to the JSON property `celebrityTracks`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
attr_accessor :celebrity_tracks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
end
end
# The annotation result of a celebrity face track. RecognizedCelebrity field
# could be empty if the face track does not have any matched celebrities.
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
include Google::Apis::Core::Hashable
# Top N match of the celebrities for the face in this track.
# Corresponds to the JSON property `celebrities`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
attr_accessor :celebrities
# A track of an object instance.
# Corresponds to the JSON property `faceTrack`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track]
attr_accessor :face_track
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrities = args[:celebrities] if args.key?(:celebrities)
@face_track = args[:face_track] if args.key?(:face_track)
end
end
# A generic detected attribute represented by name in string format. # A generic detected attribute represented by name in string format.
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4125,6 +4206,31 @@ module Google
end end
end end
# The recognized celebrity with confidence score.
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
include Google::Apis::Core::Hashable
# Celebrity definition.
# Corresponds to the JSON property `celebrity`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Celebrity]
attr_accessor :celebrity
# Recognition confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity = args[:celebrity] if args.key?(:celebrity)
@confidence = args[:confidence] if args.key?(:confidence)
end
end
# Alternative hypotheses (a.k.a. n-best list). # Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4505,6 +4611,11 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Celebrity recognition annotation per video.
# Corresponds to the JSON property `celebrityRecognitionAnnotations`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
attr_accessor :celebrity_recognition_annotations
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@ -4603,6 +4714,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
@error = args[:error] if args.key?(:error) @error = args[:error] if args.key?(:error)
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)

View File

@ -616,6 +616,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -694,6 +712,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1824,6 +1848,33 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrity_tracks, as: 'celebrityTracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrities, as: 'celebrities', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity::Representation
property :face_track, as: 'faceTrack', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1950,6 +2001,15 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity, as: 'celebrity', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Celebrity, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Celebrity::Representation
property :confidence, as: 'confidence'
end
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2063,6 +2123,8 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity_recognition_annotations, as: 'celebrityRecognitionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus::Representation property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus::Representation
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::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 = '20191028' REVISION = '20191109'
# 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

@ -3710,6 +3710,87 @@ module Google
end end
end end
# Celebrity definition.
class GoogleCloudVideointelligenceV1p3beta1Celebrity
include Google::Apis::Core::Hashable
# Textual description of additional information about the celebrity, if
# applicable.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The celebrity name.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# The resource name of the celebrity. Have the format
# `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
# kg-mid is the id in Google knowledge graph, which is unique for the
# celebrity.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
end
end
# Celebrity recognition annotation per video.
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
include Google::Apis::Core::Hashable
# The tracks detected from the input video, including recognized celebrities
# and other detected faces in the video.
# Corresponds to the JSON property `celebrityTracks`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
attr_accessor :celebrity_tracks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
end
end
# The annotation result of a celebrity face track. RecognizedCelebrity field
# could be empty if the face track does not have any matched celebrities.
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
include Google::Apis::Core::Hashable
# Top N match of the celebrities for the face in this track.
# Corresponds to the JSON property `celebrities`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
attr_accessor :celebrities
# A track of an object instance.
# Corresponds to the JSON property `faceTrack`
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track]
attr_accessor :face_track
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrities = args[:celebrities] if args.key?(:celebrities)
@face_track = args[:face_track] if args.key?(:face_track)
end
end
# A generic detected attribute represented by name in string format. # A generic detected attribute represented by name in string format.
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4125,6 +4206,31 @@ module Google
end end
end end
# The recognized celebrity with confidence score.
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
include Google::Apis::Core::Hashable
# Celebrity definition.
# Corresponds to the JSON property `celebrity`
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
attr_accessor :celebrity
# Recognition confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity = args[:celebrity] if args.key?(:celebrity)
@confidence = args[:confidence] if args.key?(:confidence)
end
end
# Alternative hypotheses (a.k.a. n-best list). # Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4505,6 +4611,11 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Celebrity recognition annotation per video.
# Corresponds to the JSON property `celebrityRecognitionAnnotations`
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
attr_accessor :celebrity_recognition_annotations
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@ -4603,6 +4714,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
@error = args[:error] if args.key?(:error) @error = args[:error] if args.key?(:error)
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)

View File

@ -616,6 +616,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -694,6 +712,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1824,6 +1848,33 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrity_tracks, as: 'celebrityTracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrities, as: 'celebrities', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity::Representation
property :face_track, as: 'faceTrack', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1950,6 +2001,15 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity, as: 'celebrity', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity::Representation
property :confidence, as: 'confidence'
end
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2063,6 +2123,8 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity_recognition_annotations, as: 'celebrityRecognitionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus::Representation property :error, as: 'error', class: Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus::Representation
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::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 VideointelligenceV1p2beta1 module VideointelligenceV1p2beta1
VERSION = 'V1p2beta1' VERSION = 'V1p2beta1'
REVISION = '20191028' REVISION = '20191109'
# 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

@ -3710,6 +3710,87 @@ module Google
end end
end end
# Celebrity definition.
class GoogleCloudVideointelligenceV1p3beta1Celebrity
include Google::Apis::Core::Hashable
# Textual description of additional information about the celebrity, if
# applicable.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The celebrity name.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# The resource name of the celebrity. Have the format
# `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
# kg-mid is the id in Google knowledge graph, which is unique for the
# celebrity.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
end
end
# Celebrity recognition annotation per video.
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
include Google::Apis::Core::Hashable
# The tracks detected from the input video, including recognized celebrities
# and other detected faces in the video.
# Corresponds to the JSON property `celebrityTracks`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
attr_accessor :celebrity_tracks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
end
end
# The annotation result of a celebrity face track. RecognizedCelebrity field
# could be empty if the face track does not have any matched celebrities.
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
include Google::Apis::Core::Hashable
# Top N match of the celebrities for the face in this track.
# Corresponds to the JSON property `celebrities`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
attr_accessor :celebrities
# A track of an object instance.
# Corresponds to the JSON property `faceTrack`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track]
attr_accessor :face_track
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrities = args[:celebrities] if args.key?(:celebrities)
@face_track = args[:face_track] if args.key?(:face_track)
end
end
# A generic detected attribute represented by name in string format. # A generic detected attribute represented by name in string format.
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4125,6 +4206,31 @@ module Google
end end
end end
# The recognized celebrity with confidence score.
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
include Google::Apis::Core::Hashable
# Celebrity definition.
# Corresponds to the JSON property `celebrity`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
attr_accessor :celebrity
# Recognition confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity = args[:celebrity] if args.key?(:celebrity)
@confidence = args[:confidence] if args.key?(:confidence)
end
end
# Alternative hypotheses (a.k.a. n-best list). # Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4505,6 +4611,11 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Celebrity recognition annotation per video.
# Corresponds to the JSON property `celebrityRecognitionAnnotations`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
attr_accessor :celebrity_recognition_annotations
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@ -4603,6 +4714,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
@error = args[:error] if args.key?(:error) @error = args[:error] if args.key?(:error)
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)

View File

@ -616,6 +616,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -694,6 +712,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1824,6 +1848,33 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrity_tracks, as: 'celebrityTracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrities, as: 'celebrities', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity::Representation
property :face_track, as: 'faceTrack', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1950,6 +2001,15 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity, as: 'celebrity', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity::Representation
property :confidence, as: 'confidence'
end
end
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2063,6 +2123,8 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity_recognition_annotations, as: 'celebrityRecognitionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus::Representation property :error, as: 'error', class: Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus::Representation
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/ # @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1p3beta1 module VideointelligenceV1p3beta1
VERSION = 'V1p3beta1' VERSION = 'V1p3beta1'
REVISION = '20191028' REVISION = '20191109'
# 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

@ -3376,6 +3376,87 @@ module Google
end end
end end
# Celebrity definition.
class GoogleCloudVideointelligenceV1p3beta1Celebrity
include Google::Apis::Core::Hashable
# Textual description of additional information about the celebrity, if
# applicable.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The celebrity name.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# The resource name of the celebrity. Have the format
# `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
# kg-mid is the id in Google knowledge graph, which is unique for the
# celebrity.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
end
end
# Celebrity recognition annotation per video.
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
include Google::Apis::Core::Hashable
# The tracks detected from the input video, including recognized celebrities
# and other detected faces in the video.
# Corresponds to the JSON property `celebrityTracks`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
attr_accessor :celebrity_tracks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
end
end
# The annotation result of a celebrity face track. RecognizedCelebrity field
# could be empty if the face track does not have any matched celebrities.
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
include Google::Apis::Core::Hashable
# Top N match of the celebrities for the face in this track.
# Corresponds to the JSON property `celebrities`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
attr_accessor :celebrities
# A track of an object instance.
# Corresponds to the JSON property `faceTrack`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track]
attr_accessor :face_track
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrities = args[:celebrities] if args.key?(:celebrities)
@face_track = args[:face_track] if args.key?(:face_track)
end
end
# A generic detected attribute represented by name in string format. # A generic detected attribute represented by name in string format.
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3893,6 +3974,31 @@ module Google
end end
end end
# The recognized celebrity with confidence score.
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
include Google::Apis::Core::Hashable
# Celebrity definition.
# Corresponds to the JSON property `celebrity`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
attr_accessor :celebrity
# Recognition confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity = args[:celebrity] if args.key?(:celebrity)
@confidence = args[:confidence] if args.key?(:confidence)
end
end
# Config for SHOT_CHANGE_DETECTION. # Config for SHOT_CHANGE_DETECTION.
class GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig class GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4448,6 +4554,11 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Celebrity recognition annotation per video.
# Corresponds to the JSON property `celebrityRecognitionAnnotations`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
attr_accessor :celebrity_recognition_annotations
# The `Status` type defines a logical error model that is suitable for # The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is # different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@ -4546,6 +4657,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
@error = args[:error] if args.key?(:error) @error = args[:error] if args.key?(:error)
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)

View File

@ -568,6 +568,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -664,6 +682,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig class GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1741,6 +1765,33 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1Celebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrity_tracks, as: 'celebrityTracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :celebrities, as: 'celebrities', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity::Representation
property :face_track, as: 'faceTrack', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
end
end
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1892,6 +1943,15 @@ module Google
end end
end end
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity, as: 'celebrity', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity::Representation
property :confidence, as: 'confidence'
end
end
class GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig class GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2043,6 +2103,8 @@ module Google
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity_recognition_annotations, as: 'celebrityRecognitionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus::Representation property :error, as: 'error', class: Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus::Representation
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation