Autogenerated update (2020-01-23)
Update: - alertcenter_v1beta1 - bigqueryreservation_v1 - bigqueryreservation_v1alpha2 - bigqueryreservation_v1beta1 - containeranalysis_v1alpha1 - containeranalysis_v1beta1 - datacatalog_v1beta1 - healthcare_v1beta1 - iap_v1 - remotebuildexecution_v2 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1
This commit is contained in:
parent
a23dd15130
commit
c2185d8f79
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/admin-sdk/alertcenter/
|
||||
module AlertcenterV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200104'
|
||||
REVISION = '20200116'
|
||||
|
||||
# See and delete your domain's G Suite alerts, and send alert feedback
|
||||
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
|
||||
|
|
|
@ -962,6 +962,7 @@ module Google
|
|||
# * Suspicious message reported
|
||||
# * Phishing reclassification
|
||||
# * Malware reclassification
|
||||
# * Gmail potential employee spoofing
|
||||
class MailPhishing
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -986,6 +987,11 @@ module Google
|
|||
# @return [Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>]
|
||||
attr_accessor :messages
|
||||
|
||||
# System actions on the messages.
|
||||
# Corresponds to the JSON property `systemActionType`
|
||||
# @return [String]
|
||||
attr_accessor :system_action_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -996,6 +1002,7 @@ module Google
|
|||
@is_internal = args[:is_internal] if args.key?(:is_internal)
|
||||
@malicious_entity = args[:malicious_entity] if args.key?(:malicious_entity)
|
||||
@messages = args[:messages] if args.key?(:messages)
|
||||
@system_action_type = args[:system_action_type] if args.key?(:system_action_type)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -506,6 +506,7 @@ module Google
|
|||
|
||||
collection :messages, as: 'messages', class: Google::Apis::AlertcenterV1beta1::GmailMessageInfo, decorator: Google::Apis::AlertcenterV1beta1::GmailMessageInfo::Representation
|
||||
|
||||
property :system_action_type, as: 'systemActionType'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20191029'
|
||||
REVISION = '20200116'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -66,28 +66,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# BigQuery-specific metadata about a location. This will be set on
|
||||
# google.cloud.location.Location.metadata in Cloud Location API
|
||||
# responses.
|
||||
class LocationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The legacy BigQuery location ID, e.g. “EU” for the “europe” location.
|
||||
# This is for any API consumers that need the legacy “US” and “EU” locations.
|
||||
# Corresponds to the JSON property `legacyLocationId`
|
||||
# @return [String]
|
||||
attr_accessor :legacy_location_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@legacy_location_id = args[:legacy_location_id] if args.key?(:legacy_location_id)
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class Operation
|
||||
|
|
|
@ -34,12 +34,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -67,13 +61,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :legacy_location_id, as: 'legacyLocationId'
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1alpha2
|
||||
VERSION = 'V1alpha2'
|
||||
REVISION = '20191211'
|
||||
REVISION = '20200116'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -140,28 +140,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# BigQuery-specific metadata about a location. This will be set on
|
||||
# google.cloud.location.Location.metadata in Cloud Location API
|
||||
# responses.
|
||||
class LocationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The legacy BigQuery location ID, e.g. “EU” for the “europe” location.
|
||||
# This is for any API consumers that need the legacy “US” and “EU” locations.
|
||||
# Corresponds to the JSON property `legacyLocationId`
|
||||
# @return [String]
|
||||
attr_accessor :legacy_location_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@legacy_location_id = args[:legacy_location_id] if args.key?(:legacy_location_id)
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class Operation
|
||||
|
|
|
@ -52,12 +52,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -134,13 +128,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :legacy_location_id, as: 'legacyLocationId'
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20191211'
|
||||
REVISION = '20200116'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -231,31 +231,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response message for Locations.ListLocations.
|
||||
class ListLocationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of locations that matches the specified filter in the request.
|
||||
# Corresponds to the JSON property `locations`
|
||||
# @return [Array<Google::Apis::BigqueryreservationV1beta1::Location>]
|
||||
attr_accessor :locations
|
||||
|
||||
# The standard List next-page token.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@locations = args[:locations] if args.key?(:locations)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# The response for ReservationService.ListReservations.
|
||||
class ListReservationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -282,75 +257,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A resource that represents Google Cloud Platform location.
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The friendly name for this location, typically a nearby city name.
|
||||
# For example, "Tokyo".
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The canonical id for this location. For example: `"us-east1"`.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Service-specific metadata. For example the available capacity at the given
|
||||
# location.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Resource name for the location, which may vary between implementations.
|
||||
# For example: `"projects/example-project/locations/us-east1"`
|
||||
# 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)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# BigQuery-specific metadata about a location. This will be set on
|
||||
# google.cloud.location.Location.metadata in Cloud Location API
|
||||
# responses.
|
||||
class LocationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The legacy BigQuery location ID, e.g. “EU” for the “europe” location.
|
||||
# This is for any API consumers that need the legacy “US” and “EU” locations.
|
||||
# Corresponds to the JSON property `legacyLocationId`
|
||||
# @return [String]
|
||||
attr_accessor :legacy_location_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@legacy_location_id = args[:legacy_location_id] if args.key?(:legacy_location_id)
|
||||
end
|
||||
end
|
||||
|
||||
# The request for
|
||||
# ReservationService.MoveAssignment.
|
||||
# Note: "bigquery.reservationAssignments.create" permission is required on the
|
||||
|
@ -382,7 +288,7 @@ module Google
|
|||
|
||||
# If false, any query using this reservation will use idle slots from other
|
||||
# reservations within the same admin project. If true, a query using this
|
||||
# reservation will execute with the maximum slot capacity as specified above.
|
||||
# reservation will execute with the slot capacity specified above at most.
|
||||
# Corresponds to the JSON property `ignoreIdleSlots`
|
||||
# @return [Boolean]
|
||||
attr_accessor :ignore_idle_slots
|
||||
|
@ -394,10 +300,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Maximum slots available to this reservation. A slot is a unit of
|
||||
# computational power in BigQuery, and serves as the unit of parallelism. In
|
||||
# a scan of a multi-partitioned table, a single slot operates on a single
|
||||
# partition of the table.
|
||||
# Minimum slots available to this reservation. A slot is a unit of
|
||||
# computational power in BigQuery, and serves as the unit of parallelism.
|
||||
# Queries using this reservation might use more slots during runtime if
|
||||
# ignore_idle_slots is set to false.
|
||||
# If the new reservation's slot capacity exceed the parent's slot capacity or
|
||||
# if total slot capacity of the new reservation and its siblings exceeds the
|
||||
# parent's slot capacity, the request will fail with
|
||||
|
|
|
@ -58,30 +58,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListReservationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Location
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MoveAssignmentRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -162,15 +144,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :locations, as: 'locations', class: Google::Apis::BigqueryreservationV1beta1::Location, decorator: Google::Apis::BigqueryreservationV1beta1::Location::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListReservationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -180,24 +153,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :legacy_location_id, as: 'legacyLocationId'
|
||||
end
|
||||
end
|
||||
|
||||
class MoveAssignmentRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -47,36 +47,6 @@ module Google
|
|||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Gets information about a location.
|
||||
# @param [String] name
|
||||
# Resource name for the location.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::BigqueryreservationV1beta1::Location] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::BigqueryreservationV1beta1::Location]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::BigqueryreservationV1beta1::Location::Representation
|
||||
command.response_class = Google::Apis::BigqueryreservationV1beta1::Location
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves a BI reservation.
|
||||
# @param [String] name
|
||||
# Name of the requested reservation, for example:
|
||||
|
@ -108,45 +78,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists information about the supported locations for this service.
|
||||
# @param [String] name
|
||||
# The resource that owns the locations collection, if applicable.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::BigqueryreservationV1beta1::ListLocationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::BigqueryreservationV1beta1::ListLocationsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
|
||||
command.response_representation = Google::Apis::BigqueryreservationV1beta1::ListLocationsResponse::Representation
|
||||
command.response_class = Google::Apis::BigqueryreservationV1beta1::ListLocationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Looks up assignments for a specified resource for a particular region.
|
||||
# If the request is about a project:
|
||||
# 1) Assignments created on the project will be returned if they exist.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
||||
module ContaineranalysisV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20191209'
|
||||
REVISION = '20200120'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -190,10 +190,28 @@ module Google
|
|||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL)
|
||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||
# are documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit"
|
||||
# description: "Determines if a summary is less than 100 chars"
|
||||
# expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner"
|
||||
# description: "Determines if requestor is the document owner"
|
||||
# expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents"
|
||||
# description: "Determine whether the document should be publicly visible"
|
||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string"
|
||||
# description: "Create a notification string with a timestamp."
|
||||
# expression: "'New message received at ' + string(document.create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service
|
||||
# documentation for additional information.
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::ContaineranalysisV1alpha1::Expr]
|
||||
attr_accessor :condition
|
||||
|
@ -885,34 +903,50 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL)
|
||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||
# are documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit"
|
||||
# description: "Determines if a summary is less than 100 chars"
|
||||
# expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner"
|
||||
# description: "Determines if requestor is the document owner"
|
||||
# expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents"
|
||||
# description: "Determine whether the document should be publicly visible"
|
||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string"
|
||||
# description: "Create a notification string with a timestamp."
|
||||
# expression: "'New message received at ' + string(document.create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service
|
||||
# documentation for additional information.
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# Optional. Description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in
|
||||
# Common Expression Language syntax.
|
||||
# The application context of the containing message determines which
|
||||
# well-known feature set of CEL is supported.
|
||||
# Textual representation of an expression in Common Expression Language
|
||||
# syntax.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# Optional. String indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing
|
||||
# Optional. Title for the expression, i.e. a short string describing
|
||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||
# expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
||||
module ContaineranalysisV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20191209'
|
||||
REVISION = '20200120'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -263,10 +263,28 @@ module Google
|
|||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL)
|
||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||
# are documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit"
|
||||
# description: "Determines if a summary is less than 100 chars"
|
||||
# expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner"
|
||||
# description: "Determines if requestor is the document owner"
|
||||
# expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents"
|
||||
# description: "Determine whether the document should be publicly visible"
|
||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string"
|
||||
# description: "Create a notification string with a timestamp."
|
||||
# expression: "'New message received at ' + string(document.create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service
|
||||
# documentation for additional information.
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::ContaineranalysisV1beta1::Expr]
|
||||
attr_accessor :condition
|
||||
|
@ -1027,34 +1045,50 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL)
|
||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||
# are documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit"
|
||||
# description: "Determines if a summary is less than 100 chars"
|
||||
# expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner"
|
||||
# description: "Determines if requestor is the document owner"
|
||||
# expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents"
|
||||
# description: "Determine whether the document should be publicly visible"
|
||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string"
|
||||
# description: "Create a notification string with a timestamp."
|
||||
# expression: "'New message received at ' + string(document.create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service
|
||||
# documentation for additional information.
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# Optional. Description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in
|
||||
# Common Expression Language syntax.
|
||||
# The application context of the containing message determines which
|
||||
# well-known feature set of CEL is supported.
|
||||
# Textual representation of an expression in Common Expression Language
|
||||
# syntax.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# Optional. String indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing
|
||||
# Optional. Title for the expression, i.e. a short string describing
|
||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||
# expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/data-catalog/docs/
|
||||
module DatacatalogV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20191231'
|
||||
REVISION = '20200115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -582,7 +582,7 @@ module Google
|
|||
|
||||
# Required. Patterns to identify a set of files in Google Cloud Storage. See [
|
||||
# Cloud
|
||||
# Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
|
||||
# Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
|
||||
# more information. Note that bucket wildcards are currently not supported.
|
||||
# Examples of valid file_patterns:
|
||||
# * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
|
||||
|
|
|
@ -108,7 +108,7 @@ module Google
|
|||
# * ``pubsub.project_id.`topic.id.with.dots` ``
|
||||
# * `bigquery.table.project_id.dataset_id.table_id`
|
||||
# * `bigquery.dataset.project_id.dataset_id`
|
||||
# * `datacatalog.project_id.location_id.entry_group_id.entry_id`
|
||||
# * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
|
||||
# `*_id`s shoud satisfy the standard SQL rules for identifiers.
|
||||
# https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
|
||||
# @param [String] fields
|
||||
|
@ -615,53 +615,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for a resource. Replaces any existing
|
||||
# policy.
|
||||
# Supported resources are:
|
||||
# - Tag templates.
|
||||
# - Entries.
|
||||
# - Entry groups.
|
||||
# Note, this method cannot be used to manage policies for BigQuery, Cloud
|
||||
# Pub/Sub and any external Google Cloud Platform resources synced to Cloud
|
||||
# Data Catalog.
|
||||
# Callers must have following Google IAM permission
|
||||
# - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
|
||||
# templates.
|
||||
# - `datacatalog.entries.setIamPolicy` to set policies on entries.
|
||||
# - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DatacatalogV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DatacatalogV1beta1::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_entry_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::DatacatalogV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the caller's permissions on a resource.
|
||||
# If the resource does not exist, an empty set of permissions is returned
|
||||
# (We don't return a `NOT_FOUND` error).
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/healthcare
|
||||
module HealthcareV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20191213'
|
||||
REVISION = '20200116'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1613,9 +1613,12 @@ module Google
|
|||
# @return [Google::Apis::HealthcareV1beta1::RedactConfig]
|
||||
attr_accessor :redact_config
|
||||
|
||||
# When using the INSPECT_AND_TRANSFORM action, each match is replaced with
|
||||
# the name of the info_type. For example, "My name is Jake" becomes "My name is
|
||||
# [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
|
||||
# When using the
|
||||
# INSPECT_AND_TRANSFORM
|
||||
# action, each match is replaced with the name of the info_type. For example,
|
||||
# "My name is Jake" becomes "My name is [PERSON_NAME]." The
|
||||
# TRANSFORM
|
||||
# action is equivalent to redacting.
|
||||
# Corresponds to the JSON property `replaceWithInfoTypeConfig`
|
||||
# @return [Google::Apis::HealthcareV1beta1::ReplaceWithInfoTypeConfig]
|
||||
attr_accessor :replace_with_info_type_config
|
||||
|
@ -2368,9 +2371,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# When using the INSPECT_AND_TRANSFORM action, each match is replaced with
|
||||
# the name of the info_type. For example, "My name is Jake" becomes "My name is
|
||||
# [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
|
||||
# When using the
|
||||
# INSPECT_AND_TRANSFORM
|
||||
# action, each match is replaced with the name of the info_type. For example,
|
||||
# "My name is Jake" becomes "My name is [PERSON_NAME]." The
|
||||
# TRANSFORM
|
||||
# action is equivalent to redacting.
|
||||
class ReplaceWithInfoTypeConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -3599,6 +3599,11 @@ module Google
|
|||
end
|
||||
|
||||
# Update the message.
|
||||
# The contents of the message in Message.data and data extracted from
|
||||
# the contents such as Message.create_time cannot be altered. Only the
|
||||
# Message.labels field is allowed to be updated. The labels in the
|
||||
# request are merged with the existing set of labels. Existing labels with
|
||||
# the same keys are updated.
|
||||
# @param [String] name
|
||||
# Resource name of the Message, of the form
|
||||
# `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
|
||||
|
@ -3610,9 +3615,6 @@ module Google
|
|||
# see
|
||||
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
||||
# fieldmask
|
||||
# Only the `labels` field is allowed to be updated.
|
||||
# The labels in the request are merged with the existing set of labels.
|
||||
# Existing labels with the same keys are updated.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/iap
|
||||
module IapV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200102'
|
||||
REVISION = '20200117'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -80,10 +80,28 @@ module Google
|
|||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL)
|
||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||
# are documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit"
|
||||
# description: "Determines if a summary is less than 100 chars"
|
||||
# expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner"
|
||||
# description: "Determines if requestor is the document owner"
|
||||
# expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents"
|
||||
# description: "Determine whether the document should be publicly visible"
|
||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string"
|
||||
# description: "Create a notification string with a timestamp."
|
||||
# expression: "'New message received at ' + string(document.create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service
|
||||
# documentation for additional information.
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::IapV1::Expr]
|
||||
attr_accessor :condition
|
||||
|
@ -247,34 +265,50 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL)
|
||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||
# are documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit"
|
||||
# description: "Determines if a summary is less than 100 chars"
|
||||
# expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner"
|
||||
# description: "Determines if requestor is the document owner"
|
||||
# expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents"
|
||||
# description: "Determine whether the document should be publicly visible"
|
||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string"
|
||||
# description: "Create a notification string with a timestamp."
|
||||
# expression: "'New message received at ' + string(document.create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service
|
||||
# documentation for additional information.
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# Optional. Description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in
|
||||
# Common Expression Language syntax.
|
||||
# The application context of the containing message determines which
|
||||
# well-known feature set of CEL is supported.
|
||||
# Textual representation of an expression in Common Expression Language
|
||||
# syntax.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# Optional. String indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing
|
||||
# Optional. Title for the expression, i.e. a short string describing
|
||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||
# expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
|
|
|
@ -75,8 +75,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_oauth_project_brand(parent, brand_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/oauth/{+parent}/brands', options)
|
||||
def create_project_brand(parent, brand_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/brands', options)
|
||||
command.request_representation = Google::Apis::IapV1::Brand::Representation
|
||||
command.request_object = brand_object
|
||||
command.response_representation = Google::Apis::IapV1::Brand::Representation
|
||||
|
@ -108,8 +108,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_oauth_project_brand(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/oauth/{+name}', options)
|
||||
def get_project_brand(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::IapV1::Brand::Representation
|
||||
command.response_class = Google::Apis::IapV1::Brand
|
||||
command.params['name'] = name unless name.nil?
|
||||
|
@ -139,8 +139,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_oauth_project_brands(parent, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/oauth/{+parent}/brands', options)
|
||||
def list_project_brands(parent, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/brands', options)
|
||||
command.response_representation = Google::Apis::IapV1::ListBrandsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1::ListBrandsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
|
@ -175,8 +175,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_oauth_project_brand_identity_aware_proxy_client(parent, identity_aware_proxy_client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/oauth/{+parent}/identityAwareProxyClients', options)
|
||||
def create_project_brand_identity_aware_proxy_client(parent, identity_aware_proxy_client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/identityAwareProxyClients', options)
|
||||
command.request_representation = Google::Apis::IapV1::IdentityAwareProxyClient::Representation
|
||||
command.request_object = identity_aware_proxy_client_object
|
||||
command.response_representation = Google::Apis::IapV1::IdentityAwareProxyClient::Representation
|
||||
|
@ -212,8 +212,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_oauth_project_brand_identity_aware_proxy_client(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/oauth/{+name}', options)
|
||||
def delete_project_brand_identity_aware_proxy_client(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::IapV1::Empty::Representation
|
||||
command.response_class = Google::Apis::IapV1::Empty
|
||||
command.params['name'] = name unless name.nil?
|
||||
|
@ -246,8 +246,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_oauth_project_brand_identity_aware_proxy_client(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/oauth/{+name}', options)
|
||||
def get_project_brand_identity_aware_proxy_client(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::IapV1::IdentityAwareProxyClient::Representation
|
||||
command.response_class = Google::Apis::IapV1::IdentityAwareProxyClient
|
||||
command.params['name'] = name unless name.nil?
|
||||
|
@ -288,8 +288,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_oauth_project_brand_identity_aware_proxy_clients(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/oauth/{+parent}/identityAwareProxyClients', options)
|
||||
def list_project_brand_identity_aware_proxy_clients(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/identityAwareProxyClients', options)
|
||||
command.response_representation = Google::Apis::IapV1::ListIdentityAwareProxyClientsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1::ListIdentityAwareProxyClientsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
|
@ -325,8 +325,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def reset_oauth_project_brand_identity_aware_proxy_client_secret(name, reset_identity_aware_proxy_client_secret_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/oauth/{+name}:resetSecret', options)
|
||||
def reset_project_brand_identity_aware_proxy_client_secret(name, reset_identity_aware_proxy_client_secret_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:resetSecret', options)
|
||||
command.request_representation = Google::Apis::IapV1::ResetIdentityAwareProxyClientSecretRequest::Representation
|
||||
command.request_object = reset_identity_aware_proxy_client_secret_request_object
|
||||
command.response_representation = Google::Apis::IapV1::IdentityAwareProxyClient::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||
module RemotebuildexecutionV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200102'
|
||||
REVISION = '20200121'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2793,6 +2793,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
||||
# The maximum number of actions a worker can execute concurrently.
|
||||
# Corresponds to the JSON property `maxConcurrentActions`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_concurrent_actions
|
||||
|
||||
# Minimum CPU platform to use when creating the worker.
|
||||
# See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
|
||||
# Corresponds to the JSON property `minCpuPlatform`
|
||||
|
@ -2828,6 +2833,7 @@ module Google
|
|||
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||
@max_concurrent_actions = args[:max_concurrent_actions] if args.key?(:max_concurrent_actions)
|
||||
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
||||
@network_access = args[:network_access] if args.key?(:network_access)
|
||||
@reserved = args[:reserved] if args.key?(:reserved)
|
||||
|
|
|
@ -1093,6 +1093,7 @@ module Google
|
|||
property :disk_type, as: 'diskType'
|
||||
hash :labels, as: 'labels'
|
||||
property :machine_type, as: 'machineType'
|
||||
property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions'
|
||||
property :min_cpu_platform, as: 'minCpuPlatform'
|
||||
property :network_access, as: 'networkAccess'
|
||||
property :reserved, as: 'reserved'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20191109'
|
||||
REVISION = '20200115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3904,6 +3904,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Face detection annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The thumbnail of a person's face.
|
||||
# Corresponds to the JSON property `thumbnail`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :thumbnail
|
||||
|
||||
# The face tracks with attributes.
|
||||
# Corresponds to the JSON property `tracks`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
||||
attr_accessor :tracks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
||||
@tracks = args[:tracks] if args.key?(:tracks)
|
||||
end
|
||||
end
|
||||
|
||||
# Label annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4633,6 +4659,11 @@ module Google
|
|||
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
||||
attr_accessor :explicit_annotation
|
||||
|
||||
# Face detection annotations.
|
||||
# Corresponds to the JSON property `faceDetectionAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
||||
attr_accessor :face_detection_annotations
|
||||
|
||||
# Label annotations on frame level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||
|
@ -4717,6 +4748,7 @@ module Google
|
|||
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
||||
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
||||
|
|
|
@ -658,6 +658,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1927,6 +1933,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :thumbnail, :base64 => true, as: 'thumbnail'
|
||||
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2147,6 +2162,8 @@ module Google
|
|||
|
||||
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
|
||||
|
||||
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
|
||||
|
||||
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
property :input_uri, as: 'inputUri'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20191109'
|
||||
REVISION = '20200115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3904,6 +3904,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Face detection annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The thumbnail of a person's face.
|
||||
# Corresponds to the JSON property `thumbnail`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :thumbnail
|
||||
|
||||
# The face tracks with attributes.
|
||||
# Corresponds to the JSON property `tracks`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track>]
|
||||
attr_accessor :tracks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
||||
@tracks = args[:tracks] if args.key?(:tracks)
|
||||
end
|
||||
end
|
||||
|
||||
# Label annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4633,6 +4659,11 @@ module Google
|
|||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
||||
attr_accessor :explicit_annotation
|
||||
|
||||
# Face detection annotations.
|
||||
# Corresponds to the JSON property `faceDetectionAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
||||
attr_accessor :face_detection_annotations
|
||||
|
||||
# Label annotations on frame level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||
|
@ -4717,6 +4748,7 @@ module Google
|
|||
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
||||
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
||||
|
|
|
@ -658,6 +658,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1909,6 +1915,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :thumbnail, :base64 => true, as: 'thumbnail'
|
||||
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2129,6 +2144,8 @@ module Google
|
|||
|
||||
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
|
||||
|
||||
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
|
||||
|
||||
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
property :input_uri, as: 'inputUri'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20191109'
|
||||
REVISION = '20200115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3904,6 +3904,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Face detection annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The thumbnail of a person's face.
|
||||
# Corresponds to the JSON property `thumbnail`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :thumbnail
|
||||
|
||||
# The face tracks with attributes.
|
||||
# Corresponds to the JSON property `tracks`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
||||
attr_accessor :tracks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
||||
@tracks = args[:tracks] if args.key?(:tracks)
|
||||
end
|
||||
end
|
||||
|
||||
# Label annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4633,6 +4659,11 @@ module Google
|
|||
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
||||
attr_accessor :explicit_annotation
|
||||
|
||||
# Face detection annotations.
|
||||
# Corresponds to the JSON property `faceDetectionAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
||||
attr_accessor :face_detection_annotations
|
||||
|
||||
# Label annotations on frame level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||
|
@ -4717,6 +4748,7 @@ module Google
|
|||
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
||||
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
||||
|
|
|
@ -658,6 +658,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1909,6 +1915,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :thumbnail, :base64 => true, as: 'thumbnail'
|
||||
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2129,6 +2144,8 @@ module Google
|
|||
|
||||
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
|
||||
|
||||
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
|
||||
|
||||
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
property :input_uri, as: 'inputUri'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20191109'
|
||||
REVISION = '20200115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3904,6 +3904,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Face detection annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The thumbnail of a person's face.
|
||||
# Corresponds to the JSON property `thumbnail`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :thumbnail
|
||||
|
||||
# The face tracks with attributes.
|
||||
# Corresponds to the JSON property `tracks`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
||||
attr_accessor :tracks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
||||
@tracks = args[:tracks] if args.key?(:tracks)
|
||||
end
|
||||
end
|
||||
|
||||
# Label annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4633,6 +4659,11 @@ module Google
|
|||
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
||||
attr_accessor :explicit_annotation
|
||||
|
||||
# Face detection annotations.
|
||||
# Corresponds to the JSON property `faceDetectionAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
||||
attr_accessor :face_detection_annotations
|
||||
|
||||
# Label annotations on frame level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||
|
@ -4717,6 +4748,7 @@ module Google
|
|||
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
||||
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
||||
|
|
|
@ -658,6 +658,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1909,6 +1915,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :thumbnail, :base64 => true, as: 'thumbnail'
|
||||
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2129,6 +2144,8 @@ module Google
|
|||
|
||||
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
|
||||
|
||||
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
|
||||
|
||||
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
property :input_uri, as: 'inputUri'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p3beta1
|
||||
VERSION = 'V1p3beta1'
|
||||
REVISION = '20191109'
|
||||
REVISION = '20200115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3591,6 +3591,68 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Face detection annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The thumbnail of a person's face.
|
||||
# Corresponds to the JSON property `thumbnail`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :thumbnail
|
||||
|
||||
# The face tracks with attributes.
|
||||
# Corresponds to the JSON property `tracks`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
||||
attr_accessor :tracks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
||||
@tracks = args[:tracks] if args.key?(:tracks)
|
||||
end
|
||||
end
|
||||
|
||||
# Config for FACE_DETECTION.
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether to enable face attributes detection, such as glasses, dark_glasses,
|
||||
# mouth_open etc. Ignored if 'include_bounding_boxes' is false.
|
||||
# Corresponds to the JSON property `includeAttributes`
|
||||
# @return [Boolean]
|
||||
attr_accessor :include_attributes
|
||||
alias_method :include_attributes?, :include_attributes
|
||||
|
||||
# Whether bounding boxes be included in the face annotation output.
|
||||
# Corresponds to the JSON property `includeBoundingBoxes`
|
||||
# @return [Boolean]
|
||||
attr_accessor :include_bounding_boxes
|
||||
alias_method :include_bounding_boxes?, :include_bounding_boxes
|
||||
|
||||
# Model to use for face detection.
|
||||
# Supported values: "builtin/stable" (the default if unset) and
|
||||
# "builtin/latest".
|
||||
# Corresponds to the JSON property `model`
|
||||
# @return [String]
|
||||
attr_accessor :model
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@include_attributes = args[:include_attributes] if args.key?(:include_attributes)
|
||||
@include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
|
||||
@model = args[:model] if args.key?(:model)
|
||||
end
|
||||
end
|
||||
|
||||
# Label annotation.
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4576,6 +4638,11 @@ module Google
|
|||
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
||||
attr_accessor :explicit_annotation
|
||||
|
||||
# Face detection annotations.
|
||||
# Corresponds to the JSON property `faceDetectionAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
||||
attr_accessor :face_detection_annotations
|
||||
|
||||
# Label annotations on frame level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||
|
@ -4660,6 +4727,7 @@ module Google
|
|||
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
||||
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
||||
|
@ -4684,6 +4752,11 @@ module Google
|
|||
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentDetectionConfig]
|
||||
attr_accessor :explicit_content_detection_config
|
||||
|
||||
# Config for FACE_DETECTION.
|
||||
# Corresponds to the JSON property `faceDetectionConfig`
|
||||
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig]
|
||||
attr_accessor :face_detection_config
|
||||
|
||||
# Config for LABEL_DETECTION.
|
||||
# Corresponds to the JSON property `labelDetectionConfig`
|
||||
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig]
|
||||
|
@ -4723,6 +4796,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
|
||||
@face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config)
|
||||
@label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
|
||||
@object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
|
||||
@segments = args[:segments] if args.key?(:segments)
|
||||
|
|
|
@ -616,6 +616,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1833,6 +1845,24 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :thumbnail, :base64 => true, as: 'thumbnail'
|
||||
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :include_attributes, as: 'includeAttributes'
|
||||
property :include_bounding_boxes, as: 'includeBoundingBoxes'
|
||||
property :model, as: 'model'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2109,6 +2139,8 @@ module Google
|
|||
|
||||
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
|
||||
|
||||
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
|
||||
|
||||
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
property :input_uri, as: 'inputUri'
|
||||
|
@ -2140,6 +2172,8 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentDetectionConfig::Representation
|
||||
|
||||
property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig::Representation
|
||||
|
||||
property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig::Representation
|
||||
|
||||
property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig::Representation
|
||||
|
|
Loading…
Reference in New Issue