Autogenerated update (2020-10-02)

Update:
- compute_alpha
- compute_beta
- compute_v1
- content_v2
- content_v2_1
- jobs_v3
- pubsublite_v1
- redis_v1
- redis_v1beta1
- videointelligence_v1beta2
- videointelligence_v1p2beta1
- videointelligence_v1p3beta1
- youtube_partner_v1
- youtube_v3
This commit is contained in:
Google APIs 2020-10-02 00:39:08 +00:00
parent 3de255c127
commit b2d4b24a19
40 changed files with 7376 additions and 618 deletions

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -2008,6 +2008,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstantSnapshot
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstantSnapshotList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class Int64RangeMatch
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4240,6 +4264,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SecurityPolicyRuleRateLimitOptionsThreshold
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SecuritySettings
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4618,6 +4648,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Subsetting
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TcpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5834,7 +5870,6 @@ module Google
property :location_hint, as: 'locationHint'
property :machine_type, as: 'machineType'
property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
property :maintenance_interval, as: 'maintenanceInterval'
property :min_cpu_platform, as: 'minCpuPlatform'
end
end
@ -6296,6 +6331,8 @@ module Google
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
property :session_affinity, as: 'sessionAffinity'
property :subsetting, as: 'subsetting', class: Google::Apis::ComputeAlpha::Subsetting, decorator: Google::Apis::ComputeAlpha::Subsetting::Representation
property :timeout_sec, as: 'timeoutSec'
end
end
@ -6545,6 +6582,7 @@ module Google
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :binding_id, as: 'bindingId'
property :condition, as: 'condition', class: Google::Apis::ComputeAlpha::Expr, decorator: Google::Apis::ComputeAlpha::Expr::Representation
collection :members, as: 'members'
@ -6864,7 +6902,7 @@ module Google
property :region, as: 'region'
collection :replica_zones, as: 'replicaZones'
collection :resource_policies, as: 'resourcePolicies'
property :satisfies_physical_zone_separation, as: 'satisfiesPhysicalZoneSeparation'
property :satisfies_pzs, as: 'satisfiesPzs'
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
property :size_gb, :numeric_string => true, as: 'sizeGb'
@ -8460,9 +8498,10 @@ module Google
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeAlpha::ReservationAffinity, decorator: Google::Apis::ComputeAlpha::ReservationAffinity::Representation
collection :resource_policies, as: 'resourcePolicies'
property :satisfies_physical_zone_separation, as: 'satisfiesPhysicalZoneSeparation'
property :satisfies_pzs, as: 'satisfiesPzs'
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
collection :secure_labels, as: 'secureLabels'
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
@ -9407,6 +9446,60 @@ module Google
end
end
class InstantSnapshot
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :guest_flush, as: 'guestFlush'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
property :source_disk, as: 'sourceDisk'
property :source_disk_id, as: 'sourceDiskId'
property :status, as: 'status'
property :zone, as: 'zone'
end
end
class InstantSnapshotList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::InstantSnapshot, decorator: Google::Apis::ComputeAlpha::InstantSnapshot::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::InstantSnapshotList::Warning, decorator: Google::Apis::ComputeAlpha::InstantSnapshotList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::InstantSnapshotList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::InstantSnapshotList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class Int64RangeMatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -10605,6 +10698,7 @@ module Google
property :name, as: 'name'
property :network, as: 'network'
property :network_ip, as: 'networkIP'
property :queue_count, as: 'queueCount'
property :subnetwork, as: 'subnetwork'
end
end
@ -10830,7 +10924,7 @@ module Google
collection :instances, as: 'instances'
property :name, as: 'name'
property :node_type, as: 'nodeType'
property :satisfies_physical_zone_separation, as: 'satisfiesPhysicalZoneSeparation'
property :satisfies_pzs, as: 'satisfiesPzs'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeAlpha::ServerBinding, decorator: Google::Apis::ComputeAlpha::ServerBinding::Representation
property :server_id, as: 'serverId'
@ -12032,7 +12126,7 @@ module Google
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
property :status, as: 'status'
property :supports_physical_zone_separation, as: 'supportsPhysicalZoneSeparation'
property :supports_pzs, as: 'supportsPzs'
collection :zones, as: 'zones'
end
end
@ -13498,14 +13592,27 @@ module Google
class SecurityPolicyRuleRateLimitOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ban_duration_sec, as: 'banDurationSec'
property :ban_threshold, as: 'banThreshold', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold::Representation
property :block_duration, as: 'blockDuration'
property :conform_action, as: 'conformAction'
property :enforce_on_key, as: 'enforceOnKey'
property :exceed_action, as: 'exceedAction'
property :rate_limit_threshold, as: 'rateLimitThreshold', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold::Representation
property :threshold_rps, as: 'thresholdRps'
end
end
class SecurityPolicyRuleRateLimitOptionsThreshold
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, as: 'count'
property :interval_sec, as: 'intervalSec'
end
end
class SecuritySettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -13568,7 +13675,7 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
collection :nat_ip_cidr_ranges, as: 'natIpCidrRanges'
collection :nat_subnets, as: 'natSubnets'
property :producer_forwarding_rule, as: 'producerForwardingRule'
property :region, as: 'region'
property :self_link, as: 'selfLink'
@ -13702,6 +13809,7 @@ module Google
property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
property :guest_flush, as: 'guestFlush'
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
property :id, :numeric_string => true, as: 'id'
@ -13711,7 +13819,7 @@ module Google
collection :license_codes, as: 'licenseCodes'
collection :licenses, as: 'licenses'
property :name, as: 'name'
property :satisfies_physical_zone_separation, as: 'satisfiesPhysicalZoneSeparation'
property :satisfies_pzs, as: 'satisfiesPzs'
property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId'
property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
@ -14206,6 +14314,13 @@ module Google
end
end
class Subsetting
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :policy, as: 'policy'
end
end
class TcpHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -14307,6 +14422,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :fingerprint, :base64 => true, as: 'fingerprint'
collection :http_filters, as: 'httpFilters'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
@ -15791,7 +15907,7 @@ module Google
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :status, as: 'status'
property :supports_physical_zone_separation, as: 'supportsPhysicalZoneSeparation'
property :supports_pzs, as: 'supportsPzs'
end
end

View File

@ -2631,7 +2631,7 @@ module Google
# Name of the persistent disk to snapshot.
# @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
# @param [Boolean] guest_flush
# [Input Only] Specifies to create an application consistent snapshot by
# [Input Only] Whether to attempt an application consistent snapshot by
# informing the OS to prepare for the snapshot process. Currently only supported
# on Windows instances using the Volume Shadow Copy Service (VSS).
# @param [String] request_id
@ -9489,8 +9489,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the specified instance group. Gets a list of available instance groups
# by making a list() request.
# Returns the specified zonal instance group. Get a list of available zonal
# instance groups by making a list() request.
# For managed instance groups, use the instanceGroupManagers or
# regionInstanceGroupManagers methods instead.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -9581,8 +9583,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of instance groups that are located in the specified
# project and zone.
# Retrieves the list of zonal instance group resources contained within the
# specified zone.
# For managed instance groups, use the instanceGroupManagers or
# regionInstanceGroupManagers methods instead.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -10443,7 +10447,8 @@ module Google
# @param [Google::Apis::ComputeAlpha::AttachedDisk] attached_disk_object
# @param [Boolean] force_attach
# Whether to force attach the regional disk even if it's currently attached to
# another instance.
# another instance. If you try to force attach a zonal disk to an instance, you
# will receive an error.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
@ -25593,6 +25598,414 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the specified InstantSnapshot resource. Keep in mind that deleting a
# single instantSnapshot might not necessarily delete all the data on that
# instantSnapshot. If any data on the instantSnapshot that is marked for
# deletion is needed for subsequent instantSnapshots, the data will be moved to
# the next corresponding instantSnapshot.
# For more information, see Deleting instantSnapshots.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] instant_snapshot
# Name of the InstantSnapshot resource to delete.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_region_instant_snapshot(project, region, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', options)
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns the specified InstantSnapshot resource in the specified region.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] instant_snapshot
# Name of the InstantSnapshot resource to return.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshot] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::InstantSnapshot]
#
# @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_region_instant_snapshot(project, region, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', options)
command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
command.response_class = Google::Apis::ComputeAlpha::InstantSnapshot
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource. May be empty if no such policy
# or resource exists.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::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 get_region_instant_snapshot_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
command.response_class = Google::Apis::ComputeAlpha::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates an instant snapshot in the specified region.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [Google::Apis::ComputeAlpha::InstantSnapshot] instant_snapshot_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_region_instant_snapshot(project, region, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots', options)
command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
command.request_object = instant_snapshot_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the list of InstantSnapshot resources contained within the specified
# region.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named `example-instance` by specifying `name != example-instance`.
# You can also filter nested fields. For example, you could specify `scheduling.
# automaticRestart = false` to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
# expression. However, you can include `AND` and `OR` expressions explicitly.
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
# Broadwell") AND (scheduling.automaticRestart = true) ```
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than `maxResults`, Compute Engine returns a `
# nextPageToken` that can be used to get the next page of results in subsequent
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
# creationTimestamp` field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
# @param [Boolean] return_partial_success
# Opt-in for partial success behavior which provides partial results in case of
# failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshotList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::InstantSnapshotList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_region_instant_snapshots(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots', options)
command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotList::Representation
command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotList
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::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_region_instant_snapshot_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy', options)
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
command.request_object = region_set_policy_request_object
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
command.response_class = Google::Apis::ComputeAlpha::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the labels on a instantSnapshot in the given region. To learn more about
# labels, read the Labeling Resources documentation.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_region_instant_snapshot_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels', options)
command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation
command.request_object = region_set_labels_request_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_region_instant_snapshot_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified network endpoint group. Note that the NEG cannot be
# deleted if it is configured as a backend of a backend service.
# @param [String] project
@ -30632,6 +31045,55 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a snapshot in the specified project using the data included in the
# request.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_snapshot(project, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/global/snapshots', options)
command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation
command.request_object = snapshot_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the list of Snapshot resources contained within the specified
# project.
# @param [String] project
@ -32814,6 +33276,59 @@ module Google
execute_or_queue_command(command, &block)
end
# Patches the specified TargetHttpProxy resource with the data included in the
# request. This method supports PATCH semantics and uses JSON merge patch format
# and processing rules. (== suppress_warning http-rest-shadowed ==)
# @param [String] project
# Project ID for this request.
# @param [String] target_http_proxy
# Name of the TargetHttpProxy resource to patch.
# @param [Google::Apis::ComputeAlpha::TargetHttpProxy] target_http_proxy_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_target_http_proxy(project, target_http_proxy, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options)
command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation
command.request_object = target_http_proxy_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Changes the URL map for TargetHttpProxy.
# @param [String] project
# Project ID for this request.
@ -37547,6 +38062,414 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the specified InstantSnapshot resource. Keep in mind that deleting a
# single instantSnapshot might not necessarily delete all the data on that
# instantSnapshot. If any data on the instantSnapshot that is marked for
# deletion is needed for subsequent instantSnapshots, the data will be moved to
# the next corresponding instantSnapshot.
# For more information, see Deleting instantSnapshots.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instant_snapshot
# Name of the InstantSnapshot resource to delete.
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_zone_instant_snapshot(project, zone, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}', options)
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns the specified InstantSnapshot resource in the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instant_snapshot
# Name of the InstantSnapshot resource to return.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshot] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::InstantSnapshot]
#
# @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_zone_instant_snapshot(project, zone, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}', options)
command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
command.response_class = Google::Apis::ComputeAlpha::InstantSnapshot
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource. May be empty if no such policy
# or resource exists.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Fixnum] options_requested_policy_version
# Requested IAM Policy version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::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 get_zone_instant_snapshot_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
command.response_class = Google::Apis::ComputeAlpha::Policy
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates an instant snapshot in the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# Name of the zone for this request.
# @param [Google::Apis::ComputeAlpha::InstantSnapshot] instant_snapshot_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_zone_instant_snapshot(project, zone, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots', options)
command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
command.request_object = instant_snapshot_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the list of InstantSnapshot resources contained within the specified
# zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] filter
# A filter expression that filters resources listed in the response. The
# expression must specify the field name, a comparison operator, and the value
# that you want to use for filtering. The value must be a string, a number, or a
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
# For example, if you are filtering Compute Engine instances, you can exclude
# instances named `example-instance` by specifying `name != example-instance`.
# You can also filter nested fields. For example, you could specify `scheduling.
# automaticRestart = false` to include instances only if they are not scheduled
# for automatic restarts. You can use filtering on nested fields to filter based
# on resource labels.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
# expression. However, you can include `AND` and `OR` expressions explicitly.
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
# Broadwell") AND (scheduling.automaticRestart = true) ```
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than `maxResults`, Compute Engine returns a `
# nextPageToken` that can be used to get the next page of results in subsequent
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
# creationTimestamp` field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
# @param [String] page_token
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
# by a previous list request to get the next page of results.
# @param [Boolean] return_partial_success
# Opt-in for partial success behavior which provides partial results in case of
# failure. The default value is false and the logic is the same as today.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshotList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::InstantSnapshotList]
#
# @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_zone_instant_snapshots(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshots', options)
command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotList::Representation
command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeAlpha::ZoneSetPolicyRequest] zone_set_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::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_zone_instant_snapshot_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/setIamPolicy', options)
command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation
command.request_object = zone_set_policy_request_object
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
command.response_class = Google::Apis::ComputeAlpha::Policy
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the labels on a instantSnapshot in the given zone. To learn more about
# labels, read the Labeling Resources documentation.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeAlpha::ZoneSetLabelsRequest] zone_set_labels_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_zone_instant_snapshot_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/setLabels', options)
command.request_representation = Google::Apis::ComputeAlpha::ZoneSetLabelsRequest::Representation
command.request_object = zone_set_labels_request_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] resource
# Name or id of the resource for this request.
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_zone_instant_snapshot_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified zone-specific Operations resource.
# @param [String] project
# Project ID for this request.

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1192,6 +1192,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HttpFilterConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpHeaderAction
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1846,6 +1852,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstancesSetNameRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstancesSetServiceAccountRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2086,6 +2098,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LocalDisk
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5041,6 +5059,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Warning::Representation
end
@ -5171,6 +5190,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AddressAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::AddressAggregatedList::Warning::Representation
end
@ -5278,7 +5298,6 @@ module Google
collection :local_ssds, as: 'localSsds', class: Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk, decorator: Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk::Representation
property :machine_type, as: 'machineType'
property :maintenance_interval, as: 'maintenanceInterval'
property :min_cpu_platform, as: 'minCpuPlatform'
end
end
@ -5396,6 +5415,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AutoscalerAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::AutoscalerAggregatedList::Warning::Representation
end
@ -5510,6 +5530,7 @@ module Google
class AutoscalingPolicyCpuUtilization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :predictive_method, as: 'predictiveMethod'
property :utilization_target, as: 'utilizationTarget'
end
end
@ -5707,6 +5728,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::BackendServiceAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::BackendServiceAggregatedList::Warning::Representation
end
@ -5924,6 +5946,7 @@ module Google
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :binding_id, as: 'bindingId'
property :condition, as: 'condition', class: Google::Apis::ComputeBeta::Expr, decorator: Google::Apis::ComputeBeta::Expr::Representation
collection :members, as: 'members'
@ -5998,6 +6021,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::CommitmentAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::CommitmentAggregatedList::Warning::Representation
end
@ -6227,6 +6251,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::DiskAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::DiskAggregatedList::Warning::Representation
end
@ -6327,6 +6352,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::DiskTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::DiskTypeAggregatedList::Warning::Representation
end
@ -6747,6 +6773,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Warning::Representation
end
@ -7111,6 +7138,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::HealthChecksAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::HealthChecksAggregatedList::Warning::Representation
end
@ -7224,6 +7252,15 @@ module Google
end
end
class HttpFilterConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :config, as: 'config'
property :config_type_url, as: 'configTypeUrl'
property :filter_name, as: 'filterName'
end
end
class HttpHeaderAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7369,6 +7406,10 @@ module Google
property :description, as: 'description'
property :header_action, as: 'headerAction', class: Google::Apis::ComputeBeta::HttpHeaderAction, decorator: Google::Apis::ComputeBeta::HttpHeaderAction::Representation
collection :http_filter_configs, as: 'httpFilterConfigs', class: Google::Apis::ComputeBeta::HttpFilterConfig, decorator: Google::Apis::ComputeBeta::HttpFilterConfig::Representation
collection :http_filter_metadata, as: 'httpFilterMetadata', class: Google::Apis::ComputeBeta::HttpFilterConfig, decorator: Google::Apis::ComputeBeta::HttpFilterConfig::Representation
collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeBeta::HttpRouteRuleMatch, decorator: Google::Apis::ComputeBeta::HttpRouteRuleMatch::Representation
property :priority, as: 'priority'
@ -7614,6 +7655,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceAggregatedList::Warning::Representation
end
@ -7666,6 +7708,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Warning::Representation
end
@ -7785,6 +7828,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Warning::Representation
end
@ -8484,6 +8528,14 @@ module Google
end
end
class InstancesSetNameRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :current_name, as: 'currentName'
property :name, as: 'name'
end
end
class InstancesSetServiceAccountRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8583,6 +8635,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Warning::Representation
end
@ -8949,6 +9002,15 @@ module Google
end
end
class LocalDisk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disk_count, as: 'diskCount'
property :disk_size_gb, as: 'diskSizeGb'
property :disk_type, as: 'diskType'
end
end
class LogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9089,6 +9151,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::MachineTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::MachineTypeAggregatedList::Warning::Representation
end
@ -9286,6 +9349,7 @@ module Google
property :gateway_i_pv4, as: 'gatewayIPv4'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :mtu, as: 'mtu'
property :name, as: 'name'
collection :peerings, as: 'peerings', class: Google::Apis::ComputeBeta::NetworkPeering, decorator: Google::Apis::ComputeBeta::NetworkPeering::Representation
@ -9344,6 +9408,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Warning::Representation
end
@ -9597,6 +9662,7 @@ module Google
property :import_subnet_routes_with_public_ip, as: 'importSubnetRoutesWithPublicIp'
property :name, as: 'name'
property :network, as: 'network'
property :peer_mtu, as: 'peerMtu'
property :state, as: 'state'
property :state_details, as: 'stateDetails'
end
@ -9683,6 +9749,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeGroupAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NodeGroupAggregatedList::Warning::Representation
end
@ -9750,7 +9817,11 @@ module Google
class NodeGroupNode
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
property :cpu_overcommit_type, as: 'cpuOvercommitType'
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::LocalDisk, decorator: Google::Apis::ComputeBeta::LocalDisk::Representation
collection :instances, as: 'instances'
property :name, as: 'name'
property :node_type, as: 'nodeType'
@ -9845,9 +9916,13 @@ module Google
class NodeTemplate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
property :cpu_overcommit_type, as: 'cpuOvercommitType'
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::LocalDisk, decorator: Google::Apis::ComputeBeta::LocalDisk::Representation
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
@ -9873,6 +9948,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Warning::Representation
end
@ -9993,6 +10069,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NodeTypeAggregatedList::Warning::Representation
end
@ -10210,6 +10287,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::OperationAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::OperationAggregatedList::Warning::Representation
end
@ -10365,6 +10443,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Warning::Representation
end
@ -11129,6 +11208,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ReservationAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::ReservationAggregatedList::Warning::Representation
end
@ -11291,6 +11371,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Warning::Representation
end
@ -11548,6 +11629,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RouterAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::RouterAggregatedList::Warning::Representation
end
@ -12123,6 +12205,7 @@ module Google
property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
property :guest_flush, as: 'guestFlush'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
@ -12250,6 +12333,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SslCertificateAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::SslCertificateAggregatedList::Warning::Representation
end
@ -12494,6 +12578,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SubnetworkAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::SubnetworkAggregatedList::Warning::Representation
end
@ -12712,6 +12797,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :fingerprint, :base64 => true, as: 'fingerprint'
collection :http_filters, as: 'httpFilters'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
@ -12731,6 +12818,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Warning::Representation
end
@ -12859,6 +12947,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Warning::Representation
end
@ -12939,6 +13028,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Warning::Representation
end
@ -13049,6 +13139,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetPoolAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetPoolAggregatedList::Warning::Representation
end
@ -13337,6 +13428,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Warning::Representation
end
@ -13540,6 +13632,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::UrlMapsAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::UrlMapsAggregatedList::Warning::Representation
end
@ -13754,6 +13847,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning::Representation
end
@ -13929,6 +14023,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Warning::Representation
end

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -161,6 +161,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::AcceleratorTypeAggregatedList::Warning]
@ -177,6 +182,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -720,6 +726,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::AddressAggregatedList::Warning]
@ -736,6 +747,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -1092,13 +1104,6 @@ module Google
# @return [String]
attr_accessor :machine_type
# Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic"
# designates this VM as a Stable Fleet VM.
# See go/stable-fleet-ug for more details.
# Corresponds to the JSON property `maintenanceInterval`
# @return [String]
attr_accessor :maintenance_interval
# Minimum cpu platform the reservation.
# Corresponds to the JSON property `minCpuPlatform`
# @return [String]
@ -1113,7 +1118,6 @@ module Google
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
@local_ssds = args[:local_ssds] if args.key?(:local_ssds)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
end
end
@ -1690,6 +1694,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::AutoscalerAggregatedList::Warning]
@ -1706,6 +1715,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -2663,6 +2673,9 @@ module Google
class BackendService
include Google::Apis::Core::Hashable
# Lifetime of cookies in seconds. Only applicable if the loadBalancingScheme is
# EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the protocol is HTTP or
# HTTPS, and the sessionAffinity is GENERATED_COOKIE, or HTTP_COOKIE.
# If set to 0, the cookie is non-persistent and lasts only until the end of the
# browser session (or equivalent). The maximum allowed value is one day (86,400).
# Not supported when the backend service is referenced by a URL map that is
@ -2984,6 +2997,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::BackendServiceAggregatedList::Warning]
@ -3000,6 +3018,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -3494,6 +3513,12 @@ module Google
class Binding
include Google::Apis::Core::Hashable
# A client-specified ID for this binding. Expected to be globally unique to
# support the internal bindings-by-ID API.
# Corresponds to the JSON property `bindingId`
# @return [String]
attr_accessor :binding_id
# 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.
@ -3564,6 +3589,7 @@ module Google
# Update properties of this object
def update!(**args)
@binding_id = args[:binding_id] if args.key?(:binding_id)
@condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role)
@ -3866,6 +3892,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::CommitmentAggregatedList::Warning]
@ -3882,6 +3913,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -4203,6 +4235,26 @@ module Google
end
end
# A set of Confidential Instance options.
class ConfidentialInstanceConfig
include Google::Apis::Core::Hashable
# Defines whether the instance should have confidential compute enabled.
# Corresponds to the JSON property `enableConfidentialCompute`
# @return [Boolean]
attr_accessor :enable_confidential_compute
alias_method :enable_confidential_compute?, :enable_confidential_compute
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
end
end
# Message containing connection draining configuration.
class ConnectionDraining
include Google::Apis::Core::Hashable
@ -4823,6 +4875,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::DiskAggregatedList::Warning]
@ -4839,6 +4896,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -5238,6 +5296,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::DiskTypeAggregatedList::Warning]
@ -5254,6 +5317,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -6897,9 +6961,9 @@ module Google
attr_accessor :name
# This field is not used for external load balancing.
# For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies
# the network that the load balanced IP should belong to for this Forwarding
# Rule. If this field is not specified, the default network will be used.
# For internal load balancing, this field identifies the network that the load
# balanced IP should belong to for this Forwarding Rule. If this field is not
# specified, the default network will be used.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
@ -6982,7 +7046,7 @@ module Google
# @return [String]
attr_accessor :service_name
# This field is only used for INTERNAL load balancing.
# This field is only used for internal load balancing.
# For internal load balancing, this field identifies the subnetwork that the
# load balanced IP should belong to for this Forwarding Rule.
# If the network specified is in auto subnet mode, this field is optional.
@ -7070,6 +7134,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Warning]
@ -7086,6 +7155,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -8486,6 +8556,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::HealthChecksAggregatedList::Warning]
@ -8502,6 +8577,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -8947,6 +9023,13 @@ module Google
# For matching against the HTTP request's authority, use a headerMatch with the
# header name ":authority".
# For matching a request's method, use the headerName ":method".
# When the URL map is bound to target gRPC proxy that has validateForProxyless
# field set to true, only non-binary user-specified custom metadata and the `
# content-type` header are supported. The following transport-level headers
# cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:
# scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-
# encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `
# grpc-timeout` and `grpc-trace-bin.
# Corresponds to the JSON property `headerName`
# @return [String]
attr_accessor :header_name
@ -9516,10 +9599,10 @@ module Google
# A list of weighted backend services to send traffic to when a route match
# occurs. The weights determine the fraction of traffic that flows to their
# corresponding backend service. If all traffic needs to go to a single backend
# service, there must be one weightedBackendService with weight set to a non 0
# number.
# service, there must be one weightedBackendService with weight set to a non-
# zero number.
# Once a backendService is identified and before forwarding the request to the
# backend service, advanced routing actions like Url rewrites and header
# backend service, advanced routing actions such as URL rewrites and header
# transformations are applied depending on additional settings specified in this
# HttpRouteAction.
# Corresponds to the JSON property `weightedBackendServices`
@ -9653,6 +9736,7 @@ module Google
# Specifies that prefixMatch and fullPathMatch matches are case sensitive.
# The default value is false.
# ignoreCase must not be used with regexMatch.
# Not supported when the URL map is bound to target gRPC proxy.
# Corresponds to the JSON property `ignoreCase`
# @return [Boolean]
attr_accessor :ignore_case
@ -9672,6 +9756,8 @@ module Google
# ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to.
# metadataFilters only applies to Loadbalancers that have their
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
# Not supported when the URL map is bound to target gRPC proxy that has
# validateForProxyless field set to true.
# Corresponds to the JSON property `metadataFilters`
# @return [Array<Google::Apis::ComputeV1::MetadataFilter>]
attr_accessor :metadata_filters
@ -9686,6 +9772,7 @@ module Google
# Specifies a list of query parameter match criteria, all of which must match
# corresponding query parameters in the request.
# Not supported when the URL map is bound to target gRPC proxy.
# Corresponds to the JSON property `queryParameterMatches`
# @return [Array<Google::Apis::ComputeV1::HttpQueryParameterMatch>]
attr_accessor :query_parameter_matches
@ -10402,6 +10489,11 @@ module Google
attr_accessor :can_ip_forward
alias_method :can_ip_forward?, :can_ip_forward
# A set of Confidential Instance options.
# Corresponds to the JSON property `confidentialInstanceConfig`
# @return [Google::Apis::ComputeV1::ConfidentialInstanceConfig]
attr_accessor :confidential_instance_config
# [Output Only] The CPU platform used by this instance.
# Corresponds to the JSON property `cpuPlatform`
# @return [String]
@ -10550,7 +10642,7 @@ module Google
# @return [Array<String>]
attr_accessor :resource_policies
# Sets the scheduling options for an Instance. NextID: 12
# Sets the scheduling options for an Instance. NextID: 13
# Corresponds to the JSON property `scheduling`
# @return [Google::Apis::ComputeV1::Scheduling]
attr_accessor :scheduling
@ -10618,6 +10710,7 @@ module Google
# Update properties of this object
def update!(**args)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
@ -10686,6 +10779,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::InstanceAggregatedList::Warning]
@ -10702,6 +10800,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -10925,6 +11024,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::InstanceGroupAggregatedList::Warning]
@ -10941,6 +11045,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -11434,6 +11539,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Warning]
@ -11450,6 +11560,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -13052,6 +13163,11 @@ module Google
attr_accessor :can_ip_forward
alias_method :can_ip_forward?, :can_ip_forward
# A set of Confidential Instance options.
# Corresponds to the JSON property `confidentialInstanceConfig`
# @return [Google::Apis::ComputeV1::ConfidentialInstanceConfig]
attr_accessor :confidential_instance_config
# An optional text description for the instances that are created from these
# properties.
# Corresponds to the JSON property `description`
@ -13116,7 +13232,7 @@ module Google
# @return [Array<String>]
attr_accessor :resource_policies
# Sets the scheduling options for an Instance. NextID: 12
# Sets the scheduling options for an Instance. NextID: 13
# Corresponds to the JSON property `scheduling`
# @return [Google::Apis::ComputeV1::Scheduling]
attr_accessor :scheduling
@ -13146,6 +13262,7 @@ module Google
# Update properties of this object
def update!(**args)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
@description = args[:description] if args.key?(:description)
@disks = args[:disks] if args.key?(:disks)
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
@ -14183,6 +14300,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList::Warning]
@ -14199,6 +14321,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -15953,6 +16076,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::MachineTypeAggregatedList::Warning]
@ -15969,6 +16097,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -16686,6 +16815,12 @@ module Google
# @return [String]
attr_accessor :kind
# Maximum Transmission Unit in bytes. The minimum value for this field is 1460
# and the maximum value is 1500 bytes.
# Corresponds to the JSON property `mtu`
# @return [Fixnum]
attr_accessor :mtu
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@ -16732,6 +16867,7 @@ module Google
@gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@mtu = args[:mtu] if args.key?(:mtu)
@name = args[:name] if args.key?(:name)
@peerings = args[:peerings] if args.key?(:peerings)
@routing_config = args[:routing_config] if args.key?(:routing_config)
@ -16976,6 +17112,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning]
@ -16992,6 +17133,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -17881,6 +18023,11 @@ module Google
# @return [String]
attr_accessor :network
# Maximum Transmission Unit in bytes.
# Corresponds to the JSON property `peerMtu`
# @return [Fixnum]
attr_accessor :peer_mtu
# [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
# peering is `ACTIVE` when there's a matching configuration in the peer network.
# Corresponds to the JSON property `state`
@ -17906,6 +18053,7 @@ module Google
@import_subnet_routes_with_public_ip = args[:import_subnet_routes_with_public_ip] if args.key?(:import_subnet_routes_with_public_ip)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
@state = args[:state] if args.key?(:state)
@state_details = args[:state_details] if args.key?(:state_details)
end
@ -18166,6 +18314,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::NodeGroupAggregatedList::Warning]
@ -18182,6 +18335,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -18875,6 +19029,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::NodeTemplateAggregatedList::Warning]
@ -18891,6 +19050,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -19326,6 +19486,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::NodeTypeAggregatedList::Warning]
@ -19342,6 +19507,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -20208,6 +20374,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::OperationAggregatedList::Warning]
@ -20224,6 +20395,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -20760,6 +20932,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning]
@ -20776,6 +20953,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -21238,8 +21416,6 @@ module Google
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
# within a pathMatcher's defaultRouteAction.
# Not supported when the backend service is referenced by a URL map that is
# bound to target gRPC proxy that has validateForProxyless field set to true.
# Corresponds to the JSON property `defaultRouteAction`
# @return [Google::Apis::ComputeV1::HttpRouteAction]
attr_accessor :default_route_action
@ -21262,8 +21438,6 @@ module Google
# the specified resource default_service:
# - compute.backendBuckets.use
# - compute.backendServices.use
# pathMatchers[].defaultService is the only option available when the URL map is
# bound to target gRPC proxy that has validateForProxyless field set to true.
# Corresponds to the JSON property `defaultService`
# @return [String]
attr_accessor :default_service
@ -21297,8 +21471,6 @@ module Google
# For example: a pathRule with a path /a/b/c/* will match before /a/b/*
# irrespective of the order in which those paths appear in this list.
# Within a given pathMatcher, only one of pathRules or routeRules must be set.
# Not supported when the backend service is referenced by a URL map that is
# bound to target gRPC proxy that has validateForProxyless field set to true.
# Corresponds to the JSON property `pathRules`
# @return [Array<Google::Apis::ComputeV1::PathRule>]
attr_accessor :path_rules
@ -21307,8 +21479,6 @@ module Google
# route matching and routing actions are desired. routeRules are evaluated in
# order of priority, from the lowest to highest number.
# Within a given pathMatcher, you can set only one of pathRules or routeRules.
# Not supported when the backend service is referenced by a URL map that is
# bound to target gRPC proxy that has validateForProxyless field set to true.
# Corresponds to the JSON property `routeRules`
# @return [Array<Google::Apis::ComputeV1::HttpRouteRule>]
attr_accessor :route_rules
@ -23550,6 +23720,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::ReservationAggregatedList::Warning]
@ -23566,6 +23741,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -24137,6 +24313,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Warning]
@ -24154,6 +24335,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -25115,6 +25297,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::RouterAggregatedList::Warning]
@ -25131,6 +25318,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -26149,7 +26337,7 @@ module Google
end
end
# Sets the scheduling options for an Instance. NextID: 12
# Sets the scheduling options for an Instance. NextID: 13
class Scheduling
include Google::Apis::Core::Hashable
@ -26998,7 +27186,7 @@ module Google
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
attr_accessor :snapshot_encryption_key
# [Output Only] The source disk used to create this snapshot.
# The source disk used to create this snapshot.
# Corresponds to the JSON property `sourceDisk`
# @return [String]
attr_accessor :source_disk
@ -27230,9 +27418,9 @@ module Google
class SslCertificate
include Google::Apis::Core::Hashable
# A local certificate file. The certificate must be in PEM format. The
# certificate chain must be no greater than 5 certs long. The chain must include
# at least one intermediate cert.
# A value read into memory from a certificate file. The certificate file must be
# in PEM format. The certificate chain must be no greater than 5 certs long. The
# chain must include at least one intermediate cert.
# Corresponds to the JSON property `certificate`
# @return [String]
attr_accessor :certificate
@ -27280,7 +27468,8 @@ module Google
# @return [String]
attr_accessor :name
# A write-only private key in PEM format. Only insert requests will include this
# A value read into memory from a write-only private key file. The private key
# file must be in PEM format. For security, only insert requests include this
# field.
# Corresponds to the JSON property `privateKey`
# @return [String]
@ -27372,6 +27561,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::SslCertificateAggregatedList::Warning]
@ -27388,6 +27582,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -28341,6 +28536,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::SubnetworkAggregatedList::Warning]
@ -28357,6 +28557,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -29199,6 +29400,17 @@ module Google
# @return [String]
attr_accessor :description
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in
# order to patch/update the TargetHttpProxy; otherwise, the request will fail
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
# request to retrieve the TargetHttpProxy.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :fingerprint
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
@ -29246,6 +29458,7 @@ module Google
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@ -29289,6 +29502,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
def initialize(**args)
update!(**args)
end
@ -29300,6 +29518,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
end
end
@ -29700,6 +29919,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Warning]
@ -29716,6 +29940,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -30024,6 +30249,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::TargetInstanceAggregatedList::Warning]
@ -30040,6 +30270,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -30476,6 +30707,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::TargetPoolAggregatedList::Warning]
@ -30492,6 +30728,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -31527,6 +31764,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Warning]
@ -31543,6 +31785,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -31824,22 +32067,23 @@ module Google
class TestFailure
include Google::Apis::Core::Hashable
#
# BackendService or BackendBucket returned by load balancer.
# Corresponds to the JSON property `actualService`
# @return [String]
attr_accessor :actual_service
#
# Expected BackendService or BackendBucket resource the given URL should be
# mapped to.
# Corresponds to the JSON property `expectedService`
# @return [String]
attr_accessor :expected_service
#
# Host portion of the URL.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
#
# Path portion including query parameters in the URL.
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path
@ -31931,9 +32175,8 @@ module Google
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
# within defaultRouteAction.
# defaultRouteAction has no effect when the backend service is referenced by a
# URL map that is bound to target gRPC proxy that has validateForProxyless field
# set to true.
# defaultRouteAction has no effect when the URL map is bound to target gRPC
# proxy that has validateForProxyless field set to true.
# Corresponds to the JSON property `defaultRouteAction`
# @return [Google::Apis::ComputeV1::HttpRouteAction]
attr_accessor :default_route_action
@ -31947,9 +32190,8 @@ module Google
# specified.
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
# weightedBackendService must be set.
# defaultService has no effect when the backend service is referenced by a URL
# map that is bound to target gRPC proxy that has validateForProxyless field set
# to true.
# defaultService has no effect when the URL map is bound to target gRPC proxy
# that has validateForProxyless field set to true.
# Corresponds to the JSON property `defaultService`
# @return [String]
attr_accessor :default_service
@ -32028,8 +32270,8 @@ module Google
# The list of expected URL mapping tests. Request to update this UrlMap will
# succeed only if all of the test cases pass. You can specify a maximum of 100
# tests per UrlMap.
# Not supported when the backend service is referenced by a URL map that is
# bound to target gRPC proxy that has validateForProxyless field set to true.
# Not supported when the URL map is bound to target gRPC proxy that has
# validateForProxyless field set to true.
# Corresponds to the JSON property `tests`
# @return [Array<Google::Apis::ComputeV1::UrlMapTest>]
attr_accessor :tests
@ -32203,7 +32445,8 @@ module Google
# @return [String]
attr_accessor :description
# Host portion of the URL.
# Host portion of the URL. If headers contains a host header, then host must
# also match the header value.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
@ -32213,7 +32456,9 @@ module Google
# @return [String]
attr_accessor :path
# Expected BackendService resource the given URL should be mapped to.
# Expected BackendService or BackendBucket resource the given URL should be
# mapped to.
# service cannot be set if expectedRedirectResponseCode is set.
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service
@ -32305,6 +32550,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::UrlMapsAggregatedList::Warning]
@ -32321,6 +32571,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -33116,6 +33367,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::VpnGatewayAggregatedList::Warning]
@ -33132,6 +33388,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end
@ -33804,6 +34061,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] Unreachable resources.
# Corresponds to the JSON property `unreachables`
# @return [Array<String>]
attr_accessor :unreachables
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::VpnTunnelAggregatedList::Warning]
@ -33820,6 +34082,7 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@unreachables = args[:unreachables] if args.key?(:unreachables)
@warning = args[:warning] if args.key?(:warning)
end

View File

@ -526,6 +526,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ConfidentialInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConnectionDraining
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4795,6 +4801,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::AcceleratorTypeAggregatedList::Warning, decorator: Google::Apis::ComputeV1::AcceleratorTypeAggregatedList::Warning::Representation
end
@ -4923,6 +4930,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::AddressAggregatedList::Warning, decorator: Google::Apis::ComputeV1::AddressAggregatedList::Warning::Representation
end
@ -5030,7 +5038,6 @@ module Google
collection :local_ssds, as: 'localSsds', class: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk::Representation
property :machine_type, as: 'machineType'
property :maintenance_interval, as: 'maintenanceInterval'
property :min_cpu_platform, as: 'minCpuPlatform'
end
end
@ -5145,6 +5152,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::AutoscalerAggregatedList::Warning, decorator: Google::Apis::ComputeV1::AutoscalerAggregatedList::Warning::Representation
end
@ -5414,6 +5422,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::BackendServiceAggregatedList::Warning, decorator: Google::Apis::ComputeV1::BackendServiceAggregatedList::Warning::Representation
end
@ -5554,6 +5563,7 @@ module Google
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :binding_id, as: 'bindingId'
property :condition, as: 'condition', class: Google::Apis::ComputeV1::Expr, decorator: Google::Apis::ComputeV1::Expr::Representation
collection :members, as: 'members'
@ -5625,6 +5635,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::CommitmentAggregatedList::Warning, decorator: Google::Apis::ComputeV1::CommitmentAggregatedList::Warning::Representation
end
@ -5719,6 +5730,13 @@ module Google
end
end
class ConfidentialInstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_confidential_compute, as: 'enableConfidentialCompute'
end
end
class ConnectionDraining
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -5841,6 +5859,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::DiskAggregatedList::Warning, decorator: Google::Apis::ComputeV1::DiskAggregatedList::Warning::Representation
end
@ -5941,6 +5960,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::DiskTypeAggregatedList::Warning, decorator: Google::Apis::ComputeV1::DiskTypeAggregatedList::Warning::Representation
end
@ -6356,6 +6376,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Warning, decorator: Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Warning::Representation
end
@ -6702,6 +6723,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::HealthChecksAggregatedList::Warning, decorator: Google::Apis::ComputeV1::HealthChecksAggregatedList::Warning::Representation
end
@ -7141,6 +7163,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :can_ip_forward, as: 'canIpForward'
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeV1::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeV1::ConfidentialInstanceConfig::Representation
property :cpu_platform, as: 'cpuPlatform'
property :creation_timestamp, as: 'creationTimestamp'
property :deletion_protection, as: 'deletionProtection'
@ -7195,6 +7219,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstanceAggregatedList::Warning, decorator: Google::Apis::ComputeV1::InstanceAggregatedList::Warning::Representation
end
@ -7247,6 +7272,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstanceGroupAggregatedList::Warning, decorator: Google::Apis::ComputeV1::InstanceGroupAggregatedList::Warning::Representation
end
@ -7362,6 +7388,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Warning, decorator: Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Warning::Representation
end
@ -7832,6 +7859,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :can_ip_forward, as: 'canIpForward'
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeV1::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeV1::ConfidentialInstanceConfig::Representation
property :description, as: 'description'
collection :disks, as: 'disks', class: Google::Apis::ComputeV1::AttachedDisk, decorator: Google::Apis::ComputeV1::AttachedDisk::Representation
@ -8092,6 +8121,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList::Warning, decorator: Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList::Warning::Representation
end
@ -8553,6 +8583,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::MachineTypeAggregatedList::Warning, decorator: Google::Apis::ComputeV1::MachineTypeAggregatedList::Warning::Representation
end
@ -8750,6 +8781,7 @@ module Google
property :gateway_i_pv4, as: 'gatewayIPv4'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :mtu, as: 'mtu'
property :name, as: 'name'
collection :peerings, as: 'peerings', class: Google::Apis::ComputeV1::NetworkPeering, decorator: Google::Apis::ComputeV1::NetworkPeering::Representation
@ -8806,6 +8838,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Representation
end
@ -9039,6 +9072,7 @@ module Google
property :import_subnet_routes_with_public_ip, as: 'importSubnetRoutesWithPublicIp'
property :name, as: 'name'
property :network, as: 'network'
property :peer_mtu, as: 'peerMtu'
property :state, as: 'state'
property :state_details, as: 'stateDetails'
end
@ -9106,6 +9140,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::NodeGroupAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NodeGroupAggregatedList::Warning::Representation
end
@ -9296,6 +9331,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::NodeTemplateAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NodeTemplateAggregatedList::Warning::Representation
end
@ -9416,6 +9452,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::NodeTypeAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NodeTypeAggregatedList::Warning::Representation
end
@ -9633,6 +9670,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::OperationAggregatedList::Warning, decorator: Google::Apis::ComputeV1::OperationAggregatedList::Warning::Representation
end
@ -9767,6 +9805,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning, decorator: Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning::Representation
end
@ -10514,6 +10553,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ReservationAggregatedList::Warning, decorator: Google::Apis::ComputeV1::ReservationAggregatedList::Warning::Representation
end
@ -10676,6 +10716,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Warning, decorator: Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Warning::Representation
end
@ -10931,6 +10972,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::RouterAggregatedList::Warning, decorator: Google::Apis::ComputeV1::RouterAggregatedList::Warning::Representation
end
@ -11478,6 +11520,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::SslCertificateAggregatedList::Warning, decorator: Google::Apis::ComputeV1::SslCertificateAggregatedList::Warning::Representation
end
@ -11721,6 +11764,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::SubnetworkAggregatedList::Warning, decorator: Google::Apis::ComputeV1::SubnetworkAggregatedList::Warning::Representation
end
@ -11939,6 +11983,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :fingerprint, :base64 => true, as: 'fingerprint'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
@ -11957,6 +12002,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
end
end
@ -12060,6 +12106,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Warning, decorator: Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Warning::Representation
end
@ -12139,6 +12186,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetInstanceAggregatedList::Warning, decorator: Google::Apis::ComputeV1::TargetInstanceAggregatedList::Warning::Representation
end
@ -12249,6 +12297,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetPoolAggregatedList::Warning, decorator: Google::Apis::ComputeV1::TargetPoolAggregatedList::Warning::Representation
end
@ -12535,6 +12584,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Warning, decorator: Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Warning::Representation
end
@ -12738,6 +12788,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::UrlMapsAggregatedList::Warning, decorator: Google::Apis::ComputeV1::UrlMapsAggregatedList::Warning::Representation
end
@ -12952,6 +13003,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::VpnGatewayAggregatedList::Warning, decorator: Google::Apis::ComputeV1::VpnGatewayAggregatedList::Warning::Representation
end
@ -13125,6 +13177,7 @@ module Google
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
collection :unreachables, as: 'unreachables'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::VpnTunnelAggregatedList::Warning, decorator: Google::Apis::ComputeV1::VpnTunnelAggregatedList::Warning::Representation
end

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -383,7 +383,8 @@ module Google
# @return [String]
attr_accessor :country
# The destination the issue applies to.
# The destination the issue applies to. If this field is empty then the issue
# applies to all available destinations.
# Corresponds to the JSON property `destination`
# @return [String]
attr_accessor :destination

View File

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

View File

@ -390,7 +390,8 @@ module Google
# @return [String]
attr_accessor :country
# The destination the issue applies to.
# The destination the issue applies to. If this field is empty then the issue
# applies to all available destinations.
# Corresponds to the JSON property `destination`
# @return [String]
attr_accessor :destination

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
REVISION = '20200828'
REVISION = '20200929'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -914,6 +914,765 @@ module Google
end
end
# The result of JobService.BatchCreateJobs. It's used to replace google.
# longrunning.Operation.response in case of success.
class GoogleCloudTalentV4BatchCreateJobsResponse
include Google::Apis::Core::Hashable
# List of job mutation results from a batch create operation. It can change
# until operation status is FINISHED, FAILED or CANCELLED.
# Corresponds to the JSON property `jobResults`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
attr_accessor :job_results
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_results = args[:job_results] if args.key?(:job_results)
end
end
# The result of JobService.BatchDeleteJobs. It's used to replace google.
# longrunning.Operation.response in case of success.
class GoogleCloudTalentV4BatchDeleteJobsResponse
include Google::Apis::Core::Hashable
# List of job mutation results from a batch delete operation. It can change
# until operation status is FINISHED, FAILED or CANCELLED.
# Corresponds to the JSON property `jobResults`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
attr_accessor :job_results
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_results = args[:job_results] if args.key?(:job_results)
end
end
# Metadata used for long running operations returned by CTS batch APIs. It's
# used to replace google.longrunning.Operation.metadata.
class GoogleCloudTalentV4BatchOperationMetadata
include Google::Apis::Core::Hashable
# The time when the batch operation is created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# The time when the batch operation is finished and google.longrunning.Operation.
# done is set to `true`.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# Count of failed item(s) inside an operation.
# Corresponds to the JSON property `failureCount`
# @return [Fixnum]
attr_accessor :failure_count
# The state of a long running operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# More detailed information about operation state.
# Corresponds to the JSON property `stateDescription`
# @return [String]
attr_accessor :state_description
# Count of successful item(s) inside an operation.
# Corresponds to the JSON property `successCount`
# @return [Fixnum]
attr_accessor :success_count
# Count of total item(s) inside an operation.
# Corresponds to the JSON property `totalCount`
# @return [Fixnum]
attr_accessor :total_count
# The time when the batch operation status is updated. The metadata and the
# update_time is refreshed every minute otherwise cached data is returned.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@end_time = args[:end_time] if args.key?(:end_time)
@failure_count = args[:failure_count] if args.key?(:failure_count)
@state = args[:state] if args.key?(:state)
@state_description = args[:state_description] if args.key?(:state_description)
@success_count = args[:success_count] if args.key?(:success_count)
@total_count = args[:total_count] if args.key?(:total_count)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
# The result of JobService.BatchUpdateJobs. It's used to replace google.
# longrunning.Operation.response in case of success.
class GoogleCloudTalentV4BatchUpdateJobsResponse
include Google::Apis::Core::Hashable
# List of job mutation results from a batch update operation. It can change
# until operation status is FINISHED, FAILED or CANCELLED.
# Corresponds to the JSON property `jobResults`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
attr_accessor :job_results
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_results = args[:job_results] if args.key?(:job_results)
end
end
# Job compensation details.
class GoogleCloudTalentV4CompensationInfo
include Google::Apis::Core::Hashable
# Compensation range.
# Corresponds to the JSON property `annualizedBaseCompensationRange`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
attr_accessor :annualized_base_compensation_range
# Compensation range.
# Corresponds to the JSON property `annualizedTotalCompensationRange`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
attr_accessor :annualized_total_compensation_range
# Job compensation information. At most one entry can be of type
# CompensationInfo.CompensationType.BASE, which is referred as **base
# compensation entry** for the job.
# Corresponds to the JSON property `entries`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
@annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
@entries = args[:entries] if args.key?(:entries)
end
end
# A compensation entry that represents one component of compensation, such as
# base pay, bonus, or other compensation type. Annualization: One compensation
# entry can be annualized if - it contains valid amount or range. - and its
# expected_units_per_year is set or can be derived. Its annualized range is
# determined as (amount or range) times expected_units_per_year.
class GoogleCloudTalentV4CompensationInfoCompensationEntry
include Google::Apis::Core::Hashable
# Represents an amount of money with its currency type.
# Corresponds to the JSON property `amount`
# @return [Google::Apis::JobsV3::Money]
attr_accessor :amount
# Compensation description. For example, could indicate equity terms or provide
# additional context to an estimated bonus.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Expected number of units paid each year. If not specified, when Job.
# employment_types is FULLTIME, a default value is inferred based on unit.
# Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 -
# ANNUAL: 1
# Corresponds to the JSON property `expectedUnitsPerYear`
# @return [Float]
attr_accessor :expected_units_per_year
# Compensation range.
# Corresponds to the JSON property `range`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
attr_accessor :range
# Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# Frequency of the specified amount. Default is CompensationUnit.
# COMPENSATION_UNIT_UNSPECIFIED.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@amount = args[:amount] if args.key?(:amount)
@description = args[:description] if args.key?(:description)
@expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
@range = args[:range] if args.key?(:range)
@type = args[:type] if args.key?(:type)
@unit = args[:unit] if args.key?(:unit)
end
end
# Compensation range.
class GoogleCloudTalentV4CompensationInfoCompensationRange
include Google::Apis::Core::Hashable
# Represents an amount of money with its currency type.
# Corresponds to the JSON property `maxCompensation`
# @return [Google::Apis::JobsV3::Money]
attr_accessor :max_compensation
# Represents an amount of money with its currency type.
# Corresponds to the JSON property `minCompensation`
# @return [Google::Apis::JobsV3::Money]
attr_accessor :min_compensation
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@max_compensation = args[:max_compensation] if args.key?(:max_compensation)
@min_compensation = args[:min_compensation] if args.key?(:min_compensation)
end
end
# Custom attribute values that are either filterable or non-filterable.
class GoogleCloudTalentV4CustomAttribute
include Google::Apis::Core::Hashable
# If the `filterable` flag is true, the custom field values may be used for
# custom attribute filters JobQuery.custom_attribute_filter. If false, these
# values may not be used for custom attribute filters. Default is false.
# Corresponds to the JSON property `filterable`
# @return [Boolean]
attr_accessor :filterable
alias_method :filterable?, :filterable
# If the `keyword_searchable` flag is true, the keywords in custom fields are
# searchable by keyword match. If false, the values are not searchable by
# keyword match. Default is false.
# Corresponds to the JSON property `keywordSearchable`
# @return [Boolean]
attr_accessor :keyword_searchable
alias_method :keyword_searchable?, :keyword_searchable
# Exactly one of string_values or long_values must be specified. This field is
# used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over
# filterable `long_value`. Currently at most 1 long_values is supported.
# Corresponds to the JSON property `longValues`
# @return [Array<Fixnum>]
attr_accessor :long_values
# Exactly one of string_values or long_values must be specified. This field is
# used to perform a string match (`CASE_SENSITIVE_MATCH` or `
# CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum
# total number of 200 values is allowed, with each `string_value` has a byte
# size of no more than 500B. For unfilterable `string_values`, the maximum total
# byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
# Corresponds to the JSON property `stringValues`
# @return [Array<String>]
attr_accessor :string_values
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@filterable = args[:filterable] if args.key?(:filterable)
@keyword_searchable = args[:keyword_searchable] if args.key?(:keyword_searchable)
@long_values = args[:long_values] if args.key?(:long_values)
@string_values = args[:string_values] if args.key?(:string_values)
end
end
# A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring entity
# responsible for the job.
class GoogleCloudTalentV4Job
include Google::Apis::Core::Hashable
# Strongly recommended for the best service experience. Location(s) where the
# employer is looking to hire for this job posting. Specifying the full street
# address(es) of the hiring location enables better API results, especially job
# searches by commute time. At most 50 locations are allowed for best search
# performance. If a job has more locations, it is suggested to split it into
# multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-
# 2', and so on.) as multiple jobs with the same company, language_code and
# requisition_id are not allowed. If the original requisition_id must be
# preserved, a custom field should be used for storage. It is also suggested to
# group the locations that close to each other in the same job for better search
# experience. The maximum number of allowed characters is 500.
# Corresponds to the JSON property `addresses`
# @return [Array<String>]
attr_accessor :addresses
# Application related details of a job posting.
# Corresponds to the JSON property `applicationInfo`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo]
attr_accessor :application_info
# Required. The resource name of the company listing the job. The format is "
# projects/`project_id`/tenants/`tenant_id`/companies/`company_id`". For example,
# "projects/foo/tenants/bar/companies/baz".
# Corresponds to the JSON property `company`
# @return [String]
attr_accessor :company
# Output only. Display name of the company listing the job.
# Corresponds to the JSON property `companyDisplayName`
# @return [String]
attr_accessor :company_display_name
# Job compensation details.
# Corresponds to the JSON property `compensationInfo`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo]
attr_accessor :compensation_info
# A map of fields to hold both filterable and non-filterable custom job
# attributes that are not covered by the provided structured fields. The keys of
# the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For
# example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most
# 100 unfilterable keys are supported. For filterable `string_values`, across
# all keys at most 200 values are allowed, with each string no more than 255
# characters. For unfilterable `string_values`, the maximum total size of `
# string_values` across all keys is 50KB.
# Corresponds to the JSON property `customAttributes`
# @return [Hash<String,Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute>]
attr_accessor :custom_attributes
# The desired education degrees for the job, such as Bachelors, Masters.
# Corresponds to the JSON property `degreeTypes`
# @return [Array<String>]
attr_accessor :degree_types
# The department or functional area within the company with the open position.
# The maximum number of allowed characters is 255.
# Corresponds to the JSON property `department`
# @return [String]
attr_accessor :department
# Derived details about the job posting.
# Corresponds to the JSON property `derivedInfo`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo]
attr_accessor :derived_info
# Required. The description of the job, which typically includes a multi-
# paragraph description of the company and related information. Separate fields
# are provided on the job object for responsibilities, qualifications, and other
# job characteristics. Use of these separate job fields is recommended. This
# field accepts and sanitizes HTML input, and also accepts bold, italic, ordered
# list, and unordered list markup tags. The maximum number of allowed characters
# is 100,000.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The employment type(s) of a job, for example, full time or part time.
# Corresponds to the JSON property `employmentTypes`
# @return [Array<String>]
attr_accessor :employment_types
# A description of bonus, commission, and other compensation incentives
# associated with the job not including salary or pay. The maximum number of
# allowed characters is 10,000.
# Corresponds to the JSON property `incentives`
# @return [String]
attr_accessor :incentives
# The benefits included with the job.
# Corresponds to the JSON property `jobBenefits`
# @return [Array<String>]
attr_accessor :job_benefits
# The end timestamp of the job. Typically this field is used for contracting
# engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobEndTime`
# @return [String]
attr_accessor :job_end_time
# The experience level associated with the job, such as "Entry Level".
# Corresponds to the JSON property `jobLevel`
# @return [String]
attr_accessor :job_level
# The start timestamp of the job in UTC time zone. Typically this field is used
# for contracting engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobStartTime`
# @return [String]
attr_accessor :job_start_time
# The language of the posting. This field is distinct from any requirements for
# fluency that are associated with the job. Language codes must be in BCP-47
# format, such as "en-US" or "sr-Latn". For more information, see [Tags for
# Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="external"
# target="_blank" `. If this field is unspecified and Job.description is present,
# detected language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Required during job update. The resource name for the job. This is generated
# by the service when a job is created. The format is "projects/`project_id`/
# tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/
# jobs/baz". Use of this field in job queries and API calls is preferred over
# the use of requisition_id since this value is unique.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The timestamp when this job posting was created.
# Corresponds to the JSON property `postingCreateTime`
# @return [String]
attr_accessor :posting_create_time
# Strongly recommended for the best service experience. The expiration timestamp
# of the job. After this timestamp, the job is marked as expired, and it no
# longer appears in search results. The expired job can't be listed by the
# ListJobs API, but it can be retrieved with the GetJob API or updated with the
# UpdateJob API or deleted with the DeleteJob API. An expired job can be updated
# and opened again by using a future expiration timestamp. Updating an expired
# job fails if there is another existing open job with same company,
# language_code and requisition_id. The expired jobs are retained in our system
# for 90 days. However, the overall expired job count cannot exceed 3 times the
# maximum number of open jobs over previous 7 days. If this threshold is
# exceeded, expired jobs are cleaned out in order of earliest expire time.
# Expired jobs are no longer accessible after they are cleaned out. Invalid
# timestamps are ignored, and treated as expire time not provided. If the
# timestamp is before the instant request is made, the job is treated as expired
# immediately on creation. This kind of job can not be updated. And when
# creating a job with past timestamp, the posting_publish_time must be set
# before posting_expire_time. The purpose of this feature is to allow other
# objects, such as Application, to refer a job that didn't exist in the system
# prior to becoming expired. If you want to modify a job that was expired on
# creation, delete it and create a new one. If this value isn't provided at the
# time of job creation or is invalid, the job posting expires after 30 days from
# the job's creation time. For example, if the job was created on 2017/01/01 13:
# 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31
# 13:00AM UTC. If this value isn't provided on job update, it depends on the
# field masks set by UpdateJobRequest.update_mask. If the field masks include
# job_end_time, or the masks are empty meaning that every field is updated, the
# job posting expires after 30 days from the job's last update time. Otherwise
# the expiration date isn't updated.
# Corresponds to the JSON property `postingExpireTime`
# @return [String]
attr_accessor :posting_expire_time
# The timestamp this job posting was most recently published. The default value
# is the time the request arrives at the server. Invalid timestamps are ignored.
# Corresponds to the JSON property `postingPublishTime`
# @return [String]
attr_accessor :posting_publish_time
# The job PostingRegion (for example, state, country) throughout which the job
# is available. If this field is set, a LocationFilter in a search query within
# the job region finds this job posting if an exact location match isn't
# specified. If this field is set to PostingRegion.NATION or PostingRegion.
# ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as
# this field is strongly recommended.
# Corresponds to the JSON property `postingRegion`
# @return [String]
attr_accessor :posting_region
# Output only. The timestamp when this job posting was last updated.
# Corresponds to the JSON property `postingUpdateTime`
# @return [String]
attr_accessor :posting_update_time
# Options for job processing.
# Corresponds to the JSON property `processingOptions`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions]
attr_accessor :processing_options
# A promotion value of the job, as determined by the client. The value
# determines the sort order of the jobs returned when searching for jobs using
# the featured jobs search call, with higher promotional values being returned
# first and ties being resolved by relevance sort. Only the jobs with a
# promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0,
# and negative values are treated as 0.
# Corresponds to the JSON property `promotionValue`
# @return [Fixnum]
attr_accessor :promotion_value
# A description of the qualifications required to perform the job. The use of
# this field is recommended as an alternative to using the more general
# description field. This field accepts and sanitizes HTML input, and also
# accepts bold, italic, ordered list, and unordered list markup tags. The
# maximum number of allowed characters is 10,000.
# Corresponds to the JSON property `qualifications`
# @return [String]
attr_accessor :qualifications
# Required. The requisition ID, also referred to as the posting ID, is assigned
# by the client to identify a job. This field is intended to be used by clients
# for client identification and tracking of postings. A job isn't allowed to be
# created if there is another job with the same company, language_code and
# requisition_id. The maximum number of allowed characters is 255.
# Corresponds to the JSON property `requisitionId`
# @return [String]
attr_accessor :requisition_id
# A description of job responsibilities. The use of this field is recommended as
# an alternative to using the more general description field. This field accepts
# and sanitizes HTML input, and also accepts bold, italic, ordered list, and
# unordered list markup tags. The maximum number of allowed characters is 10,000.
# Corresponds to the JSON property `responsibilities`
# @return [String]
attr_accessor :responsibilities
# Required. The title of the job, such as "Software Engineer" The maximum number
# of allowed characters is 500.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
# Deprecated. The job is only visible to the owner. The visibility of the job.
# Defaults to Visibility.ACCOUNT_ONLY if not specified.
# Corresponds to the JSON property `visibility`
# @return [String]
attr_accessor :visibility
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@addresses = args[:addresses] if args.key?(:addresses)
@application_info = args[:application_info] if args.key?(:application_info)
@company = args[:company] if args.key?(:company)
@company_display_name = args[:company_display_name] if args.key?(:company_display_name)
@compensation_info = args[:compensation_info] if args.key?(:compensation_info)
@custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
@degree_types = args[:degree_types] if args.key?(:degree_types)
@department = args[:department] if args.key?(:department)
@derived_info = args[:derived_info] if args.key?(:derived_info)
@description = args[:description] if args.key?(:description)
@employment_types = args[:employment_types] if args.key?(:employment_types)
@incentives = args[:incentives] if args.key?(:incentives)
@job_benefits = args[:job_benefits] if args.key?(:job_benefits)
@job_end_time = args[:job_end_time] if args.key?(:job_end_time)
@job_level = args[:job_level] if args.key?(:job_level)
@job_start_time = args[:job_start_time] if args.key?(:job_start_time)
@language_code = args[:language_code] if args.key?(:language_code)
@name = args[:name] if args.key?(:name)
@posting_create_time = args[:posting_create_time] if args.key?(:posting_create_time)
@posting_expire_time = args[:posting_expire_time] if args.key?(:posting_expire_time)
@posting_publish_time = args[:posting_publish_time] if args.key?(:posting_publish_time)
@posting_region = args[:posting_region] if args.key?(:posting_region)
@posting_update_time = args[:posting_update_time] if args.key?(:posting_update_time)
@processing_options = args[:processing_options] if args.key?(:processing_options)
@promotion_value = args[:promotion_value] if args.key?(:promotion_value)
@qualifications = args[:qualifications] if args.key?(:qualifications)
@requisition_id = args[:requisition_id] if args.key?(:requisition_id)
@responsibilities = args[:responsibilities] if args.key?(:responsibilities)
@title = args[:title] if args.key?(:title)
@visibility = args[:visibility] if args.key?(:visibility)
end
end
# Application related details of a job posting.
class GoogleCloudTalentV4JobApplicationInfo
include Google::Apis::Core::Hashable
# Use this field to specify email address(es) to which resumes or applications
# can be sent. The maximum number of allowed characters for each entry is 255.
# Corresponds to the JSON property `emails`
# @return [Array<String>]
attr_accessor :emails
# Use this field to provide instructions, such as "Mail your application to ...",
# that a candidate can follow to apply for the job. This field accepts and
# sanitizes HTML input, and also accepts bold, italic, ordered list, and
# unordered list markup tags. The maximum number of allowed characters is 3,000.
# Corresponds to the JSON property `instruction`
# @return [String]
attr_accessor :instruction
# Use this URI field to direct an applicant to a website, for example to link to
# an online application form. The maximum number of allowed characters for each
# entry is 2,000.
# Corresponds to the JSON property `uris`
# @return [Array<String>]
attr_accessor :uris
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@emails = args[:emails] if args.key?(:emails)
@instruction = args[:instruction] if args.key?(:instruction)
@uris = args[:uris] if args.key?(:uris)
end
end
# Derived details about the job posting.
class GoogleCloudTalentV4JobDerivedInfo
include Google::Apis::Core::Hashable
# Job categories derived from Job.title and Job.description.
# Corresponds to the JSON property `jobCategories`
# @return [Array<String>]
attr_accessor :job_categories
# Structured locations of the job, resolved from Job.addresses. locations are
# exactly matched to Job.addresses in the same order.
# Corresponds to the JSON property `locations`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4Location>]
attr_accessor :locations
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_categories = args[:job_categories] if args.key?(:job_categories)
@locations = args[:locations] if args.key?(:locations)
end
end
# Options for job processing.
class GoogleCloudTalentV4JobProcessingOptions
include Google::Apis::Core::Hashable
# If set to `true`, the service does not attempt to resolve a more precise
# address for the job.
# Corresponds to the JSON property `disableStreetAddressResolution`
# @return [Boolean]
attr_accessor :disable_street_address_resolution
alias_method :disable_street_address_resolution?, :disable_street_address_resolution
# Option for job HTML content sanitization. Applied fields are: * description *
# applicationInfo.instruction * incentives * qualifications * responsibilities
# HTML tags in these fields may be stripped if sanitiazation isn't disabled.
# Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
# Corresponds to the JSON property `htmlSanitization`
# @return [String]
attr_accessor :html_sanitization
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
@html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization)
end
end
# Mutation result of a job from a batch operation.
class GoogleCloudTalentV4JobResult
include Google::Apis::Core::Hashable
# A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring entity
# responsible for the job.
# Corresponds to the JSON property `job`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4Job]
attr_accessor :job
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `status`
# @return [Google::Apis::JobsV3::Status]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job = args[:job] if args.key?(:job)
@status = args[:status] if args.key?(:status)
end
end
# A resource that represents a location with full geographic information.
class GoogleCloudTalentV4Location
include Google::Apis::Core::Hashable
# An object representing a latitude/longitude pair. This is expressed as a pair
# of doubles representing degrees latitude and degrees longitude. Unless
# specified otherwise, this must conform to the WGS84 standard. Values must be
# within normalized ranges.
# Corresponds to the JSON property `latLng`
# @return [Google::Apis::JobsV3::LatLng]
attr_accessor :lat_lng
# The type of a location, which corresponds to the address lines field of google.
# type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
# LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
# LocationType.LOCALITY.
# Corresponds to the JSON property `locationType`
# @return [String]
attr_accessor :location_type
# Represents a postal address, e.g. for postal delivery or payments addresses.
# Given a postal address, a postal service can deliver items to a premise, P.O.
# Box or similar. It is not intended to model geographical locations (roads,
# towns, mountains). In typical usage an address would be created via user input
# or from importing existing data, depending on the type of process. Advice on
# address input / editing: - Use an i18n-ready address widget such as https://
# github.com/google/libaddressinput) - Users should not be presented with UI
# elements for input or editing of fields outside countries where that field is
# used. For more guidance on how to use this schema, please see: https://support.
# google.com/business/answer/6397478
# Corresponds to the JSON property `postalAddress`
# @return [Google::Apis::JobsV3::PostalAddress]
attr_accessor :postal_address
# Radius in miles of the job location. This value is derived from the location
# bounding box in which a circle with the specified radius centered from google.
# type.LatLng covers the area associated with the job location. For example,
# currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
# Corresponds to the JSON property `radiusMiles`
# @return [Float]
attr_accessor :radius_miles
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
@location_type = args[:location_type] if args.key?(:location_type)
@postal_address = args[:postal_address] if args.key?(:postal_address)
@radius_miles = args[:radius_miles] if args.key?(:radius_miles)
end
end
# Input only. Histogram facets to be specified in SearchJobsRequest.
class HistogramFacets
include Google::Apis::Core::Hashable
@ -2505,6 +3264,45 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable
# The status code, which should be an enum value of google.rpc.Code.
# Corresponds to the JSON property `code`
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any user-facing
# error message should be localized and sent in the google.rpc.Status.details
# field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@message = args[:message] if args.key?(:message)
end
end
# Represents a time of day. The date and time zone are either not significant or
# are specified elsewhere. An API may choose to allow leap seconds. Related
# types are google.type.Date and `google.protobuf.Timestamp`.

View File

@ -172,6 +172,90 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchCreateJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchDeleteJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchUpdateJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CompensationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CompensationInfoCompensationEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CompensationInfoCompensationRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CustomAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4Job
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobApplicationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobDerivedInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobProcessingOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HistogramFacets
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -322,6 +406,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TimeOfDay
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -594,6 +684,179 @@ module Google
end
end
class GoogleCloudTalentV4BatchCreateJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
end
end
class GoogleCloudTalentV4BatchDeleteJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
end
end
class GoogleCloudTalentV4BatchOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
property :failure_count, as: 'failureCount'
property :state, as: 'state'
property :state_description, as: 'stateDescription'
property :success_count, as: 'successCount'
property :total_count, as: 'totalCount'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudTalentV4BatchUpdateJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
end
end
class GoogleCloudTalentV4CompensationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :annualized_base_compensation_range, as: 'annualizedBaseCompensationRange', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
property :annualized_total_compensation_range, as: 'annualizedTotalCompensationRange', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
collection :entries, as: 'entries', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry::Representation
end
end
class GoogleCloudTalentV4CompensationInfoCompensationEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount, as: 'amount', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
property :description, as: 'description'
property :expected_units_per_year, as: 'expectedUnitsPerYear'
property :range, as: 'range', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
property :type, as: 'type'
property :unit, as: 'unit'
end
end
class GoogleCloudTalentV4CompensationInfoCompensationRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_compensation, as: 'maxCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
property :min_compensation, as: 'minCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
end
end
class GoogleCloudTalentV4CustomAttribute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filterable, as: 'filterable'
property :keyword_searchable, as: 'keywordSearchable'
collection :long_values, as: 'longValues'
collection :string_values, as: 'stringValues'
end
end
class GoogleCloudTalentV4Job
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :addresses, as: 'addresses'
property :application_info, as: 'applicationInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo::Representation
property :company, as: 'company'
property :company_display_name, as: 'companyDisplayName'
property :compensation_info, as: 'compensationInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo::Representation
hash :custom_attributes, as: 'customAttributes', class: Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute::Representation
collection :degree_types, as: 'degreeTypes'
property :department, as: 'department'
property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo::Representation
property :description, as: 'description'
collection :employment_types, as: 'employmentTypes'
property :incentives, as: 'incentives'
collection :job_benefits, as: 'jobBenefits'
property :job_end_time, as: 'jobEndTime'
property :job_level, as: 'jobLevel'
property :job_start_time, as: 'jobStartTime'
property :language_code, as: 'languageCode'
property :name, as: 'name'
property :posting_create_time, as: 'postingCreateTime'
property :posting_expire_time, as: 'postingExpireTime'
property :posting_publish_time, as: 'postingPublishTime'
property :posting_region, as: 'postingRegion'
property :posting_update_time, as: 'postingUpdateTime'
property :processing_options, as: 'processingOptions', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions::Representation
property :promotion_value, as: 'promotionValue'
property :qualifications, as: 'qualifications'
property :requisition_id, as: 'requisitionId'
property :responsibilities, as: 'responsibilities'
property :title, as: 'title'
property :visibility, as: 'visibility'
end
end
class GoogleCloudTalentV4JobApplicationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :emails, as: 'emails'
property :instruction, as: 'instruction'
collection :uris, as: 'uris'
end
end
class GoogleCloudTalentV4JobDerivedInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_categories, as: 'jobCategories'
collection :locations, as: 'locations', class: Google::Apis::JobsV3::GoogleCloudTalentV4Location, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4Location::Representation
end
end
class GoogleCloudTalentV4JobProcessingOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_street_address_resolution, as: 'disableStreetAddressResolution'
property :html_sanitization, as: 'htmlSanitization'
end
end
class GoogleCloudTalentV4JobResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job, as: 'job', class: Google::Apis::JobsV3::GoogleCloudTalentV4Job, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4Job::Representation
property :status, as: 'status', class: Google::Apis::JobsV3::Status, decorator: Google::Apis::JobsV3::Status::Representation
end
end
class GoogleCloudTalentV4Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::JobsV3::LatLng, decorator: Google::Apis::JobsV3::LatLng::Representation
property :location_type, as: 'locationType'
property :postal_address, as: 'postalAddress', class: Google::Apis::JobsV3::PostalAddress, decorator: Google::Apis::JobsV3::PostalAddress::Representation
property :radius_miles, as: 'radiusMiles'
end
end
class HistogramFacets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -921,6 +1184,15 @@ module Google
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
class TimeOfDay
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/lite/docs
module PubsubliteV1
VERSION = 'V1'
REVISION = '20200915'
REVISION = '20200929'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -100,8 +100,8 @@ module Google
attr_accessor :minimum_event_time
# The minimum publish timestamp across these messages. Note that publish
# timestamps within a partition are non-decreasing. The timestamp will be unset
# if there are no messages.
# timestamps within a partition are not guaranteed to be non-decreasing. The
# timestamp will be unset if there are no messages.
# Corresponds to the JSON property `minimumPublishTime`
# @return [String]
attr_accessor :minimum_publish_time

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/memorystore/docs/redis/
module RedisV1
VERSION = 'V1'
REVISION = '20200916'
REVISION = '20200928'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -416,11 +416,11 @@ module Google
# A list of Redis instances in the project in the specified location, or across
# all locations. If the `location_id` in the parent field of the request is "-",
# all regions available to the project are queried, and the results aggregated.
# If in such an aggregated query a location is unavailable, a dummy Redis entry
# is included in the response with the `name` field set to a value of the form `
# projects/`project_id`/locations/`location_id`/instances/`- and the `status`
# field set to ERROR and `status_message` field set to "location not available
# for ListInstances".
# If in such an aggregated query a location is unavailable, a placeholder Redis
# entry is included in the response with the `name` field set to a value of the
# form `projects/`project_id`/locations/`location_id`/instances/`- and the `
# status` field set to ERROR and `status_message` field set to "location not
# available for ListInstances".
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::RedisV1::Instance>]
attr_accessor :instances

View File

@ -235,8 +235,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Initiates a failover of the master node to current replica node for a specific
# STANDARD tier Cloud Memorystore for Redis instance.
# Initiates a failover of the primary node to current replica node for a
# specific STANDARD tier Cloud Memorystore for Redis instance.
# @param [String] name
# Required. Redis instance resource name using the form: `projects/`project_id`/
# locations/`location_id`/instances/`instance_id`` where `location_id` refers to

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/memorystore/docs/redis/
module RedisV1beta1
VERSION = 'V1beta1'
REVISION = '20200916'
REVISION = '20200928'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -263,6 +263,14 @@ module Google
# @return [String]
attr_accessor :alternative_location_id
# Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set
# to "true" AUTH is enabled on the instance. Default value is "false" meaning
# AUTH is disabled.
# Corresponds to the JSON property `authEnabled`
# @return [Boolean]
attr_accessor :auth_enabled
alias_method :auth_enabled?, :auth_enabled
# Optional. The full name of the Google Compute Engine [network](https://cloud.
# google.com/vpc/docs/vpc) to which the instance is connected. If left
# unspecified, the `default` network will be used.
@ -391,6 +399,7 @@ module Google
# Update properties of this object
def update!(**args)
@alternative_location_id = args[:alternative_location_id] if args.key?(:alternative_location_id)
@auth_enabled = args[:auth_enabled] if args.key?(:auth_enabled)
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
@connect_mode = args[:connect_mode] if args.key?(:connect_mode)
@create_time = args[:create_time] if args.key?(:create_time)
@ -412,6 +421,25 @@ module Google
end
end
# Instance AUTH string details.
class InstanceAuthString
include Google::Apis::Core::Hashable
# AUTH string set on the instance.
# Corresponds to the JSON property `authString`
# @return [String]
attr_accessor :auth_string
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@auth_string = args[:auth_string] if args.key?(:auth_string)
end
end
# Response for ListInstances.
class ListInstancesResponse
include Google::Apis::Core::Hashable
@ -419,11 +447,11 @@ module Google
# A list of Redis instances in the project in the specified location, or across
# all locations. If the `location_id` in the parent field of the request is "-",
# all regions available to the project are queried, and the results aggregated.
# If in such an aggregated query a location is unavailable, a dummy Redis entry
# is included in the response with the `name` field set to a value of the form `
# projects/`project_id`/locations/`location_id`/instances/`- and the `status`
# field set to ERROR and `status_message` field set to "location not available
# for ListInstances".
# If in such an aggregated query a location is unavailable, a placeholder Redis
# entry is included in the response with the `name` field set to a value of the
# form `projects/`project_id`/locations/`location_id`/instances/`- and the `
# status` field set to ERROR and `status_message` field set to "location not
# available for ListInstances".
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::RedisV1beta1::Instance>]
attr_accessor :instances

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceAuthString
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -218,6 +224,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :alternative_location_id, as: 'alternativeLocationId'
property :auth_enabled, as: 'authEnabled'
property :authorized_network, as: 'authorizedNetwork'
property :connect_mode, as: 'connectMode'
property :create_time, as: 'createTime'
@ -239,6 +246,13 @@ module Google
end
end
class InstanceAuthString
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auth_string, as: 'authString'
end
end
class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -235,8 +235,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Initiates a failover of the master node to current replica node for a specific
# STANDARD tier Cloud Memorystore for Redis instance.
# Initiates a failover of the primary node to current replica node for a
# specific STANDARD tier Cloud Memorystore for Redis instance.
# @param [String] name
# Required. Redis instance resource name using the form: `projects/`project_id`/
# locations/`location_id`/instances/`instance_id`` where `location_id` refers to
@ -303,6 +303,40 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the AUTH string for a Redis instance. If AUTH is not enabled for the
# instance the response will be empty. This information is not included in the
# details returned to GetInstance.
# @param [String] name
# Required. Redis instance resource name using the form: `projects/`project_id`/
# locations/`location_id`/instances/`instance_id`` where `location_id` refers to
# a GCP region.
# @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::RedisV1beta1::InstanceAuthString] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RedisV1beta1::InstanceAuthString]
#
# @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_instance_auth_string(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/authString', options)
command.response_representation = Google::Apis::RedisV1beta1::InstanceAuthString::Representation
command.response_class = Google::Apis::RedisV1beta1::InstanceAuthString
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
# Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
# Redis may stop serving during this operation. Instance state will be IMPORTING
# for entire operation. When complete, the instance will contain only data from

View File

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

View File

@ -215,6 +215,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1LabelAnnotation
include Google::Apis::Core::Hashable
@ -516,6 +535,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -831,6 +875,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation>]
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`
@ -852,6 +901,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
@ -912,10 +966,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -1293,6 +1349,60 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Config for FACE_DETECTION.
class GoogleCloudVideointelligenceV1beta2FaceDetectionConfig
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 set to false.
# Corresponds to the JSON property `includeAttributes`
# @return [Boolean]
attr_accessor :include_attributes
alias_method :include_attributes?, :include_attributes
# Whether bounding boxes are 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 GoogleCloudVideointelligenceV1beta2LabelAnnotation
include Google::Apis::Core::Hashable
@ -1670,6 +1780,68 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Config for PERSON_DETECTION.
class GoogleCloudVideointelligenceV1beta2PersonDetectionConfig
include Google::Apis::Core::Hashable
# Whether to enable person attributes detection, such as cloth color (black,
# blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc.
# Ignored if 'include_bounding_boxes' is set to false.
# Corresponds to the JSON property `includeAttributes`
# @return [Boolean]
attr_accessor :include_attributes
alias_method :include_attributes?, :include_attributes
# Whether bounding boxes are included in the person detection annotation output.
# Corresponds to the JSON property `includeBoundingBoxes`
# @return [Boolean]
attr_accessor :include_bounding_boxes
alias_method :include_bounding_boxes?, :include_bounding_boxes
# Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes'
# is set to false.
# Corresponds to the JSON property `includePoseLandmarks`
# @return [Boolean]
attr_accessor :include_pose_landmarks
alias_method :include_pose_landmarks?, :include_pose_landmarks
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)
@include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks)
end
end
# Config for SHOT_CHANGE_DETECTION.
class GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
include Google::Apis::Core::Hashable
@ -2154,6 +2326,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
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`
@ -2175,6 +2352,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
@ -2235,10 +2417,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -2259,6 +2443,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig]
attr_accessor :explicit_content_detection_config
# Config for FACE_DETECTION.
# Corresponds to the JSON property `faceDetectionConfig`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig]
attr_accessor :face_detection_config
# Config for LABEL_DETECTION.
# Corresponds to the JSON property `labelDetectionConfig`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig]
@ -2269,6 +2458,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig]
attr_accessor :object_tracking_config
# Config for PERSON_DETECTION.
# Corresponds to the JSON property `personDetectionConfig`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig]
attr_accessor :person_detection_config
# Video segments to annotate. The segments may overlap and are not required to
# be contiguous or span the whole video. If unspecified, each video is treated
# as a single segment.
@ -2298,8 +2492,10 @@ 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)
@person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config)
@segments = args[:segments] if args.key?(:segments)
@shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
@speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@ -2586,6 +2782,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
include Google::Apis::Core::Hashable
@ -2887,6 +3102,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -3202,6 +3442,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
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`
@ -3223,6 +3468,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
@ -3283,10 +3533,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -3577,6 +3829,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
include Google::Apis::Core::Hashable
@ -3878,6 +4149,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -4193,6 +4489,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
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`
@ -4214,6 +4515,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@ -4274,10 +4580,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -4658,17 +4966,6 @@ module Google
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
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
@ -4680,8 +4977,6 @@ module Google
# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end

View File

@ -64,6 +64,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -118,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -238,6 +250,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -304,6 +328,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -442,6 +478,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -496,6 +538,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -604,6 +652,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -658,6 +712,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1007,6 +1067,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1101,6 +1168,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1196,6 +1272,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1203,6 +1281,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@ -1322,6 +1402,22 @@ module Google
end
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionConfig
# @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 GoogleCloudVideointelligenceV1beta2LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1434,6 +1530,24 @@ module Google
end
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :include_attributes, as: 'includeAttributes'
property :include_bounding_boxes, as: 'includeBoundingBoxes'
property :include_pose_landmarks, as: 'includePoseLandmarks'
end
end
class GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1567,6 +1681,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1574,6 +1690,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@ -1598,10 +1716,14 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig::Representation
property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig::Representation
property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig::Representation
property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig::Representation
property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig::Representation
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig::Representation
@ -1693,6 +1815,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1787,6 +1916,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1882,6 +2020,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1889,6 +2029,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@ -1988,6 +2130,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2082,6 +2231,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2177,6 +2335,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -2184,6 +2344,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
@ -2314,9 +2476,6 @@ module Google
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
property :version, as: 'version'
end
end

View File

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

View File

@ -215,6 +215,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1LabelAnnotation
include Google::Apis::Core::Hashable
@ -516,6 +535,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -831,6 +875,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation>]
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`
@ -852,6 +901,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment]
@ -912,10 +966,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -1206,6 +1262,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
include Google::Apis::Core::Hashable
@ -1507,6 +1582,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -1822,6 +1922,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
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`
@ -1843,6 +1948,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
@ -1903,10 +2013,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -2197,6 +2309,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
include Google::Apis::Core::Hashable
@ -2498,6 +2629,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -2813,6 +2969,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
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`
@ -2834,6 +2995,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
@ -2894,10 +3060,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -3275,6 +3443,60 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Config for FACE_DETECTION.
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig
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 set to false.
# Corresponds to the JSON property `includeAttributes`
# @return [Boolean]
attr_accessor :include_attributes
alias_method :include_attributes?, :include_attributes
# Whether bounding boxes are 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 GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
include Google::Apis::Core::Hashable
@ -3652,6 +3874,68 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Config for PERSON_DETECTION.
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig
include Google::Apis::Core::Hashable
# Whether to enable person attributes detection, such as cloth color (black,
# blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc.
# Ignored if 'include_bounding_boxes' is set to false.
# Corresponds to the JSON property `includeAttributes`
# @return [Boolean]
attr_accessor :include_attributes
alias_method :include_attributes?, :include_attributes
# Whether bounding boxes are included in the person detection annotation output.
# Corresponds to the JSON property `includeBoundingBoxes`
# @return [Boolean]
attr_accessor :include_bounding_boxes
alias_method :include_bounding_boxes?, :include_bounding_boxes
# Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes'
# is set to false.
# Corresponds to the JSON property `includePoseLandmarks`
# @return [Boolean]
attr_accessor :include_pose_landmarks
alias_method :include_pose_landmarks?, :include_pose_landmarks
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)
@include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks)
end
end
# Config for SHOT_CHANGE_DETECTION.
class GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig
include Google::Apis::Core::Hashable
@ -4136,6 +4420,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
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`
@ -4157,6 +4446,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@ -4217,10 +4511,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -4241,6 +4537,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig]
attr_accessor :explicit_content_detection_config
# Config for FACE_DETECTION.
# Corresponds to the JSON property `faceDetectionConfig`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig]
attr_accessor :face_detection_config
# Config for LABEL_DETECTION.
# Corresponds to the JSON property `labelDetectionConfig`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig]
@ -4251,6 +4552,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig]
attr_accessor :object_tracking_config
# Config for PERSON_DETECTION.
# Corresponds to the JSON property `personDetectionConfig`
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig]
attr_accessor :person_detection_config
# Video segments to annotate. The segments may overlap and are not required to
# be contiguous or span the whole video. If unspecified, each video is treated
# as a single segment.
@ -4280,8 +4586,10 @@ 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)
@person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config)
@segments = args[:segments] if args.key?(:segments)
@shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
@speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@ -4658,17 +4966,6 @@ module Google
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
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
@ -4680,8 +4977,6 @@ module Google
# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end

View File

@ -64,6 +64,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -118,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -226,6 +238,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -280,6 +298,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -388,6 +412,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -442,6 +472,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -562,6 +598,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -628,6 +676,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1007,6 +1067,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1101,6 +1168,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1196,6 +1272,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1203,6 +1281,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@ -1302,6 +1382,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1396,6 +1483,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1491,6 +1587,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1498,6 +1596,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@ -1597,6 +1697,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1691,6 +1798,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1786,6 +1902,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1793,6 +1911,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@ -1912,6 +2032,22 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig
# @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 GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2024,6 +2160,24 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :include_attributes, as: 'includeAttributes'
property :include_bounding_boxes, as: 'includeBoundingBoxes'
property :include_pose_landmarks, as: 'includePoseLandmarks'
end
end
class GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2157,6 +2311,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -2164,6 +2320,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
@ -2188,10 +2346,14 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig::Representation
property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig::Representation
property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig::Representation
property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig::Representation
property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig::Representation
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig::Representation
@ -2314,9 +2476,6 @@ module Google
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
property :version, as: 'version'
end
end

View File

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

View File

@ -215,6 +215,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1LabelAnnotation
include Google::Apis::Core::Hashable
@ -516,6 +535,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -831,6 +875,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation>]
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`
@ -852,6 +901,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment]
@ -912,10 +966,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -1206,6 +1262,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
include Google::Apis::Core::Hashable
@ -1507,6 +1582,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -1822,6 +1922,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
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`
@ -1843,6 +1948,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
@ -1903,10 +2013,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -2197,6 +2309,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
include Google::Apis::Core::Hashable
@ -2498,6 +2629,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -2813,6 +2969,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
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`
@ -2834,6 +2995,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
@ -2894,10 +3060,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -3188,6 +3356,25 @@ module Google
end
end
# Face detection annotation.
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@version = args[:version] if args.key?(:version)
end
end
# Label annotation.
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
include Google::Apis::Core::Hashable
@ -3489,6 +3676,31 @@ module Google
end
end
# Person detection annotation per video.
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
include Google::Apis::Core::Hashable
# The detected tracks of a person.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
attr_accessor :tracks
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
# Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
include Google::Apis::Core::Hashable
@ -3804,6 +4016,11 @@ module Google
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
attr_accessor :explicit_annotation
# Face detection annotations.
# Corresponds to the JSON property `faceDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
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`
@ -3825,6 +4042,11 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
attr_accessor :object_annotations
# Person detection annotations.
# Corresponds to the JSON property `personDetectionAnnotations`
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>]
attr_accessor :person_detection_annotations
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@ -3885,10 +4107,12 @@ module Google
def update!(**args)
@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)
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
@segment = args[:segment] if args.key?(:segment)
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@ -4356,17 +4580,6 @@ module Google
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
# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
@ -4378,8 +4591,6 @@ module Google
# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end

View File

@ -64,6 +64,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -118,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -226,6 +238,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -280,6 +298,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -388,6 +412,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -442,6 +472,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -550,6 +586,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -604,6 +646,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1019,6 +1067,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1113,6 +1168,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1208,6 +1272,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1215,6 +1281,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@ -1314,6 +1382,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1408,6 +1483,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1503,6 +1587,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1510,6 +1596,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@ -1609,6 +1697,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1703,6 +1798,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1798,6 +1902,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -1805,6 +1911,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@ -1904,6 +2012,13 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1998,6 +2113,15 @@ module Google
end
end
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Track::Representation
property :version, as: 'version'
end
end
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2093,6 +2217,8 @@ module Google
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
property :input_uri, as: 'inputUri'
@ -2100,6 +2226,8 @@ module Google
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
@ -2250,9 +2378,6 @@ module Google
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
property :version, as: 'version'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20200929'
REVISION = '20201001'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/
module YoutubeV3
VERSION = 'V3'
REVISION = '20200929'
REVISION = '20200930'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'