Autogenerated update (2019-07-10)

Update:
- accesscontextmanager_v1
- accesscontextmanager_v1beta
- cloudbilling_v1
- cloudprivatecatalogproducer_v1beta1
- compute_alpha
- compute_beta
- compute_v1
- container_v1
- content_v2
- content_v2_1
- healthcare_v1beta1
- iap_v1
- iap_v1beta1
- ml_v1
- serviceconsumermanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- slides_v1
- vision_v1
- vision_v1p1beta1
- vision_v1p2beta1
This commit is contained in:
Google APIs 2019-07-10 00:37:46 +00:00
parent d828b4ba95
commit ce5b6f9566
60 changed files with 9587 additions and 507 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1
VERSION = 'V1'
REVISION = '20190529'
REVISION = '20190704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -401,7 +401,7 @@ module Google
# `accessPolicies/`policy_id`/accessLevels/`short_name``
# @param [Google::Apis::AccesscontextmanagerV1::AccessLevel] access_level_object
# @param [String] update_mask
# Required. Mask to control which fields get updated. Must be non-empty.
# Required. Mask to control which fields get updated. Must be non-empty.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1beta
VERSION = 'V1beta'
REVISION = '20190617'
REVISION = '20190704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -401,7 +401,7 @@ module Google
# `accessPolicies/`policy_id`/accessLevels/`short_name``
# @param [Google::Apis::AccesscontextmanagerV1beta::AccessLevel] access_level_object
# @param [String] update_mask
# Required. Mask to control which fields get updated. Must be non-empty.
# Required. Mask to control which fields get updated. Must be non-empty.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

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

View File

@ -72,7 +72,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -84,7 +84,7 @@ module Google
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -92,16 +92,16 @@ module Google
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class AuditConfig
include Google::Apis::Core::Hashable
@ -135,7 +135,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -144,7 +144,7 @@ module Google
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class AuditLogConfig
include Google::Apis::Core::Hashable
@ -248,7 +248,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -569,7 +569,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/private-catalog/
module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1'
REVISION = '20190531'
REVISION = '20190704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -598,7 +598,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -610,7 +610,7 @@ module Google
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -618,16 +618,16 @@ module Google
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class GoogleIamV1AuditConfig
include Google::Apis::Core::Hashable
@ -661,7 +661,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -670,7 +670,7 @@ module Google
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class GoogleIamV1AuditLogConfig
include Google::Apis::Core::Hashable
@ -681,6 +681,14 @@ module Google
# @return [Array<String>]
attr_accessor :exempted_members
# Specifies whether principals can be exempted for the same LogType in
# lower-level resource policies. If true, any lower-level exemptions will
# be ignored.
# Corresponds to the JSON property `ignoreChildExemptions`
# @return [Boolean]
attr_accessor :ignore_child_exemptions
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
# The log type that this config enables.
# Corresponds to the JSON property `logType`
# @return [String]
@ -693,6 +701,7 @@ module Google
# Update properties of this object
def update!(**args)
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
@log_type = args[:log_type] if args.key?(:log_type)
end
end
@ -716,7 +725,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -804,7 +813,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -294,6 +294,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exempted_members, as: 'exemptedMembers'
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
property :log_type, as: 'logType'
end
end

View File

@ -151,6 +151,11 @@ module Google
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -168,11 +173,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_catalog_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
def get_catalog_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy
command.params['resource'] = resource unless resource.nil?
command.query['options.requestedPolicyVersion'] = 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?
execute_or_queue_command(command, &block)

View File

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

View File

@ -2420,10 +2420,34 @@ module Google
class Backend
include Google::Apis::Core::Hashable
# Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL
# load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE
# (for HTTP(S)) and CONNECTION (for TCP/SSL).
# For Internal Load Balancing, the default and only supported mode is CONNECTION.
# Specifies the balancing mode for the backend.
# When choosing a balancing mode, you need to consider the loadBalancingScheme,
# and protocol for the backend service, as well as the type of backend (instance
# group or NEG).
#
# - If the load balancing mode is CONNECTION, then the load is spread based on
# how many concurrent connections the backend can handle.
# The CONNECTION balancing mode is only available if the protocol for the
# backend service is SSL, TCP, or UDP.
# If the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and
# TCP Proxy load balancers), you must also specify exactly one of the following
# parameters: maxConnections, maxConnectionsPerInstance, or
# maxConnectionsPerEndpoint.
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
# UDP load balancers), you cannot specify any additional parameters.
#
# - If the load balancing mode is RATE, then the load is spread based on the
# rate of HTTP requests per second (RPS).
# The RATE balancing mode is only available if the protocol for the backend
# service is HTTP or HTTPS. You must specify exactly one of the following
# parameters: maxRate, maxRatePerInstance, or maxRatePerEndpoint.
#
# - If the load balancing mode is UTILIZATION, then the load is spread based on
# the CPU utilization of instances in an instance group.
# The UTILIZATION balancing mode is only available if the loadBalancingScheme of
# the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED
# and the backend is made up of instance groups. There are no restrictions on
# the backend service protocol.
# Corresponds to the JSON property `balancingMode`
# @return [String]
attr_accessor :balancing_mode
@ -2451,47 +2475,61 @@ module Google
attr_accessor :failover
alias_method :failover?, :failover
# The fully-qualified URL of an Instance Group or Network Endpoint Group
# resource. In case of instance group this defines the list of instances that
# serve traffic. Member virtual machine instances from each instance group must
# live in the same zone as the instance group itself. No two backends in a
# backend service are allowed to use same Instance Group resource.
# For Network Endpoint Groups this defines list of endpoints. All endpoints of
# Network Endpoint Group must be hosted on instances located in the same zone as
# the Network Endpoint Group.
# Backend service can not contain mix of Instance Group and Network Endpoint
# Group backends.
# Note that you must specify an Instance Group or Network Endpoint Group
# resource using the fully-qualified URL, rather than a partial URL.
# When the BackendService has load balancing scheme INTERNAL, the instance group
# must be within the same region as the BackendService. Network Endpoint Groups
# are not supported for INTERNAL load balancing scheme.
# The fully-qualified URL of an instance group or network endpoint group (NEG)
# resource. The type of backend that a backend service supports depends on the
# backend service's loadBalancingScheme.
#
# - When the loadBalancingScheme for the backend service is EXTERNAL,
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the backend can be either an
# instance group or a NEG. The backends on the backend service must be either
# all instance groups or all NEGs. You cannot mix instance group and NEG
# backends on the same backend service.
# - When the loadBalancingScheme for the backend service is INTERNAL, the
# backend must be an instance group in the same region as the backend service.
# NEGs are not supported.
# You must use the fully-qualified URL (starting with https://www.googleapis.com/
# ) to specify the instance group or NEG. Partial URLs are not supported.
# Corresponds to the JSON property `group`
# @return [String]
attr_accessor :group
# The max number of simultaneous connections for the group. Can be used with
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for the entire backend (
# instance group or NEG). If the backend's balancingMode is UTILIZATION, this is
# an optional parameter. If the backend's balancingMode is CONNECTION, and
# backend is attached to a backend service whose loadBalancingScheme is EXTERNAL,
# you must specify either this parameter, maxConnectionsPerInstance, or
# maxConnectionsPerEndpoint.
# Not available if the backend's balancingMode is RATE. If the
# loadBalancingScheme is INTERNAL, then maxConnections is not supported, even
# though the backend requires a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnections`
# @return [Fixnum]
attr_accessor :max_connections
# The max number of simultaneous connections that a single backend network
# endpoint can handle. This is used to calculate the capacity of the group. Can
# be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION
# mode, either maxConnections or maxConnectionsPerEndpoint must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for an endpoint of a NEG.
# This is multiplied by the number of endpoints in the NEG to implicitly
# calculate a maximum number of target maximum simultaneous connections for the
# NEG. If the backend's balancingMode is CONNECTION, and the backend is attached
# to a backend service whose loadBalancingScheme is EXTERNAL, you must specify
# either this parameter, maxConnections, or maxConnectionsPerInstance.
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
# balancing does not support setting maxConnectionsPerEndpoint even though its
# backends require a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
# @return [Fixnum]
attr_accessor :max_connections_per_endpoint
# The max number of simultaneous connections that a single backend instance can
# handle. This is used to calculate the capacity of the group. Can be used in
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for a single VM in a
# backend instance group. This is multiplied by the number of instances in the
# instance group to implicitly calculate a target maximum number of simultaneous
# connections for the whole instance group. If the backend's balancingMode is
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
# CONNECTION, and backend is attached to a backend service whose
# loadBalancingScheme is EXTERNAL, you must specify either this parameter,
# maxConnections, or maxConnectionsPerEndpoint.
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
# balancing does not support setting maxConnectionsPerInstance even though its
# backends require a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnectionsPerInstance`
# @return [Fixnum]
attr_accessor :max_connections_per_instance
@ -2504,27 +2542,33 @@ module Google
# @return [Fixnum]
attr_accessor :max_rate
# The max requests per second (RPS) that a single backend network endpoint can
# handle. This is used to calculate the capacity of the group. Can be used in
# either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint
# must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for requests per second (RPS) for an endpoint of a
# NEG. This is multiplied by the number of endpoints in the NEG to implicitly
# calculate a target maximum rate for the NEG.
# If the backend's balancingMode is RATE, you must specify either this parameter,
# maxRate, or maxRatePerInstance.
# Not available if the backend's balancingMode is CONNECTION.
# Corresponds to the JSON property `maxRatePerEndpoint`
# @return [Float]
attr_accessor :max_rate_per_endpoint
# The max requests per second (RPS) that a single backend instance can handle.
# This is used to calculate the capacity of the group. Can be used in either
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
# set.
# This cannot be used for internal load balancing.
# Defines a maximum target for requests per second (RPS) for a single VM in a
# backend instance group. This is multiplied by the number of instances in the
# instance group to implicitly calculate a target maximum rate for the whole
# instance group.
# If the backend's balancingMode is UTILIZATION, this is an optional parameter.
# If the backend's balancingMode is RATE, you must specify either this parameter,
# maxRate, or maxRatePerEndpoint.
# Not available if the backend's balancingMode is CONNECTION.
# Corresponds to the JSON property `maxRatePerInstance`
# @return [Float]
attr_accessor :max_rate_per_instance
# Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization
# target for the group. The default is 0.8. Valid range is [0.0, 1.0].
# This cannot be used for internal load balancing.
# Defines the maximum average CPU utilization of a backend VM in an instance
# group. The valid range is [0.0, 1.0]. This is an optional parameter if the
# backend's balancingMode is UTILIZATION.
# This parameter can be used in conjunction with maxRate, maxRatePerInstance,
# maxConnections, or maxConnectionsPerInstance.
# Corresponds to the JSON property `maxUtilization`
# @return [Float]
attr_accessor :max_utilization
@ -2550,7 +2594,9 @@ module Google
end
end
# A BackendBucket resource. This resource defines a Cloud Storage bucket.
# Represents a Cloud Storage Bucket resource.
# This Cloud Storage bucket resource is referenced by a URL map of a load
# balancer. For more information, read Backend Buckets.
class BackendBucket
include Google::Apis::Core::Hashable
@ -2778,16 +2824,22 @@ module Google
end
end
# A BackendService resource. This resource defines a group of backend virtual
# machines and their serving capacity. (== resource_for v1.backendService ==) (==
# resource_for beta.backendService ==)
# Represents a Backend Service resource.
# Backend services must have an associated health check. Backend services also
# store information about session affinity. For more information, read Backend
# Services.
# A backendServices resource represents a global backend service. Global backend
# services are used for HTTP(S), SSL Proxy, TCP Proxy load balancing and Traffic
# Director.
# A regionBackendServices resource represents a regional backend service.
# Regional backend services are used for internal TCP/UDP load balancing. For
# more information, read Internal TCP/UDP Load balancing. (== resource_for v1.
# backendService ==) (== resource_for beta.backendService ==)
class BackendService
include Google::Apis::Core::Hashable
# Lifetime of cookies in seconds if session_affinity is GENERATED_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 for TTL is one day.
# When the load balancing scheme is INTERNAL, this field is not used.
# 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).
# Corresponds to the JSON property `affinityCookieTtlSec`
# @return [Fixnum]
attr_accessor :affinity_cookie_ttl_sec
@ -2833,14 +2885,15 @@ module Google
# @return [String]
attr_accessor :description
# If true, enable Cloud CDN for this BackendService.
# When the load balancing scheme is INTERNAL, this field is not used.
# If true, enables Cloud CDN for the backend service. Only applicable if the
# loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.
# Corresponds to the JSON property `enableCDN`
# @return [Boolean]
attr_accessor :enable_cdn
alias_method :enable_cdn?, :enable_cdn
#
# Applicable only to Failover for Internal TCP/UDP Load Balancing. Requires at
# least one backend instance group to be defined as a backup (failover) backend.
# Corresponds to the JSON property `failoverPolicy`
# @return [Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy]
attr_accessor :failover_policy
@ -2948,23 +3001,27 @@ module Google
# Deprecated in favor of portName. The TCP port to connect on the backend. The
# default value is 80.
# This cannot be used for internal load balancing.
# This cannot be used if the loadBalancingScheme is INTERNAL (Internal TCP/UDP
# Load Balancing).
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Name of backend port. The same name should appear in the instance groups
# referenced by this service. Required when the load balancing scheme is
# EXTERNAL.
# When the load balancing scheme is INTERNAL, this field is not used.
# A named port on a backend instance group representing the port for
# communication to the backend VMs in that group. Required when the
# loadBalancingScheme is EXTERNAL and the backends are instance groups. The
# named port must be defined on each backend instance group. This parameter has
# no meaning if the backends are NEGs.
# Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
# Load Blaancing).
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# The protocol this BackendService uses to communicate with backends.
# Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.
# For internal load balancing, the possible values are TCP and UDP, and the
# default is TCP.
# Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen
# load balancer or Traffic Director configuration. Refer to the documentation
# for the load balancer or for Traffic director for more information.
# Corresponds to the JSON property `protocol`
# @return [String]
attr_accessor :protocol
@ -2998,18 +3055,22 @@ module Google
# @return [String]
attr_accessor :self_link_with_id
# Type of session affinity to use. The default is NONE.
# When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or
# GENERATED_COOKIE.
# When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP,
# Type of session affinity to use. The default is NONE. Session affinity is not
# applicable if the --protocol is UDP.
# When the loadBalancingScheme is EXTERNAL, possible values are NONE, CLIENT_IP,
# or GENERATED_COOKIE. GENERATED_COOKIE is only available if the protocol is
# HTTP or HTTPS.
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
# When the protocol is UDP, this field is not used.
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, possible values are
# NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.
# Corresponds to the JSON property `sessionAffinity`
# @return [String]
attr_accessor :session_affinity
# How many seconds to wait for the backend before considering it a failed
# request. Default is 30 seconds.
# The backend service timeout has a different meaning depending on the type of
# load balancer. For more information read, Backend service settings The
# default is 30 seconds.
# Corresponds to the JSON property `timeoutSec`
# @return [Fixnum]
attr_accessor :timeout_sec
@ -3214,11 +3275,6 @@ module Google
class BackendServiceFailoverPolicy
include Google::Apis::Core::Hashable
# On failover or failback, this field indicates whether connection drain will be
# honored. Setting this to true has the following effect: connections to the old
# active pool are not drained. Connections to the new active pool use the
# timeout of 10 min (currently fixed). Setting to false has the following effect:
# both old and new connections will have a drain timeout of 10 min.
# This can be set to true only if the protocol is TCP.
# The default is false.
# Corresponds to the JSON property `disableConnectionDrainOnFailover`
@ -3226,23 +3282,22 @@ module Google
attr_accessor :disable_connection_drain_on_failover
alias_method :disable_connection_drain_on_failover?, :disable_connection_drain_on_failover
# This option is used only when no healthy VMs are detected in the primary and
# backup instance groups. When set to true, traffic is dropped. When set to
# false, new connections are sent across all VMs in the primary group.
# Applicable only to Failover for Internal TCP/UDP Load Balancing. If set to
# true, connections to the load balancer are dropped when all primary and all
# backup backend VMs are unhealthy. If set to false, connections are distributed
# among all primary VMs when all primary and all backup backend VMs are
# unhealthy.
# The default is false.
# Corresponds to the JSON property `dropTrafficIfUnhealthy`
# @return [Boolean]
attr_accessor :drop_traffic_if_unhealthy
alias_method :drop_traffic_if_unhealthy?, :drop_traffic_if_unhealthy
# The value of the field must be in [0, 1]. If the ratio of the healthy VMs in
# the primary backend is at or below this number, traffic arriving at the load-
# balanced IP will be directed to the failover backend.
# In case where 'failoverRatio' is not set or all the VMs in the backup backend
# are unhealthy, the traffic will be directed back to the primary backend in the
# "force" mode, where traffic will be spread to the healthy VMs with the best
# effort, or to all VMs when no VM is healthy.
# This field is only used with l4 load balancing.
# Applicable only to Failover for Internal TCP/UDP Load Balancing. The value of
# the field must be in the range [0, 1]. If the value is 0, the load balancer
# performs a failover when the number of healthy primary VMs equals zero. For
# all other values, the load balancer performs a failover when the total number
# of healthy primary VMs is less than this ratio.
# Corresponds to the JSON property `failoverRatio`
# @return [Float]
attr_accessor :failover_ratio
@ -4699,8 +4754,9 @@ module Google
class ConnectionDraining
include Google::Apis::Core::Hashable
# Time for which instance will be drained (not accept new connections, but still
# work to finish started).
# The amount of time in seconds to allow existing connections to persist while
# on unhealthy backend VMs. Only applicable if the protocol is not UDP. The
# valid range is [0, 3600].
# Corresponds to the JSON property `drainingTimeoutSec`
# @return [Fixnum]
attr_accessor :draining_timeout_sec
@ -7233,13 +7289,32 @@ module Google
end
end
# A ForwardingRule resource. A ForwardingRule resource specifies which pool of
# target virtual machines to forward a packet to if it matches the given [
# IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
# (== resource_for v1.forwardingRules ==) (== resource_for beta.
# globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (==
# resource_for beta.regionForwardingRules ==) (== resource_for v1.
# regionForwardingRules ==)
# Represents a Forwarding Rule resource.
# A forwardingRules resource represents a regional forwarding rule.
# Regional external forwarding rules can reference any of the following
# resources:
#
# - A target instance
# - A Cloud VPN Classic gateway (targetVpnGateway),
# - A target pool for a Network Load Balancer
# - A global target HTTP(S) proxy for an HTTP(S) load balancer using Standard
# Tier
# - A target SSL proxy for a SSL Proxy load balancer using Standard Tier
# - A target TCP proxy for a TCP Proxy load balancer using Standard Tier.
# Regional internal forwarding rules can reference the backend service of an
# internal TCP/UDP load balancer.
# For regional internal forwarding rules, the following applies:
# - If the loadBalancingScheme for the load balancer is INTERNAL, then the
# forwarding rule references a regional internal backend service.
# - If the loadBalancingScheme for the load balancer is INTERNAL_MANAGED, then
# the forwarding rule must reference a regional target HTTP(S) proxy.
# For more information, read Using Forwarding rules.
# A globalForwardingRules resource represents a global forwarding rule.
# Global forwarding rules are only used by load balancers that use Premium Tier.
# (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules =
# =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
# globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
# resource_for v1.regionForwardingRules ==)
class ForwardingRule
include Google::Apis::Core::Hashable
@ -8410,9 +8485,11 @@ module Google
end
end
# An HealthCheck resource. This resource defines a template for how individual
# virtual machines should be checked for health, via one of the supported
# protocols.
# Represents a Health Check resource.
# Health checks are used for most GCP load balancers and managed instance group
# auto-healing. For more information, read Health Check Concepts.
# To perform health checks on network load balancers, you must use either
# httpHealthChecks or httpsHealthChecks.
class HealthCheck
include Google::Apis::Core::Hashable
@ -9585,8 +9662,9 @@ module Google
end
end
# An HttpHealthCheck resource. This resource defines a template for how
# individual instances should be checked for health, via HTTP.
# Represents a legacy HTTP Health Check resource.
# Legacy health checks are required by network load balancers. For more
# information, read Health Check Concepts.
class HttpHealthCheck
include Google::Apis::Core::Hashable
@ -9647,6 +9725,7 @@ module Google
attr_accessor :port
# The request path of the HTTP health check request. The default value is /.
# This field does not support query parameters.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
@ -10208,8 +10287,9 @@ module Google
end
end
# An HttpsHealthCheck resource. This resource defines a template for how
# individual instances should be checked for health, via HTTPS.
# Represents a legacy HTTPS Health Check resource.
# Legacy health checks are required by network load balancers. For more
# information, read Health Check Concepts.
class HttpsHealthCheck
include Google::Apis::Core::Hashable
@ -19215,19 +19295,18 @@ module Google
# This field will be deprecated soon. Use the exchange_subnet_routes field
# instead. Indicates whether full mesh connectivity is created and managed
# automatically. When it is set to true, Google Compute Engine will
# automatically create and manage the routes between two networks when the state
# is ACTIVE. Otherwise, user needs to create routes manually to route packets to
# peer network.
# automatically between peered networks. Currently this field should always be
# true since Google Compute Engine will automatically create and manage
# subnetwork routes between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
alias_method :auto_create_routes?, :auto_create_routes
# Whether full mesh connectivity is created and managed automatically. When it
# is set to true, Google Compute Engine will automatically create and manage the
# routes between two networks when the peering state is ACTIVE. Otherwise, user
# needs to create routes manually to route packets to peer network.
# Indicates whether full mesh connectivity is created and managed automatically
# between peered networks. Currently this field should always be true since
# Google Compute Engine will automatically create and manage subnetwork routes
# between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `exchangeSubnetRoutes`
# @return [Boolean]
attr_accessor :exchange_subnet_routes
@ -19347,8 +19426,10 @@ module Google
include Google::Apis::Core::Hashable
# This field will be deprecated soon. Use exchange_subnet_routes in
# network_peering instead. Whether Google Compute Engine manages the routes
# automatically.
# network_peering instead. Indicates whether full mesh connectivity is created
# and managed automatically between peered networks. Currently this field should
# always be true since Google Compute Engine will automatically create and
# manage subnetwork routes between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
@ -25213,9 +25294,13 @@ module Google
class RegionUrlMapsValidateRequest
include Google::Apis::Core::Hashable
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::ComputeAlpha::UrlMap]
attr_accessor :resource
@ -28388,7 +28473,8 @@ module Google
# @return [Fixnum]
attr_accessor :min_node_cpus
# A set of node affinity and anti-affinity.
# A set of node affinity and anti-affinity configurations. Refer to Configuring
# node affinity for more information.
# Corresponds to the JSON property `nodeAffinities`
# @return [Array<Google::Apis::ComputeAlpha::SchedulingNodeAffinity>]
attr_accessor :node_affinities
@ -28434,7 +28520,8 @@ module Google
# @return [String]
attr_accessor :key
# Defines the operation of node selection.
# Defines the operation of node selection. Valid operators are IN for affinity
# and NOT_IN for anti-affinity.
# Corresponds to the JSON property `operator`
# @return [String]
attr_accessor :operator
@ -28513,9 +28600,11 @@ module Google
end
end
# A security policy is comprised of one or more rules. It can also be associated
# with one or more 'targets'. (== resource_for v1.securityPolicies ==) (==
# resource_for beta.securityPolicies ==)
# Represents a Cloud Armor Security Policy resource.
# Only external backend services that use load balancers can reference a
# Security Policy. For more information, read Cloud Armor Security Policy
# Concepts. (== resource_for v1.securityPolicies ==) (== resource_for beta.
# securityPolicies ==)
class SecurityPolicy
include Google::Apis::Core::Hashable
@ -29958,10 +30047,11 @@ module Google
end
end
# An SslCertificate resource. This resource provides a mechanism to upload an
# SSL key and certificate to the load balancer to serve secure connections from
# the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
# sslCertificates ==)
# Represents an SSL Certificate resource.
# This SSL certificate resource also contains a private key. You can use SSL
# keys and certificates to secure connections to a load balancer. For more
# information, read Creating and Using SSL Certificates. (== resource_for beta.
# sslCertificates ==) (== resource_for v1.sslCertificates ==)
class SslCertificate
include Google::Apis::Core::Hashable
@ -30603,10 +30693,11 @@ module Google
end
end
# A SSL policy specifies the server-side support for SSL features. This can be
# attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections
# between clients and the HTTPS or SSL proxy load balancer. They do not affect
# the connection between the load balancers and the backends.
# Represents a Cloud Armor Security Policy resource.
# Only external backend services used by HTTP or HTTPS load balancers can
# reference a Security Policy. For more information, read read Cloud Armor
# Security Policy Concepts. (== resource_for beta.sslPolicies ==) (==
# resource_for v1.sslPolicies ==)
class SslPolicy
include Google::Apis::Core::Hashable
@ -31792,7 +31883,10 @@ module Google
end
end
# A TargetHttpProxy resource. This resource defines an HTTP proxy. (==
# Represents a Target HTTP Proxy resource.
# A target HTTP proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTP proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
# =)
class TargetHttpProxy
@ -32246,7 +32340,10 @@ module Google
end
end
# A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (==
# Represents a Target HTTPS Proxy resource.
# A target HTTPS proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTPS proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpsProxies ==) (== resource_for v1.
# targetHttpsProxies ==)
class TargetHttpsProxy
@ -33023,9 +33120,12 @@ module Google
end
end
# A TargetPool resource. This resource defines a pool of instances, an
# associated HttpHealthCheck resource, and the fallback target pool. (==
# resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)
# Represents a Target Pool resource.
# Target pools are used for network TCP/UDP load balancing. A target pool
# references member instances, an associated legacy HttpHealthCheck resource,
# and, optionally, a backup target pool. For more information, read Using target
# pools. (== resource_for beta.targetPools ==) (== resource_for v1.targetPools ==
# )
class TargetPool
include Google::Apis::Core::Hashable
@ -33670,8 +33770,12 @@ module Google
end
end
# A TargetSslProxy resource. This resource defines an SSL proxy. (==
# resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)
# Represents a Target SSL Proxy resource.
# A target SSL proxy is a component of a SSL Proxy load balancer. Global
# forwarding rules reference a target SSL proxy, and the target proxy then
# references an external backend service. For more information, read Using
# Target Proxies. (== resource_for beta.targetSslProxies ==) (== resource_for v1.
# targetSslProxies ==)
class TargetSslProxy
include Google::Apis::Core::Hashable
@ -33913,8 +34017,12 @@ module Google
end
end
# A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for
# beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)
# Represents a Target TCP Proxy resource.
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
# forwarding rules reference ta target TCP proxy, and the target proxy then
# references an external backend service. For more information, read TCP Proxy
# Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
# resource_for v1.targetTcpProxies ==)
class TargetTcpProxy
include Google::Apis::Core::Hashable
@ -34779,9 +34887,13 @@ module Google
end
end
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
class UrlMap
include Google::Apis::Core::Hashable
@ -35356,9 +35468,13 @@ module Google
class UrlMapsValidateRequest
include Google::Apis::Core::Hashable
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::ComputeAlpha::UrlMap]
attr_accessor :resource

View File

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

View File

@ -2161,10 +2161,34 @@ module Google
class Backend
include Google::Apis::Core::Hashable
# Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL
# load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE
# (for HTTP(S)) and CONNECTION (for TCP/SSL).
# For Internal Load Balancing, the default and only supported mode is CONNECTION.
# Specifies the balancing mode for the backend.
# When choosing a balancing mode, you need to consider the loadBalancingScheme,
# and protocol for the backend service, as well as the type of backend (instance
# group or NEG).
#
# - If the load balancing mode is CONNECTION, then the load is spread based on
# how many concurrent connections the backend can handle.
# The CONNECTION balancing mode is only available if the protocol for the
# backend service is SSL, TCP, or UDP.
# If the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and
# TCP Proxy load balancers), you must also specify exactly one of the following
# parameters: maxConnections, maxConnectionsPerInstance, or
# maxConnectionsPerEndpoint.
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
# UDP load balancers), you cannot specify any additional parameters.
#
# - If the load balancing mode is RATE, then the load is spread based on the
# rate of HTTP requests per second (RPS).
# The RATE balancing mode is only available if the protocol for the backend
# service is HTTP or HTTPS. You must specify exactly one of the following
# parameters: maxRate, maxRatePerInstance, or maxRatePerEndpoint.
#
# - If the load balancing mode is UTILIZATION, then the load is spread based on
# the CPU utilization of instances in an instance group.
# The UTILIZATION balancing mode is only available if the loadBalancingScheme of
# the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED
# and the backend is made up of instance groups. There are no restrictions on
# the backend service protocol.
# Corresponds to the JSON property `balancingMode`
# @return [String]
attr_accessor :balancing_mode
@ -2192,47 +2216,61 @@ module Google
attr_accessor :failover
alias_method :failover?, :failover
# The fully-qualified URL of an Instance Group or Network Endpoint Group
# resource. In case of instance group this defines the list of instances that
# serve traffic. Member virtual machine instances from each instance group must
# live in the same zone as the instance group itself. No two backends in a
# backend service are allowed to use same Instance Group resource.
# For Network Endpoint Groups this defines list of endpoints. All endpoints of
# Network Endpoint Group must be hosted on instances located in the same zone as
# the Network Endpoint Group.
# Backend service can not contain mix of Instance Group and Network Endpoint
# Group backends.
# Note that you must specify an Instance Group or Network Endpoint Group
# resource using the fully-qualified URL, rather than a partial URL.
# When the BackendService has load balancing scheme INTERNAL, the instance group
# must be within the same region as the BackendService. Network Endpoint Groups
# are not supported for INTERNAL load balancing scheme.
# The fully-qualified URL of an instance group or network endpoint group (NEG)
# resource. The type of backend that a backend service supports depends on the
# backend service's loadBalancingScheme.
#
# - When the loadBalancingScheme for the backend service is EXTERNAL,
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the backend can be either an
# instance group or a NEG. The backends on the backend service must be either
# all instance groups or all NEGs. You cannot mix instance group and NEG
# backends on the same backend service.
# - When the loadBalancingScheme for the backend service is INTERNAL, the
# backend must be an instance group in the same region as the backend service.
# NEGs are not supported.
# You must use the fully-qualified URL (starting with https://www.googleapis.com/
# ) to specify the instance group or NEG. Partial URLs are not supported.
# Corresponds to the JSON property `group`
# @return [String]
attr_accessor :group
# The max number of simultaneous connections for the group. Can be used with
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for the entire backend (
# instance group or NEG). If the backend's balancingMode is UTILIZATION, this is
# an optional parameter. If the backend's balancingMode is CONNECTION, and
# backend is attached to a backend service whose loadBalancingScheme is EXTERNAL,
# you must specify either this parameter, maxConnectionsPerInstance, or
# maxConnectionsPerEndpoint.
# Not available if the backend's balancingMode is RATE. If the
# loadBalancingScheme is INTERNAL, then maxConnections is not supported, even
# though the backend requires a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnections`
# @return [Fixnum]
attr_accessor :max_connections
# The max number of simultaneous connections that a single backend network
# endpoint can handle. This is used to calculate the capacity of the group. Can
# be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION
# mode, either maxConnections or maxConnectionsPerEndpoint must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for an endpoint of a NEG.
# This is multiplied by the number of endpoints in the NEG to implicitly
# calculate a maximum number of target maximum simultaneous connections for the
# NEG. If the backend's balancingMode is CONNECTION, and the backend is attached
# to a backend service whose loadBalancingScheme is EXTERNAL, you must specify
# either this parameter, maxConnections, or maxConnectionsPerInstance.
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
# balancing does not support setting maxConnectionsPerEndpoint even though its
# backends require a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
# @return [Fixnum]
attr_accessor :max_connections_per_endpoint
# The max number of simultaneous connections that a single backend instance can
# handle. This is used to calculate the capacity of the group. Can be used in
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for a single VM in a
# backend instance group. This is multiplied by the number of instances in the
# instance group to implicitly calculate a target maximum number of simultaneous
# connections for the whole instance group. If the backend's balancingMode is
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
# CONNECTION, and backend is attached to a backend service whose
# loadBalancingScheme is EXTERNAL, you must specify either this parameter,
# maxConnections, or maxConnectionsPerEndpoint.
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
# balancing does not support setting maxConnectionsPerInstance even though its
# backends require a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnectionsPerInstance`
# @return [Fixnum]
attr_accessor :max_connections_per_instance
@ -2245,27 +2283,33 @@ module Google
# @return [Fixnum]
attr_accessor :max_rate
# The max requests per second (RPS) that a single backend network endpoint can
# handle. This is used to calculate the capacity of the group. Can be used in
# either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint
# must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for requests per second (RPS) for an endpoint of a
# NEG. This is multiplied by the number of endpoints in the NEG to implicitly
# calculate a target maximum rate for the NEG.
# If the backend's balancingMode is RATE, you must specify either this parameter,
# maxRate, or maxRatePerInstance.
# Not available if the backend's balancingMode is CONNECTION.
# Corresponds to the JSON property `maxRatePerEndpoint`
# @return [Float]
attr_accessor :max_rate_per_endpoint
# The max requests per second (RPS) that a single backend instance can handle.
# This is used to calculate the capacity of the group. Can be used in either
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
# set.
# This cannot be used for internal load balancing.
# Defines a maximum target for requests per second (RPS) for a single VM in a
# backend instance group. This is multiplied by the number of instances in the
# instance group to implicitly calculate a target maximum rate for the whole
# instance group.
# If the backend's balancingMode is UTILIZATION, this is an optional parameter.
# If the backend's balancingMode is RATE, you must specify either this parameter,
# maxRate, or maxRatePerEndpoint.
# Not available if the backend's balancingMode is CONNECTION.
# Corresponds to the JSON property `maxRatePerInstance`
# @return [Float]
attr_accessor :max_rate_per_instance
# Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization
# target for the group. The default is 0.8. Valid range is [0.0, 1.0].
# This cannot be used for internal load balancing.
# Defines the maximum average CPU utilization of a backend VM in an instance
# group. The valid range is [0.0, 1.0]. This is an optional parameter if the
# backend's balancingMode is UTILIZATION.
# This parameter can be used in conjunction with maxRate, maxRatePerInstance,
# maxConnections, or maxConnectionsPerInstance.
# Corresponds to the JSON property `maxUtilization`
# @return [Float]
attr_accessor :max_utilization
@ -2291,7 +2335,9 @@ module Google
end
end
# A BackendBucket resource. This resource defines a Cloud Storage bucket.
# Represents a Cloud Storage Bucket resource.
# This Cloud Storage bucket resource is referenced by a URL map of a load
# balancer. For more information, read Backend Buckets.
class BackendBucket
include Google::Apis::Core::Hashable
@ -2513,16 +2559,22 @@ module Google
end
end
# A BackendService resource. This resource defines a group of backend virtual
# machines and their serving capacity. (== resource_for v1.backendService ==) (==
# resource_for beta.backendService ==)
# Represents a Backend Service resource.
# Backend services must have an associated health check. Backend services also
# store information about session affinity. For more information, read Backend
# Services.
# A backendServices resource represents a global backend service. Global backend
# services are used for HTTP(S), SSL Proxy, TCP Proxy load balancing and Traffic
# Director.
# A regionBackendServices resource represents a regional backend service.
# Regional backend services are used for internal TCP/UDP load balancing. For
# more information, read Internal TCP/UDP Load balancing. (== resource_for v1.
# backendService ==) (== resource_for beta.backendService ==)
class BackendService
include Google::Apis::Core::Hashable
# Lifetime of cookies in seconds if session_affinity is GENERATED_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 for TTL is one day.
# When the load balancing scheme is INTERNAL, this field is not used.
# 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).
# Corresponds to the JSON property `affinityCookieTtlSec`
# @return [Fixnum]
attr_accessor :affinity_cookie_ttl_sec
@ -2568,14 +2620,15 @@ module Google
# @return [String]
attr_accessor :description
# If true, enable Cloud CDN for this BackendService.
# When the load balancing scheme is INTERNAL, this field is not used.
# If true, enables Cloud CDN for the backend service. Only applicable if the
# loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.
# Corresponds to the JSON property `enableCDN`
# @return [Boolean]
attr_accessor :enable_cdn
alias_method :enable_cdn?, :enable_cdn
#
# Applicable only to Failover for Internal TCP/UDP Load Balancing. Requires at
# least one backend instance group to be defined as a backup (failover) backend.
# Corresponds to the JSON property `failoverPolicy`
# @return [Google::Apis::ComputeBeta::BackendServiceFailoverPolicy]
attr_accessor :failover_policy
@ -2677,23 +2730,27 @@ module Google
# Deprecated in favor of portName. The TCP port to connect on the backend. The
# default value is 80.
# This cannot be used for internal load balancing.
# This cannot be used if the loadBalancingScheme is INTERNAL (Internal TCP/UDP
# Load Balancing).
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Name of backend port. The same name should appear in the instance groups
# referenced by this service. Required when the load balancing scheme is
# EXTERNAL.
# When the load balancing scheme is INTERNAL, this field is not used.
# A named port on a backend instance group representing the port for
# communication to the backend VMs in that group. Required when the
# loadBalancingScheme is EXTERNAL and the backends are instance groups. The
# named port must be defined on each backend instance group. This parameter has
# no meaning if the backends are NEGs.
# Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
# Load Blaancing).
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# The protocol this BackendService uses to communicate with backends.
# Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.
# For internal load balancing, the possible values are TCP and UDP, and the
# default is TCP.
# Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen
# load balancer or Traffic Director configuration. Refer to the documentation
# for the load balancer or for Traffic director for more information.
# Corresponds to the JSON property `protocol`
# @return [String]
attr_accessor :protocol
@ -2717,18 +2774,22 @@ module Google
# @return [String]
attr_accessor :self_link
# Type of session affinity to use. The default is NONE.
# When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or
# GENERATED_COOKIE.
# When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP,
# Type of session affinity to use. The default is NONE. Session affinity is not
# applicable if the --protocol is UDP.
# When the loadBalancingScheme is EXTERNAL, possible values are NONE, CLIENT_IP,
# or GENERATED_COOKIE. GENERATED_COOKIE is only available if the protocol is
# HTTP or HTTPS.
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
# When the protocol is UDP, this field is not used.
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, possible values are
# NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.
# Corresponds to the JSON property `sessionAffinity`
# @return [String]
attr_accessor :session_affinity
# How many seconds to wait for the backend before considering it a failed
# request. Default is 30 seconds.
# The backend service timeout has a different meaning depending on the type of
# load balancer. For more information read, Backend service settings The
# default is 30 seconds.
# Corresponds to the JSON property `timeoutSec`
# @return [Fixnum]
attr_accessor :timeout_sec
@ -2930,11 +2991,6 @@ module Google
class BackendServiceFailoverPolicy
include Google::Apis::Core::Hashable
# On failover or failback, this field indicates whether connection drain will be
# honored. Setting this to true has the following effect: connections to the old
# active pool are not drained. Connections to the new active pool use the
# timeout of 10 min (currently fixed). Setting to false has the following effect:
# both old and new connections will have a drain timeout of 10 min.
# This can be set to true only if the protocol is TCP.
# The default is false.
# Corresponds to the JSON property `disableConnectionDrainOnFailover`
@ -2942,23 +2998,22 @@ module Google
attr_accessor :disable_connection_drain_on_failover
alias_method :disable_connection_drain_on_failover?, :disable_connection_drain_on_failover
# This option is used only when no healthy VMs are detected in the primary and
# backup instance groups. When set to true, traffic is dropped. When set to
# false, new connections are sent across all VMs in the primary group.
# Applicable only to Failover for Internal TCP/UDP Load Balancing. If set to
# true, connections to the load balancer are dropped when all primary and all
# backup backend VMs are unhealthy. If set to false, connections are distributed
# among all primary VMs when all primary and all backup backend VMs are
# unhealthy.
# The default is false.
# Corresponds to the JSON property `dropTrafficIfUnhealthy`
# @return [Boolean]
attr_accessor :drop_traffic_if_unhealthy
alias_method :drop_traffic_if_unhealthy?, :drop_traffic_if_unhealthy
# The value of the field must be in [0, 1]. If the ratio of the healthy VMs in
# the primary backend is at or below this number, traffic arriving at the load-
# balanced IP will be directed to the failover backend.
# In case where 'failoverRatio' is not set or all the VMs in the backup backend
# are unhealthy, the traffic will be directed back to the primary backend in the
# "force" mode, where traffic will be spread to the healthy VMs with the best
# effort, or to all VMs when no VM is healthy.
# This field is only used with l4 load balancing.
# Applicable only to Failover for Internal TCP/UDP Load Balancing. The value of
# the field must be in the range [0, 1]. If the value is 0, the load balancer
# performs a failover when the number of healthy primary VMs equals zero. For
# all other values, the load balancer performs a failover when the total number
# of healthy primary VMs is less than this ratio.
# Corresponds to the JSON property `failoverRatio`
# @return [Float]
attr_accessor :failover_ratio
@ -3984,8 +4039,9 @@ module Google
class ConnectionDraining
include Google::Apis::Core::Hashable
# Time for which instance will be drained (not accept new connections, but still
# work to finish started).
# The amount of time in seconds to allow existing connections to persist while
# on unhealthy backend VMs. Only applicable if the protocol is not UDP. The
# valid range is [0, 3600].
# Corresponds to the JSON property `drainingTimeoutSec`
# @return [Fixnum]
attr_accessor :draining_timeout_sec
@ -6424,13 +6480,32 @@ module Google
end
end
# A ForwardingRule resource. A ForwardingRule resource specifies which pool of
# target virtual machines to forward a packet to if it matches the given [
# IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
# (== resource_for v1.forwardingRules ==) (== resource_for beta.
# globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (==
# resource_for beta.regionForwardingRules ==) (== resource_for v1.
# regionForwardingRules ==)
# Represents a Forwarding Rule resource.
# A forwardingRules resource represents a regional forwarding rule.
# Regional external forwarding rules can reference any of the following
# resources:
#
# - A target instance
# - A Cloud VPN Classic gateway (targetVpnGateway),
# - A target pool for a Network Load Balancer
# - A global target HTTP(S) proxy for an HTTP(S) load balancer using Standard
# Tier
# - A target SSL proxy for a SSL Proxy load balancer using Standard Tier
# - A target TCP proxy for a TCP Proxy load balancer using Standard Tier.
# Regional internal forwarding rules can reference the backend service of an
# internal TCP/UDP load balancer.
# For regional internal forwarding rules, the following applies:
# - If the loadBalancingScheme for the load balancer is INTERNAL, then the
# forwarding rule references a regional internal backend service.
# - If the loadBalancingScheme for the load balancer is INTERNAL_MANAGED, then
# the forwarding rule must reference a regional target HTTP(S) proxy.
# For more information, read Using Forwarding rules.
# A globalForwardingRules resource represents a global forwarding rule.
# Global forwarding rules are only used by load balancers that use Premium Tier.
# (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules =
# =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
# globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
# resource_for v1.regionForwardingRules ==)
class ForwardingRule
include Google::Apis::Core::Hashable
@ -7515,9 +7590,11 @@ module Google
end
end
# An HealthCheck resource. This resource defines a template for how individual
# virtual machines should be checked for health, via one of the supported
# protocols.
# Represents a Health Check resource.
# Health checks are used for most GCP load balancers and managed instance group
# auto-healing. For more information, read Health Check Concepts.
# To perform health checks on network load balancers, you must use either
# httpHealthChecks or httpsHealthChecks.
class HealthCheck
include Google::Apis::Core::Hashable
@ -8365,8 +8442,9 @@ module Google
end
end
# An HttpHealthCheck resource. This resource defines a template for how
# individual instances should be checked for health, via HTTP.
# Represents a legacy HTTP Health Check resource.
# Legacy health checks are required by network load balancers. For more
# information, read Health Check Concepts.
class HttpHealthCheck
include Google::Apis::Core::Hashable
@ -8427,6 +8505,7 @@ module Google
attr_accessor :port
# The request path of the HTTP health check request. The default value is /.
# This field does not support query parameters.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
@ -8982,8 +9061,9 @@ module Google
end
end
# An HttpsHealthCheck resource. This resource defines a template for how
# individual instances should be checked for health, via HTTPS.
# Represents a legacy HTTPS Health Check resource.
# Legacy health checks are required by network load balancers. For more
# information, read Health Check Concepts.
class HttpsHealthCheck
include Google::Apis::Core::Hashable
@ -16463,19 +16543,18 @@ module Google
# This field will be deprecated soon. Use the exchange_subnet_routes field
# instead. Indicates whether full mesh connectivity is created and managed
# automatically. When it is set to true, Google Compute Engine will
# automatically create and manage the routes between two networks when the state
# is ACTIVE. Otherwise, user needs to create routes manually to route packets to
# peer network.
# automatically between peered networks. Currently this field should always be
# true since Google Compute Engine will automatically create and manage
# subnetwork routes between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
alias_method :auto_create_routes?, :auto_create_routes
# Whether full mesh connectivity is created and managed automatically. When it
# is set to true, Google Compute Engine will automatically create and manage the
# routes between two networks when the peering state is ACTIVE. Otherwise, user
# needs to create routes manually to route packets to peer network.
# Indicates whether full mesh connectivity is created and managed automatically
# between peered networks. Currently this field should always be true since
# Google Compute Engine will automatically create and manage subnetwork routes
# between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `exchangeSubnetRoutes`
# @return [Boolean]
attr_accessor :exchange_subnet_routes
@ -16568,8 +16647,10 @@ module Google
include Google::Apis::Core::Hashable
# This field will be deprecated soon. Use exchange_subnet_routes in
# network_peering instead. Whether Google Compute Engine manages the routes
# automatically.
# network_peering instead. Indicates whether full mesh connectivity is created
# and managed automatically between peered networks. Currently this field should
# always be true since Google Compute Engine will automatically create and
# manage subnetwork routes between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
@ -20685,9 +20766,13 @@ module Google
class RegionUrlMapsValidateRequest
include Google::Apis::Core::Hashable
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::ComputeBeta::UrlMap]
attr_accessor :resource
@ -23435,7 +23520,8 @@ module Google
attr_accessor :automatic_restart
alias_method :automatic_restart?, :automatic_restart
# A set of node affinity and anti-affinity.
# A set of node affinity and anti-affinity configurations. Refer to Configuring
# node affinity for more information.
# Corresponds to the JSON property `nodeAffinities`
# @return [Array<Google::Apis::ComputeBeta::SchedulingNodeAffinity>]
attr_accessor :node_affinities
@ -23479,7 +23565,8 @@ module Google
# @return [String]
attr_accessor :key
# Defines the operation of node selection.
# Defines the operation of node selection. Valid operators are IN for affinity
# and NOT_IN for anti-affinity.
# Corresponds to the JSON property `operator`
# @return [String]
attr_accessor :operator
@ -23539,9 +23626,11 @@ module Google
end
end
# A security policy is comprised of one or more rules. It can also be associated
# with one or more 'targets'. (== resource_for v1.securityPolicies ==) (==
# resource_for beta.securityPolicies ==)
# Represents a Cloud Armor Security Policy resource.
# Only external backend services that use load balancers can reference a
# Security Policy. For more information, read Cloud Armor Security Policy
# Concepts. (== resource_for v1.securityPolicies ==) (== resource_for beta.
# securityPolicies ==)
class SecurityPolicy
include Google::Apis::Core::Hashable
@ -24541,10 +24630,11 @@ module Google
end
end
# An SslCertificate resource. This resource provides a mechanism to upload an
# SSL key and certificate to the load balancer to serve secure connections from
# the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
# sslCertificates ==)
# Represents an SSL Certificate resource.
# This SSL certificate resource also contains a private key. You can use SSL
# keys and certificates to secure connections to a load balancer. For more
# information, read Creating and Using SSL Certificates. (== resource_for beta.
# sslCertificates ==) (== resource_for v1.sslCertificates ==)
class SslCertificate
include Google::Apis::Core::Hashable
@ -25180,10 +25270,11 @@ module Google
end
end
# A SSL policy specifies the server-side support for SSL features. This can be
# attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections
# between clients and the HTTPS or SSL proxy load balancer. They do not affect
# the connection between the load balancers and the backends.
# Represents a Cloud Armor Security Policy resource.
# Only external backend services used by HTTP or HTTPS load balancers can
# reference a Security Policy. For more information, read read Cloud Armor
# Security Policy Concepts. (== resource_for beta.sslPolicies ==) (==
# resource_for v1.sslPolicies ==)
class SslPolicy
include Google::Apis::Core::Hashable
@ -26201,7 +26292,10 @@ module Google
end
end
# A TargetHttpProxy resource. This resource defines an HTTP proxy. (==
# Represents a Target HTTP Proxy resource.
# A target HTTP proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTP proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
# =)
class TargetHttpProxy
@ -26640,7 +26734,10 @@ module Google
end
end
# A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (==
# Represents a Target HTTPS Proxy resource.
# A target HTTPS proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTPS proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpsProxies ==) (== resource_for v1.
# targetHttpsProxies ==)
class TargetHttpsProxy
@ -27396,9 +27493,12 @@ module Google
end
end
# A TargetPool resource. This resource defines a pool of instances, an
# associated HttpHealthCheck resource, and the fallback target pool. (==
# resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)
# Represents a Target Pool resource.
# Target pools are used for network TCP/UDP load balancing. A target pool
# references member instances, an associated legacy HttpHealthCheck resource,
# and, optionally, a backup target pool. For more information, read Using target
# pools. (== resource_for beta.targetPools ==) (== resource_for v1.targetPools ==
# )
class TargetPool
include Google::Apis::Core::Hashable
@ -28037,8 +28137,12 @@ module Google
end
end
# A TargetSslProxy resource. This resource defines an SSL proxy. (==
# resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)
# Represents a Target SSL Proxy resource.
# A target SSL proxy is a component of a SSL Proxy load balancer. Global
# forwarding rules reference a target SSL proxy, and the target proxy then
# references an external backend service. For more information, read Using
# Target Proxies. (== resource_for beta.targetSslProxies ==) (== resource_for v1.
# targetSslProxies ==)
class TargetSslProxy
include Google::Apis::Core::Hashable
@ -28280,8 +28384,12 @@ module Google
end
end
# A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for
# beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)
# Represents a Target TCP Proxy resource.
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
# forwarding rules reference ta target TCP proxy, and the target proxy then
# references an external backend service. For more information, read TCP Proxy
# Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
# resource_for v1.targetTcpProxies ==)
class TargetTcpProxy
include Google::Apis::Core::Hashable
@ -28990,9 +29098,13 @@ module Google
end
end
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
class UrlMap
include Google::Apis::Core::Hashable
@ -29553,9 +29665,13 @@ module Google
class ValidateUrlMapsRequest
include Google::Apis::Core::Hashable
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::ComputeBeta::UrlMap]
attr_accessor :resource

View File

@ -47,7 +47,7 @@ module Google
attr_accessor :user_ip
def initialize
super('https://www.googleapis.com/', 'compute/beta/projects/')
super('https://compute.googleapis.com/', 'compute/beta/projects/')
@batch_path = 'batch/compute/beta'
end

View File

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

View File

@ -2083,10 +2083,34 @@ module Google
class Backend
include Google::Apis::Core::Hashable
# Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL
# load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE
# (for HTTP(S)) and CONNECTION (for TCP/SSL).
# For Internal Load Balancing, the default and only supported mode is CONNECTION.
# Specifies the balancing mode for the backend.
# When choosing a balancing mode, you need to consider the loadBalancingScheme,
# and protocol for the backend service, as well as the type of backend (instance
# group or NEG).
#
# - If the load balancing mode is CONNECTION, then the load is spread based on
# how many concurrent connections the backend can handle.
# The CONNECTION balancing mode is only available if the protocol for the
# backend service is SSL, TCP, or UDP.
# If the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and
# TCP Proxy load balancers), you must also specify exactly one of the following
# parameters: maxConnections, maxConnectionsPerInstance, or
# maxConnectionsPerEndpoint.
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
# UDP load balancers), you cannot specify any additional parameters.
#
# - If the load balancing mode is RATE, then the load is spread based on the
# rate of HTTP requests per second (RPS).
# The RATE balancing mode is only available if the protocol for the backend
# service is HTTP or HTTPS. You must specify exactly one of the following
# parameters: maxRate, maxRatePerInstance, or maxRatePerEndpoint.
#
# - If the load balancing mode is UTILIZATION, then the load is spread based on
# the CPU utilization of instances in an instance group.
# The UTILIZATION balancing mode is only available if the loadBalancingScheme of
# the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED
# and the backend is made up of instance groups. There are no restrictions on
# the backend service protocol.
# Corresponds to the JSON property `balancingMode`
# @return [String]
attr_accessor :balancing_mode
@ -2107,47 +2131,61 @@ module Google
# @return [String]
attr_accessor :description
# The fully-qualified URL of an Instance Group or Network Endpoint Group
# resource. In case of instance group this defines the list of instances that
# serve traffic. Member virtual machine instances from each instance group must
# live in the same zone as the instance group itself. No two backends in a
# backend service are allowed to use same Instance Group resource.
# For Network Endpoint Groups this defines list of endpoints. All endpoints of
# Network Endpoint Group must be hosted on instances located in the same zone as
# the Network Endpoint Group.
# Backend service can not contain mix of Instance Group and Network Endpoint
# Group backends.
# Note that you must specify an Instance Group or Network Endpoint Group
# resource using the fully-qualified URL, rather than a partial URL.
# When the BackendService has load balancing scheme INTERNAL, the instance group
# must be within the same region as the BackendService. Network Endpoint Groups
# are not supported for INTERNAL load balancing scheme.
# The fully-qualified URL of an instance group or network endpoint group (NEG)
# resource. The type of backend that a backend service supports depends on the
# backend service's loadBalancingScheme.
#
# - When the loadBalancingScheme for the backend service is EXTERNAL,
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the backend can be either an
# instance group or a NEG. The backends on the backend service must be either
# all instance groups or all NEGs. You cannot mix instance group and NEG
# backends on the same backend service.
# - When the loadBalancingScheme for the backend service is INTERNAL, the
# backend must be an instance group in the same region as the backend service.
# NEGs are not supported.
# You must use the fully-qualified URL (starting with https://www.googleapis.com/
# ) to specify the instance group or NEG. Partial URLs are not supported.
# Corresponds to the JSON property `group`
# @return [String]
attr_accessor :group
# The max number of simultaneous connections for the group. Can be used with
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for the entire backend (
# instance group or NEG). If the backend's balancingMode is UTILIZATION, this is
# an optional parameter. If the backend's balancingMode is CONNECTION, and
# backend is attached to a backend service whose loadBalancingScheme is EXTERNAL,
# you must specify either this parameter, maxConnectionsPerInstance, or
# maxConnectionsPerEndpoint.
# Not available if the backend's balancingMode is RATE. If the
# loadBalancingScheme is INTERNAL, then maxConnections is not supported, even
# though the backend requires a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnections`
# @return [Fixnum]
attr_accessor :max_connections
# The max number of simultaneous connections that a single backend network
# endpoint can handle. This is used to calculate the capacity of the group. Can
# be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION
# mode, either maxConnections or maxConnectionsPerEndpoint must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for an endpoint of a NEG.
# This is multiplied by the number of endpoints in the NEG to implicitly
# calculate a maximum number of target maximum simultaneous connections for the
# NEG. If the backend's balancingMode is CONNECTION, and the backend is attached
# to a backend service whose loadBalancingScheme is EXTERNAL, you must specify
# either this parameter, maxConnections, or maxConnectionsPerInstance.
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
# balancing does not support setting maxConnectionsPerEndpoint even though its
# backends require a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
# @return [Fixnum]
attr_accessor :max_connections_per_endpoint
# The max number of simultaneous connections that a single backend instance can
# handle. This is used to calculate the capacity of the group. Can be used in
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
# maxConnections or maxConnectionsPerInstance must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for simultaneous connections for a single VM in a
# backend instance group. This is multiplied by the number of instances in the
# instance group to implicitly calculate a target maximum number of simultaneous
# connections for the whole instance group. If the backend's balancingMode is
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
# CONNECTION, and backend is attached to a backend service whose
# loadBalancingScheme is EXTERNAL, you must specify either this parameter,
# maxConnections, or maxConnectionsPerEndpoint.
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
# balancing does not support setting maxConnectionsPerInstance even though its
# backends require a balancing mode of CONNECTION.
# Corresponds to the JSON property `maxConnectionsPerInstance`
# @return [Fixnum]
attr_accessor :max_connections_per_instance
@ -2160,27 +2198,33 @@ module Google
# @return [Fixnum]
attr_accessor :max_rate
# The max requests per second (RPS) that a single backend network endpoint can
# handle. This is used to calculate the capacity of the group. Can be used in
# either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint
# must be set.
# This cannot be used for internal load balancing.
# Defines a maximum target for requests per second (RPS) for an endpoint of a
# NEG. This is multiplied by the number of endpoints in the NEG to implicitly
# calculate a target maximum rate for the NEG.
# If the backend's balancingMode is RATE, you must specify either this parameter,
# maxRate, or maxRatePerInstance.
# Not available if the backend's balancingMode is CONNECTION.
# Corresponds to the JSON property `maxRatePerEndpoint`
# @return [Float]
attr_accessor :max_rate_per_endpoint
# The max requests per second (RPS) that a single backend instance can handle.
# This is used to calculate the capacity of the group. Can be used in either
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
# set.
# This cannot be used for internal load balancing.
# Defines a maximum target for requests per second (RPS) for a single VM in a
# backend instance group. This is multiplied by the number of instances in the
# instance group to implicitly calculate a target maximum rate for the whole
# instance group.
# If the backend's balancingMode is UTILIZATION, this is an optional parameter.
# If the backend's balancingMode is RATE, you must specify either this parameter,
# maxRate, or maxRatePerEndpoint.
# Not available if the backend's balancingMode is CONNECTION.
# Corresponds to the JSON property `maxRatePerInstance`
# @return [Float]
attr_accessor :max_rate_per_instance
# Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization
# target for the group. The default is 0.8. Valid range is [0.0, 1.0].
# This cannot be used for internal load balancing.
# Defines the maximum average CPU utilization of a backend VM in an instance
# group. The valid range is [0.0, 1.0]. This is an optional parameter if the
# backend's balancingMode is UTILIZATION.
# This parameter can be used in conjunction with maxRate, maxRatePerInstance,
# maxConnections, or maxConnectionsPerInstance.
# Corresponds to the JSON property `maxUtilization`
# @return [Float]
attr_accessor :max_utilization
@ -2205,7 +2249,9 @@ module Google
end
end
# A BackendBucket resource. This resource defines a Cloud Storage bucket.
# Represents a Cloud Storage Bucket resource.
# This Cloud Storage bucket resource is referenced by a URL map of a load
# balancer. For more information, read Backend Buckets.
class BackendBucket
include Google::Apis::Core::Hashable
@ -2427,16 +2473,22 @@ module Google
end
end
# A BackendService resource. This resource defines a group of backend virtual
# machines and their serving capacity. (== resource_for v1.backendService ==) (==
# resource_for beta.backendService ==)
# Represents a Backend Service resource.
# Backend services must have an associated health check. Backend services also
# store information about session affinity. For more information, read Backend
# Services.
# A backendServices resource represents a global backend service. Global backend
# services are used for HTTP(S), SSL Proxy, TCP Proxy load balancing and Traffic
# Director.
# A regionBackendServices resource represents a regional backend service.
# Regional backend services are used for internal TCP/UDP load balancing. For
# more information, read Internal TCP/UDP Load balancing. (== resource_for v1.
# backendService ==) (== resource_for beta.backendService ==)
class BackendService
include Google::Apis::Core::Hashable
# Lifetime of cookies in seconds if session_affinity is GENERATED_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 for TTL is one day.
# When the load balancing scheme is INTERNAL, this field is not used.
# 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).
# Corresponds to the JSON property `affinityCookieTtlSec`
# @return [Fixnum]
attr_accessor :affinity_cookie_ttl_sec
@ -2472,8 +2524,8 @@ module Google
# @return [String]
attr_accessor :description
# If true, enable Cloud CDN for this BackendService.
# When the load balancing scheme is INTERNAL, this field is not used.
# If true, enables Cloud CDN for the backend service. Only applicable if the
# loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.
# Corresponds to the JSON property `enableCDN`
# @return [Boolean]
attr_accessor :enable_cdn
@ -2538,23 +2590,27 @@ module Google
# Deprecated in favor of portName. The TCP port to connect on the backend. The
# default value is 80.
# This cannot be used for internal load balancing.
# This cannot be used if the loadBalancingScheme is INTERNAL (Internal TCP/UDP
# Load Balancing).
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# Name of backend port. The same name should appear in the instance groups
# referenced by this service. Required when the load balancing scheme is
# EXTERNAL.
# When the load balancing scheme is INTERNAL, this field is not used.
# A named port on a backend instance group representing the port for
# communication to the backend VMs in that group. Required when the
# loadBalancingScheme is EXTERNAL and the backends are instance groups. The
# named port must be defined on each backend instance group. This parameter has
# no meaning if the backends are NEGs.
# Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
# Load Blaancing).
# Corresponds to the JSON property `portName`
# @return [String]
attr_accessor :port_name
# The protocol this BackendService uses to communicate with backends.
# Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.
# For internal load balancing, the possible values are TCP and UDP, and the
# default is TCP.
# Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen
# load balancer or Traffic Director configuration. Refer to the documentation
# for the load balancer or for Traffic director for more information.
# Corresponds to the JSON property `protocol`
# @return [String]
attr_accessor :protocol
@ -2578,18 +2634,22 @@ module Google
# @return [String]
attr_accessor :self_link
# Type of session affinity to use. The default is NONE.
# When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or
# GENERATED_COOKIE.
# When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP,
# Type of session affinity to use. The default is NONE. Session affinity is not
# applicable if the --protocol is UDP.
# When the loadBalancingScheme is EXTERNAL, possible values are NONE, CLIENT_IP,
# or GENERATED_COOKIE. GENERATED_COOKIE is only available if the protocol is
# HTTP or HTTPS.
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
# When the protocol is UDP, this field is not used.
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, possible values are
# NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.
# Corresponds to the JSON property `sessionAffinity`
# @return [String]
attr_accessor :session_affinity
# How many seconds to wait for the backend before considering it a failed
# request. Default is 30 seconds.
# The backend service timeout has a different meaning depending on the type of
# load balancer. For more information read, Backend service settings The
# default is 30 seconds.
# Corresponds to the JSON property `timeoutSec`
# @return [Fixnum]
attr_accessor :timeout_sec
@ -3692,8 +3752,9 @@ module Google
class ConnectionDraining
include Google::Apis::Core::Hashable
# Time for which instance will be drained (not accept new connections, but still
# work to finish started).
# The amount of time in seconds to allow existing connections to persist while
# on unhealthy backend VMs. Only applicable if the protocol is not UDP. The
# valid range is [0, 3600].
# Corresponds to the JSON property `drainingTimeoutSec`
# @return [Fixnum]
attr_accessor :draining_timeout_sec
@ -5492,13 +5553,32 @@ module Google
end
end
# A ForwardingRule resource. A ForwardingRule resource specifies which pool of
# target virtual machines to forward a packet to if it matches the given [
# IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
# (== resource_for v1.forwardingRules ==) (== resource_for beta.
# globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (==
# resource_for beta.regionForwardingRules ==) (== resource_for v1.
# regionForwardingRules ==)
# Represents a Forwarding Rule resource.
# A forwardingRules resource represents a regional forwarding rule.
# Regional external forwarding rules can reference any of the following
# resources:
#
# - A target instance
# - A Cloud VPN Classic gateway (targetVpnGateway),
# - A target pool for a Network Load Balancer
# - A global target HTTP(S) proxy for an HTTP(S) load balancer using Standard
# Tier
# - A target SSL proxy for a SSL Proxy load balancer using Standard Tier
# - A target TCP proxy for a TCP Proxy load balancer using Standard Tier.
# Regional internal forwarding rules can reference the backend service of an
# internal TCP/UDP load balancer.
# For regional internal forwarding rules, the following applies:
# - If the loadBalancingScheme for the load balancer is INTERNAL, then the
# forwarding rule references a regional internal backend service.
# - If the loadBalancingScheme for the load balancer is INTERNAL_MANAGED, then
# the forwarding rule must reference a regional target HTTP(S) proxy.
# For more information, read Using Forwarding rules.
# A globalForwardingRules resource represents a global forwarding rule.
# Global forwarding rules are only used by load balancers that use Premium Tier.
# (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules =
# =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
# globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
# resource_for v1.regionForwardingRules ==)
class ForwardingRule
include Google::Apis::Core::Hashable
@ -6520,9 +6600,11 @@ module Google
end
end
# An HealthCheck resource. This resource defines a template for how individual
# virtual machines should be checked for health, via one of the supported
# protocols.
# Represents a Health Check resource.
# Health checks are used for most GCP load balancers and managed instance group
# auto-healing. For more information, read Health Check Concepts.
# To perform health checks on network load balancers, you must use either
# httpHealthChecks or httpsHealthChecks.
class HealthCheck
include Google::Apis::Core::Hashable
@ -6903,8 +6985,9 @@ module Google
end
end
# An HttpHealthCheck resource. This resource defines a template for how
# individual instances should be checked for health, via HTTP.
# Represents a legacy HTTP Health Check resource.
# Legacy health checks are required by network load balancers. For more
# information, read Health Check Concepts.
class HttpHealthCheck
include Google::Apis::Core::Hashable
@ -6965,6 +7048,7 @@ module Google
attr_accessor :port
# The request path of the HTTP health check request. The default value is /.
# This field does not support query parameters.
# Corresponds to the JSON property `requestPath`
# @return [String]
attr_accessor :request_path
@ -7126,8 +7210,9 @@ module Google
end
end
# An HttpsHealthCheck resource. This resource defines a template for how
# individual instances should be checked for health, via HTTPS.
# Represents a legacy HTTPS Health Check resource.
# Legacy health checks are required by network load balancers. For more
# information, read Health Check Concepts.
class HttpsHealthCheck
include Google::Apis::Core::Hashable
@ -14142,19 +14227,18 @@ module Google
# This field will be deprecated soon. Use the exchange_subnet_routes field
# instead. Indicates whether full mesh connectivity is created and managed
# automatically. When it is set to true, Google Compute Engine will
# automatically create and manage the routes between two networks when the state
# is ACTIVE. Otherwise, user needs to create routes manually to route packets to
# peer network.
# automatically between peered networks. Currently this field should always be
# true since Google Compute Engine will automatically create and manage
# subnetwork routes between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
alias_method :auto_create_routes?, :auto_create_routes
# Whether full mesh connectivity is created and managed automatically. When it
# is set to true, Google Compute Engine will automatically create and manage the
# routes between two networks when the peering state is ACTIVE. Otherwise, user
# needs to create routes manually to route packets to peer network.
# Indicates whether full mesh connectivity is created and managed automatically
# between peered networks. Currently this field should always be true since
# Google Compute Engine will automatically create and manage subnetwork routes
# between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `exchangeSubnetRoutes`
# @return [Boolean]
attr_accessor :exchange_subnet_routes
@ -14233,8 +14317,10 @@ module Google
include Google::Apis::Core::Hashable
# This field will be deprecated soon. Use exchange_subnet_routes in
# network_peering instead. Whether Google Compute Engine manages the routes
# automatically.
# network_peering instead. Indicates whether full mesh connectivity is created
# and managed automatically between peered networks. Currently this field should
# always be true since Google Compute Engine will automatically create and
# manage subnetwork routes between two networks when peering state is ACTIVE.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
@ -20721,7 +20807,8 @@ module Google
attr_accessor :automatic_restart
alias_method :automatic_restart?, :automatic_restart
# A set of node affinity and anti-affinity.
# A set of node affinity and anti-affinity configurations. Refer to Configuring
# node affinity for more information.
# Corresponds to the JSON property `nodeAffinities`
# @return [Array<Google::Apis::ComputeV1::SchedulingNodeAffinity>]
attr_accessor :node_affinities
@ -20765,7 +20852,8 @@ module Google
# @return [String]
attr_accessor :key
# Defines the operation of node selection.
# Defines the operation of node selection. Valid operators are IN for affinity
# and NOT_IN for anti-affinity.
# Corresponds to the JSON property `operator`
# @return [String]
attr_accessor :operator
@ -20787,9 +20875,11 @@ module Google
end
end
# A security policy is comprised of one or more rules. It can also be associated
# with one or more 'targets'. (== resource_for v1.securityPolicies ==) (==
# resource_for beta.securityPolicies ==)
# Represents a Cloud Armor Security Policy resource.
# Only external backend services that use load balancers can reference a
# Security Policy. For more information, read Cloud Armor Security Policy
# Concepts. (== resource_for v1.securityPolicies ==) (== resource_for beta.
# securityPolicies ==)
class SecurityPolicy
include Google::Apis::Core::Hashable
@ -21648,10 +21738,11 @@ module Google
end
end
# An SslCertificate resource. This resource provides a mechanism to upload an
# SSL key and certificate to the load balancer to serve secure connections from
# the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
# sslCertificates ==)
# Represents an SSL Certificate resource.
# This SSL certificate resource also contains a private key. You can use SSL
# keys and certificates to secure connections to a load balancer. For more
# information, read Creating and Using SSL Certificates. (== resource_for beta.
# sslCertificates ==) (== resource_for v1.sslCertificates ==)
class SslCertificate
include Google::Apis::Core::Hashable
@ -21977,10 +22068,11 @@ module Google
end
end
# A SSL policy specifies the server-side support for SSL features. This can be
# attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections
# between clients and the HTTPS or SSL proxy load balancer. They do not affect
# the connection between the load balancers and the backends.
# Represents a Cloud Armor Security Policy resource.
# Only external backend services used by HTTP or HTTPS load balancers can
# reference a Security Policy. For more information, read read Cloud Armor
# Security Policy Concepts. (== resource_for beta.sslPolicies ==) (==
# resource_for v1.sslPolicies ==)
class SslPolicy
include Google::Apis::Core::Hashable
@ -22803,7 +22895,10 @@ module Google
end
end
# A TargetHttpProxy resource. This resource defines an HTTP proxy. (==
# Represents a Target HTTP Proxy resource.
# A target HTTP proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTP proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
# =)
class TargetHttpProxy
@ -23026,7 +23121,10 @@ module Google
end
end
# A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (==
# Represents a Target HTTPS Proxy resource.
# A target HTTPS proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTPS proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpsProxies ==) (== resource_for v1.
# targetHttpsProxies ==)
class TargetHttpsProxy
@ -23657,9 +23755,12 @@ module Google
end
end
# A TargetPool resource. This resource defines a pool of instances, an
# associated HttpHealthCheck resource, and the fallback target pool. (==
# resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)
# Represents a Target Pool resource.
# Target pools are used for network TCP/UDP load balancing. A target pool
# references member instances, an associated legacy HttpHealthCheck resource,
# and, optionally, a backup target pool. For more information, read Using target
# pools. (== resource_for beta.targetPools ==) (== resource_for v1.targetPools ==
# )
class TargetPool
include Google::Apis::Core::Hashable
@ -24298,8 +24399,12 @@ module Google
end
end
# A TargetSslProxy resource. This resource defines an SSL proxy. (==
# resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)
# Represents a Target SSL Proxy resource.
# A target SSL proxy is a component of a SSL Proxy load balancer. Global
# forwarding rules reference a target SSL proxy, and the target proxy then
# references an external backend service. For more information, read Using
# Target Proxies. (== resource_for beta.targetSslProxies ==) (== resource_for v1.
# targetSslProxies ==)
class TargetSslProxy
include Google::Apis::Core::Hashable
@ -24541,8 +24646,12 @@ module Google
end
end
# A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for
# beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)
# Represents a Target TCP Proxy resource.
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
# forwarding rules reference ta target TCP proxy, and the target proxy then
# references an external backend service. For more information, read TCP Proxy
# Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
# resource_for v1.targetTcpProxies ==)
class TargetTcpProxy
include Google::Apis::Core::Hashable
@ -25229,9 +25338,13 @@ module Google
end
end
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
class UrlMap
include Google::Apis::Core::Hashable
@ -25551,9 +25664,13 @@ module Google
class ValidateUrlMapsRequest
include Google::Apis::Core::Hashable
# A UrlMap resource. This resource defines the mapping from URL to the
# BackendService resource, based on the "longest-match" of the URL's host and
# path.
# Represents a URL Map resource.
# A URL map resource is a component of certain types of load balancers. This
# resource defines mappings from host names and URL paths to either a backend
# service or a backend bucket.
# To use this resource, the backend service must have a loadBalancingScheme of
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
# information, read URL Map Concepts.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::ComputeV1::UrlMap]
attr_accessor :resource

View File

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

View File

@ -924,6 +924,11 @@ module Google
class GetJsonWebKeysResponse
include Google::Apis::Core::Hashable
# RFC-2616: cache control support
# Corresponds to the JSON property `cacheHeader`
# @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
attr_accessor :cache_header
# The public component of the keys used by the cluster to sign token
# requests.
# Corresponds to the JSON property `keys`
@ -936,6 +941,7 @@ module Google
# Update properties of this object
def update!(**args)
@cache_header = args[:cache_header] if args.key?(:cache_header)
@keys = args[:keys] if args.key?(:keys)
end
end
@ -945,6 +951,11 @@ module Google
class GetOpenIdConfigResponse
include Google::Apis::Core::Hashable
# RFC-2616: cache control support
# Corresponds to the JSON property `cacheHeader`
# @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
attr_accessor :cache_header
# Supported claims.
# Corresponds to the JSON property `claims_supported`
# @return [Array<String>]
@ -986,6 +997,7 @@ module Google
# Update properties of this object
def update!(**args)
@cache_header = args[:cache_header] if args.key?(:cache_header)
@claims_supported = args[:claims_supported] if args.key?(:claims_supported)
@grant_types = args[:grant_types] if args.key?(:grant_types)
@id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported)
@ -1020,6 +1032,37 @@ module Google
end
end
# RFC-2616: cache control support
class HttpCacheControlResponseHeader
include Google::Apis::Core::Hashable
# 14.6 response cache age, in seconds since the response is generated
# Corresponds to the JSON property `age`
# @return [Fixnum]
attr_accessor :age
# 14.9 request and response directives
# Corresponds to the JSON property `directive`
# @return [String]
attr_accessor :directive
# 14.21 response cache expires, in RFC 1123 date format
# Corresponds to the JSON property `expires`
# @return [String]
attr_accessor :expires
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@age = args[:age] if args.key?(:age)
@directive = args[:directive] if args.key?(:directive)
@expires = args[:expires] if args.key?(:expires)
end
end
# Configuration options for the HTTP (L7) load balancing controller addon,
# which makes it easy to set up HTTP load balancers for services in a cluster.
class HttpLoadBalancing

View File

@ -130,6 +130,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HttpCacheControlResponseHeader
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpLoadBalancing
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -609,6 +615,8 @@ module Google
class GetJsonWebKeysResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cache_header, as: 'cacheHeader', class: Google::Apis::ContainerV1::HttpCacheControlResponseHeader, decorator: Google::Apis::ContainerV1::HttpCacheControlResponseHeader::Representation
collection :keys, as: 'keys', class: Google::Apis::ContainerV1::Jwk, decorator: Google::Apis::ContainerV1::Jwk::Representation
end
@ -617,6 +625,8 @@ module Google
class GetOpenIdConfigResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cache_header, as: 'cacheHeader', class: Google::Apis::ContainerV1::HttpCacheControlResponseHeader, decorator: Google::Apis::ContainerV1::HttpCacheControlResponseHeader::Representation
collection :claims_supported, as: 'claims_supported'
collection :grant_types, as: 'grant_types'
collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported'
@ -634,6 +644,15 @@ module Google
end
end
class HttpCacheControlResponseHeader
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :age, :numeric_string => true, as: 'age'
property :directive, as: 'directive'
property :expires, as: 'expires'
end
end
class HttpLoadBalancing
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -9628,11 +9628,6 @@ module Google
# @return [Fixnum]
attr_accessor :batch_id
# The ContentAPI feed id.
# Corresponds to the JSON property `feedId`
# @return [Fixnum]
attr_accessor :feed_id
# The ID of the managing account.
# Corresponds to the JSON property `merchantId`
# @return [Fixnum]
@ -9662,7 +9657,6 @@ module Google
# Update properties of this object
def update!(**args)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@feed_id = args[:feed_id] if args.key?(:feed_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
@request_method = args[:request_method] if args.key?(:request_method)
@product = args[:product] if args.key?(:product)

View File

@ -4286,7 +4286,6 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :batch_id, as: 'batchId'
property :feed_id, :numeric_string => true, as: 'feedId'
property :merchant_id, :numeric_string => true, as: 'merchantId'
property :request_method, as: 'method'
property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation

View File

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

View File

@ -7661,7 +7661,7 @@ module Google
# @return [Fixnum]
attr_accessor :batch_id
# The ContentAPI feed id.
# The Content API feed id.
# Corresponds to the JSON property `feedId`
# @return [Fixnum]
attr_accessor :feed_id

View File

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

View File

@ -39,7 +39,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -51,7 +51,7 @@ module Google
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -59,16 +59,16 @@ module Google
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class AuditConfig
include Google::Apis::Core::Hashable
@ -102,7 +102,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -111,7 +111,7 @@ module Google
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class AuditLogConfig
include Google::Apis::Core::Hashable
@ -122,6 +122,14 @@ module Google
# @return [Array<String>]
attr_accessor :exempted_members
# Specifies whether principals can be exempted for the same LogType in
# lower-level resource policies. If true, any lower-level exemptions will
# be ignored.
# Corresponds to the JSON property `ignoreChildExemptions`
# @return [Boolean]
attr_accessor :ignore_child_exemptions
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
# The log type that this config enables.
# Corresponds to the JSON property `logType`
# @return [String]
@ -134,6 +142,7 @@ module Google
# Update properties of this object
def update!(**args)
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
@log_type = args[:log_type] if args.key?(:log_type)
end
end
@ -157,7 +166,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -1995,7 +2004,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -443,6 +443,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exempted_members, as: 'exemptedMembers'
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
property :log_type, as: 'logType'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap
module IapV1
VERSION = 'V1'
REVISION = '20190628'
REVISION = '20190704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -41,7 +41,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -212,7 +212,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

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

View File

@ -41,7 +41,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -212,7 +212,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20190621'
REVISION = '20190704'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1675,7 +1675,7 @@ module Google
# @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling]
attr_accessor :manual_scaling
# Required.The name specified for the version when it was created.
# Required. The name specified for the version when it was created.
# The version name must be unique within the model it is created in.
# Corresponds to the JSON property `name`
# @return [String]
@ -1813,7 +1813,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -1825,7 +1825,7 @@ module Google
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -1833,16 +1833,16 @@ module Google
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class GoogleIamV1AuditConfig
include Google::Apis::Core::Hashable
@ -1876,7 +1876,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -1885,7 +1885,7 @@ module Google
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class GoogleIamV1AuditLogConfig
include Google::Apis::Core::Hashable
@ -1931,7 +1931,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -2019,7 +2019,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -219,6 +219,11 @@ module Google
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -236,11 +241,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_job_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
def get_project_job_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation
command.response_class = Google::Apis::MlV1::GoogleIamV1Policy
command.params['resource'] = resource unless resource.nil?
command.query['options.requestedPolicyVersion'] = 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?
execute_or_queue_command(command, &block)
@ -609,6 +615,11 @@ module Google
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -626,11 +637,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_model_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
def get_project_model_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation
command.response_class = Google::Apis::MlV1::GoogleIamV1Policy
command.params['resource'] = resource unless resource.nil?
command.query['options.requestedPolicyVersion'] = 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?
execute_or_queue_command(command, &block)

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20190607'
REVISION = '20190708'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -922,6 +922,14 @@ module Google
# @return [Array<Google::Apis::ServiceconsumermanagementV1::DocumentationRule>]
attr_accessor :rules
# Specifies the service root url if the default one (the service name
# from the yaml file) is not suitable. This can be seen in any fully
# specified service urls as well as sections that show a base that other
# urls are relative to.
# Corresponds to the JSON property `serviceRootUrl`
# @return [String]
attr_accessor :service_root_url
# A short summary of what the service does. Can only be provided by
# plain text.
# Corresponds to the JSON property `summary`
@ -938,6 +946,7 @@ module Google
@overview = args[:overview] if args.key?(:overview)
@pages = args[:pages] if args.key?(:pages)
@rules = args[:rules] if args.key?(:rules)
@service_root_url = args[:service_root_url] if args.key?(:service_root_url)
@summary = args[:summary] if args.key?(:summary)
end
end
@ -3993,8 +4002,7 @@ module Google
# @return [String]
attr_accessor :email
# The IAM resource name of the service account in the following format:
# projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`.
# Deprecated. See b/136209818.
# Corresponds to the JSON property `iamAccountName`
# @return [String]
attr_accessor :iam_account_name

View File

@ -729,6 +729,7 @@ module Google
collection :rules, as: 'rules', class: Google::Apis::ServiceconsumermanagementV1::DocumentationRule, decorator: Google::Apis::ServiceconsumermanagementV1::DocumentationRule::Representation
property :service_root_url, as: 'serviceRootUrl'
property :summary, as: 'summary'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1
VERSION = 'V1'
REVISION = '20190607'
REVISION = '20190708'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -572,8 +572,8 @@ module Google
# @return [String]
attr_accessor :network
# Output only.
# The name of the VPC Network Peering connection that was created by the
# Output only. The name of the VPC Network Peering connection that was created
# by the
# service producer.
# Corresponds to the JSON property `peering`
# @return [String]
@ -591,8 +591,8 @@ module Google
# @return [Array<String>]
attr_accessor :reserved_peering_ranges
# Output only.
# The name of the peering service that's associated with this connection, in
# Output only. The name of the peering service that's associated with this
# connection, in
# the following format: `services/`service name``.
# Corresponds to the JSON property `service`
# @return [String]
@ -899,6 +899,14 @@ module Google
# @return [Array<Google::Apis::ServicenetworkingV1::DocumentationRule>]
attr_accessor :rules
# Specifies the service root url if the default one (the service name
# from the yaml file) is not suitable. This can be seen in any fully
# specified service urls as well as sections that show a base that other
# urls are relative to.
# Corresponds to the JSON property `serviceRootUrl`
# @return [String]
attr_accessor :service_root_url
# A short summary of what the service does. Can only be provided by
# plain text.
# Corresponds to the JSON property `summary`
@ -915,6 +923,7 @@ module Google
@overview = args[:overview] if args.key?(:overview)
@pages = args[:pages] if args.key?(:pages)
@rules = args[:rules] if args.key?(:rules)
@service_root_url = args[:service_root_url] if args.key?(:service_root_url)
@summary = args[:summary] if args.key?(:summary)
end
end

View File

@ -573,6 +573,7 @@ module Google
collection :rules, as: 'rules', class: Google::Apis::ServicenetworkingV1::DocumentationRule, decorator: Google::Apis::ServicenetworkingV1::DocumentationRule::Representation
property :service_root_url, as: 'serviceRootUrl'
property :summary, as: 'summary'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta
VERSION = 'V1beta'
REVISION = '20190607'
REVISION = '20190708'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -559,8 +559,8 @@ module Google
# @return [String]
attr_accessor :network
# Output only.
# The name of the VPC Network Peering connection that was created by the
# Output only. The name of the VPC Network Peering connection that was created
# by the
# service producer.
# Corresponds to the JSON property `peering`
# @return [String]
@ -575,8 +575,8 @@ module Google
# @return [Array<String>]
attr_accessor :reserved_peering_ranges
# Output only.
# The name of the peering service that's associated with this connection, in
# Output only. The name of the peering service that's associated with this
# connection, in
# the following format: `services/`service name``.
# Corresponds to the JSON property `service`
# @return [String]
@ -883,6 +883,14 @@ module Google
# @return [Array<Google::Apis::ServicenetworkingV1beta::DocumentationRule>]
attr_accessor :rules
# Specifies the service root url if the default one (the service name
# from the yaml file) is not suitable. This can be seen in any fully
# specified service urls as well as sections that show a base that other
# urls are relative to.
# Corresponds to the JSON property `serviceRootUrl`
# @return [String]
attr_accessor :service_root_url
# A short summary of what the service does. Can only be provided by
# plain text.
# Corresponds to the JSON property `summary`
@ -899,6 +907,7 @@ module Google
@overview = args[:overview] if args.key?(:overview)
@pages = args[:pages] if args.key?(:pages)
@rules = args[:rules] if args.key?(:rules)
@service_root_url = args[:service_root_url] if args.key?(:service_root_url)
@summary = args[:summary] if args.key?(:summary)
end
end

View File

@ -549,6 +549,7 @@ module Google
collection :rules, as: 'rules', class: Google::Apis::ServicenetworkingV1beta::DocumentationRule, decorator: Google::Apis::ServicenetworkingV1beta::DocumentationRule::Representation
property :service_root_url, as: 'serviceRootUrl'
property :summary, as: 'summary'
end
end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1
VERSION = 'V1'
REVISION = '20190607'
REVISION = '20190708'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -902,6 +902,14 @@ module Google
# @return [Array<Google::Apis::ServiceusageV1::DocumentationRule>]
attr_accessor :rules
# Specifies the service root url if the default one (the service name
# from the yaml file) is not suitable. This can be seen in any fully
# specified service urls as well as sections that show a base that other
# urls are relative to.
# Corresponds to the JSON property `serviceRootUrl`
# @return [String]
attr_accessor :service_root_url
# A short summary of what the service does. Can only be provided by
# plain text.
# Corresponds to the JSON property `summary`
@ -918,6 +926,7 @@ module Google
@overview = args[:overview] if args.key?(:overview)
@pages = args[:pages] if args.key?(:pages)
@rules = args[:rules] if args.key?(:rules)
@service_root_url = args[:service_root_url] if args.key?(:service_root_url)
@summary = args[:summary] if args.key?(:summary)
end
end

View File

@ -645,6 +645,7 @@ module Google
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::DocumentationRule, decorator: Google::Apis::ServiceusageV1::DocumentationRule::Representation
property :service_root_url, as: 'serviceRootUrl'
property :summary, as: 'summary'
end
end

View File

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

View File

@ -878,6 +878,14 @@ module Google
# @return [Array<Google::Apis::ServiceusageV1beta1::DocumentationRule>]
attr_accessor :rules
# Specifies the service root url if the default one (the service name
# from the yaml file) is not suitable. This can be seen in any fully
# specified service urls as well as sections that show a base that other
# urls are relative to.
# Corresponds to the JSON property `serviceRootUrl`
# @return [String]
attr_accessor :service_root_url
# A short summary of what the service does. Can only be provided by
# plain text.
# Corresponds to the JSON property `summary`
@ -894,6 +902,7 @@ module Google
@overview = args[:overview] if args.key?(:overview)
@pages = args[:pages] if args.key?(:pages)
@rules = args[:rules] if args.key?(:rules)
@service_root_url = args[:service_root_url] if args.key?(:service_root_url)
@summary = args[:summary] if args.key?(:summary)
end
end

View File

@ -644,6 +644,7 @@ module Google
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::DocumentationRule, decorator: Google::Apis::ServiceusageV1beta1::DocumentationRule::Representation
property :service_root_url, as: 'serviceRootUrl'
property :summary, as: 'summary'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/slides/
module SlidesV1
VERSION = 'V1'
REVISION = '20190625'
REVISION = '20190702'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/
module VisionV1
VERSION = 'V1'
REVISION = '20190531'
REVISION = '20190704'
# 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

@ -1672,6 +1672,318 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AnnotateFileResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AnnotateImageResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateFilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BatchAnnotateFilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BatchOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Block
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BoundingPoly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ColorInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1CropHint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1CropHintsAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1DominantColorsAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1EntityAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1FaceAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1FaceAnnotationLandmark
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1GcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1GcsSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageAnnotationContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageQuality
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImportProductSetsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1InputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1NormalizedVertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1OutputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Page
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Paragraph
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Position
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Product
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductKeyValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResults
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Property
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1QualityOptimizationResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ReferenceImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1SafeSearchAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Symbol
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationTextProperty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Vertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetection
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebEntity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebLabel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebPage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Word
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GroupedResult
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4925,6 +5237,562 @@ module Google
end
end
class GoogleCloudVisionV1p6beta1AnnotateFileResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1InputConfig, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1InputConfig::Representation
collection :responses, as: 'responses', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1AnnotateImageResponse::Representation
property :total_pages, as: 'totalPages'
end
end
class GoogleCloudVisionV1p6beta1AnnotateImageResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :context, as: 'context', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ImageAnnotationContext::Representation
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1CropHintsAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1FaceAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1FaceAnnotation::Representation
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotation::Representation
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ImageProperties, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ImageProperties::Representation
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ImageQuality, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ImageQuality::Representation
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :object_attribute_annotations, as: 'objectAttributeAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResults, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResults::Representation
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1QualityOptimizationResult::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1SafeSearchAnnotation::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetection, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetection::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1OutputConfig, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1OutputConfig::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateFilesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateImagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1OutputConfig, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1OutputConfig::Representation
end
end
class GoogleCloudVisionV1p6beta1BatchAnnotateFilesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1AnnotateFileResponse, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1AnnotateFileResponse::Representation
end
end
class GoogleCloudVisionV1p6beta1BatchOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :state, as: 'state'
property :submit_time, as: 'submitTime'
end
end
class GoogleCloudVisionV1p6beta1Block
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :block_type, as: 'blockType'
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Paragraph, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Paragraph::Representation
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
end
end
class GoogleCloudVisionV1p6beta1BoundingPoly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1NormalizedVertex, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1NormalizedVertex::Representation
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Vertex, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Vertex::Representation
end
end
class GoogleCloudVisionV1p6beta1ColorInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
property :pixel_fraction, as: 'pixelFraction'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1CropHint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :importance_fraction, as: 'importanceFraction'
end
end
class GoogleCloudVisionV1p6beta1CropHintsAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1CropHint, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1CropHint::Representation
end
end
class GoogleCloudVisionV1p6beta1DominantColorsAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :colors, as: 'colors', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ColorInfo, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ColorInfo::Representation
end
end
class GoogleCloudVisionV1p6beta1EntityAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :description, as: 'description'
property :locale, as: 'locale'
collection :locations, as: 'locations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1LocationInfo, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1LocationInfo::Representation
property :mid, as: 'mid'
collection :properties, as: 'properties', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Property, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Property::Representation
property :score, as: 'score'
property :topicality, as: 'topicality'
end
end
class GoogleCloudVisionV1p6beta1FaceAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :anger_likelihood, as: 'angerLikelihood'
property :blurred_likelihood, as: 'blurredLikelihood'
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :detection_confidence, as: 'detectionConfidence'
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :headwear_likelihood, as: 'headwearLikelihood'
property :joy_likelihood, as: 'joyLikelihood'
property :landmarking_confidence, as: 'landmarkingConfidence'
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1FaceAnnotationLandmark::Representation
property :pan_angle, as: 'panAngle'
property :roll_angle, as: 'rollAngle'
property :sorrow_likelihood, as: 'sorrowLikelihood'
property :surprise_likelihood, as: 'surpriseLikelihood'
property :tilt_angle, as: 'tiltAngle'
property :under_exposed_likelihood, as: 'underExposedLikelihood'
end
end
class GoogleCloudVisionV1p6beta1FaceAnnotationLandmark
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :position, as: 'position', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Position, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Position::Representation
property :type, as: 'type'
end
end
class GoogleCloudVisionV1p6beta1GcsDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1GcsSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1ImageAnnotationContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_number, as: 'pageNumber'
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1ImageProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1DominantColorsAnnotation::Representation
end
end
class GoogleCloudVisionV1p6beta1ImageQuality
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudVisionV1p6beta1ImportProductSetsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ReferenceImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ReferenceImage::Representation
collection :statuses, as: 'statuses', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
end
end
class GoogleCloudVisionV1p6beta1InputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1GcsSource, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1GcsSource::Representation
property :mime_type, as: 'mimeType'
end
end
class GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
end
end
class GoogleCloudVisionV1p6beta1NormalizedVertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudVisionV1p6beta1OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudVisionV1p6beta1OutputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :batch_size, as: 'batchSize'
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1GcsDestination, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1GcsDestination::Representation
end
end
class GoogleCloudVisionV1p6beta1Page
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Block, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Block::Representation
property :confidence, as: 'confidence'
property :height, as: 'height'
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
property :width, as: 'width'
end
end
class GoogleCloudVisionV1p6beta1Paragraph
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
collection :words, as: 'words', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Word, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Word::Representation
end
end
class GoogleCloudVisionV1p6beta1Position
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
property :z, as: 'z'
end
end
class GoogleCloudVisionV1p6beta1Product
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
property :product_category, as: 'productCategory'
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductKeyValue, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductKeyValue::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductKeyValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResults
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :index_time, as: 'indexTime'
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult::Representation
collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, as: 'image'
property :product, as: 'product', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Product, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Product::Representation
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1Property
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :mid, as: 'mid'
property :name, as: 'name'
property :uint64_value, :numeric_string => true, as: 'uint64Value'
property :value, as: 'value'
end
end
class GoogleCloudVisionV1p6beta1QualityOptimizationResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, :base64 => true, as: 'image'
property :mime_type, as: 'mimeType'
property :quality_optimization_type, as: 'qualityOptimizationType'
end
end
class GoogleCloudVisionV1p6beta1ReferenceImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :name, as: 'name'
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1SafeSearchAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adult, as: 'adult'
property :medical, as: 'medical'
property :racy, as: 'racy'
property :spoof, as: 'spoof'
property :violence, as: 'violence'
end
end
class GoogleCloudVisionV1p6beta1Symbol
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
property :text, as: 'text'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :pages, as: 'pages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Page, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Page::Representation
property :text, as: 'text'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_prefix, as: 'isPrefix'
property :type, as: 'type'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationTextProperty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage::Representation
end
end
class GoogleCloudVisionV1p6beta1Vertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudVisionV1p6beta1WebDetection
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebLabel::Representation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebPage::Representation
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebEntity::Representation
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebEntity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :entity_id, as: 'entityId'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :score, as: 'score'
property :url, as: 'url'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebLabel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :label, as: 'label'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebPage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
property :page_title, as: 'pageTitle'
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
property :score, as: 'score'
property :url, as: 'url'
end
end
class GoogleCloudVisionV1p6beta1Word
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Symbol, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p6beta1Symbol::Representation
end
end
class GroupedResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/
module VisionV1p1beta1
VERSION = 'V1p1beta1'
REVISION = '20190531'
REVISION = '20190704'
# 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

@ -1696,6 +1696,318 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AnnotateFileResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AnnotateImageResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateFilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BatchAnnotateFilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BatchOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Block
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BoundingPoly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ColorInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1CropHint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1CropHintsAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1DominantColorsAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1EntityAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1FaceAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1FaceAnnotationLandmark
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1GcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1GcsSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageAnnotationContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageQuality
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImportProductSetsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1InputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1NormalizedVertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1OutputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Page
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Paragraph
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Position
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Product
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductKeyValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResults
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Property
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1QualityOptimizationResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ReferenceImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1SafeSearchAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Symbol
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationTextProperty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Vertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetection
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebEntity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebLabel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebPage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Word
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GroupedResult
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4902,6 +5214,562 @@ module Google
end
end
class GoogleCloudVisionV1p6beta1AnnotateFileResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1InputConfig::Representation
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1AnnotateImageResponse::Representation
property :total_pages, as: 'totalPages'
end
end
class GoogleCloudVisionV1p6beta1AnnotateImageResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ImageAnnotationContext::Representation
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1CropHintsAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1FaceAnnotation::Representation
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotation::Representation
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ImageProperties::Representation
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ImageQuality, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ImageQuality::Representation
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :object_attribute_annotations, as: 'objectAttributeAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResults::Representation
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1QualityOptimizationResult::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1SafeSearchAnnotation::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetection, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetection::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1OutputConfig::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateFilesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateImagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1OutputConfig::Representation
end
end
class GoogleCloudVisionV1p6beta1BatchAnnotateFilesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1AnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1AnnotateFileResponse::Representation
end
end
class GoogleCloudVisionV1p6beta1BatchOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :state, as: 'state'
property :submit_time, as: 'submitTime'
end
end
class GoogleCloudVisionV1p6beta1Block
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :block_type, as: 'blockType'
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Paragraph, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Paragraph::Representation
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
end
end
class GoogleCloudVisionV1p6beta1BoundingPoly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1NormalizedVertex::Representation
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Vertex::Representation
end
end
class GoogleCloudVisionV1p6beta1ColorInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
property :pixel_fraction, as: 'pixelFraction'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1CropHint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :importance_fraction, as: 'importanceFraction'
end
end
class GoogleCloudVisionV1p6beta1CropHintsAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1CropHint, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1CropHint::Representation
end
end
class GoogleCloudVisionV1p6beta1DominantColorsAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ColorInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ColorInfo::Representation
end
end
class GoogleCloudVisionV1p6beta1EntityAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :description, as: 'description'
property :locale, as: 'locale'
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1LocationInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1LocationInfo::Representation
property :mid, as: 'mid'
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Property, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Property::Representation
property :score, as: 'score'
property :topicality, as: 'topicality'
end
end
class GoogleCloudVisionV1p6beta1FaceAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :anger_likelihood, as: 'angerLikelihood'
property :blurred_likelihood, as: 'blurredLikelihood'
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :detection_confidence, as: 'detectionConfidence'
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :headwear_likelihood, as: 'headwearLikelihood'
property :joy_likelihood, as: 'joyLikelihood'
property :landmarking_confidence, as: 'landmarkingConfidence'
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1FaceAnnotationLandmark::Representation
property :pan_angle, as: 'panAngle'
property :roll_angle, as: 'rollAngle'
property :sorrow_likelihood, as: 'sorrowLikelihood'
property :surprise_likelihood, as: 'surpriseLikelihood'
property :tilt_angle, as: 'tiltAngle'
property :under_exposed_likelihood, as: 'underExposedLikelihood'
end
end
class GoogleCloudVisionV1p6beta1FaceAnnotationLandmark
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Position, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Position::Representation
property :type, as: 'type'
end
end
class GoogleCloudVisionV1p6beta1GcsDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1GcsSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1ImageAnnotationContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_number, as: 'pageNumber'
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1ImageProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1DominantColorsAnnotation::Representation
end
end
class GoogleCloudVisionV1p6beta1ImageQuality
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudVisionV1p6beta1ImportProductSetsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ReferenceImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ReferenceImage::Representation
collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
end
end
class GoogleCloudVisionV1p6beta1InputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1GcsSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1GcsSource::Representation
property :mime_type, as: 'mimeType'
end
end
class GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
end
end
class GoogleCloudVisionV1p6beta1NormalizedVertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudVisionV1p6beta1OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudVisionV1p6beta1OutputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :batch_size, as: 'batchSize'
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1GcsDestination::Representation
end
end
class GoogleCloudVisionV1p6beta1Page
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Block::Representation
property :confidence, as: 'confidence'
property :height, as: 'height'
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
property :width, as: 'width'
end
end
class GoogleCloudVisionV1p6beta1Paragraph
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Word, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Word::Representation
end
end
class GoogleCloudVisionV1p6beta1Position
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
property :z, as: 'z'
end
end
class GoogleCloudVisionV1p6beta1Product
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
property :product_category, as: 'productCategory'
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductKeyValue, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductKeyValue::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductKeyValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResults
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :index_time, as: 'indexTime'
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult::Representation
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, as: 'image'
property :product, as: 'product', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Product, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Product::Representation
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1Property
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :mid, as: 'mid'
property :name, as: 'name'
property :uint64_value, :numeric_string => true, as: 'uint64Value'
property :value, as: 'value'
end
end
class GoogleCloudVisionV1p6beta1QualityOptimizationResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, :base64 => true, as: 'image'
property :mime_type, as: 'mimeType'
property :quality_optimization_type, as: 'qualityOptimizationType'
end
end
class GoogleCloudVisionV1p6beta1ReferenceImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :name, as: 'name'
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1SafeSearchAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adult, as: 'adult'
property :medical, as: 'medical'
property :racy, as: 'racy'
property :spoof, as: 'spoof'
property :violence, as: 'violence'
end
end
class GoogleCloudVisionV1p6beta1Symbol
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
property :text, as: 'text'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Page, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Page::Representation
property :text, as: 'text'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_prefix, as: 'isPrefix'
property :type, as: 'type'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationTextProperty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage::Representation
end
end
class GoogleCloudVisionV1p6beta1Vertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudVisionV1p6beta1WebDetection
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebLabel::Representation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebPage::Representation
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebEntity::Representation
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebEntity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :entity_id, as: 'entityId'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :score, as: 'score'
property :url, as: 'url'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebLabel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :label, as: 'label'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebPage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
property :page_title, as: 'pageTitle'
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
property :score, as: 'score'
property :url, as: 'url'
end
end
class GoogleCloudVisionV1p6beta1Word
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Symbol, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p6beta1Symbol::Representation
end
end
class GroupedResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/
module VisionV1p2beta1
VERSION = 'V1p2beta1'
REVISION = '20190531'
REVISION = '20190704'
# 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

@ -1696,6 +1696,318 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AnnotateFileResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AnnotateImageResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateFilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BatchAnnotateFilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BatchOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Block
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1BoundingPoly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ColorInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1CropHint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1CropHintsAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1DominantColorsAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1EntityAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1FaceAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1FaceAnnotationLandmark
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1GcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1GcsSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageAnnotationContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImageQuality
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ImportProductSetsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1InputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1NormalizedVertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1OutputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Page
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Paragraph
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Position
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Product
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductKeyValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResults
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Property
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1QualityOptimizationResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1ReferenceImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1SafeSearchAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Symbol
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1TextAnnotationTextProperty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Vertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetection
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebEntity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebLabel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1WebDetectionWebPage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p6beta1Word
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GroupedResult
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4902,6 +5214,562 @@ module Google
end
end
class GoogleCloudVisionV1p6beta1AnnotateFileResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1InputConfig, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1InputConfig::Representation
collection :responses, as: 'responses', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1AnnotateImageResponse::Representation
property :total_pages, as: 'totalPages'
end
end
class GoogleCloudVisionV1p6beta1AnnotateImageResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :context, as: 'context', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ImageAnnotationContext::Representation
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1CropHintsAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VisionV1p2beta1::Status, decorator: Google::Apis::VisionV1p2beta1::Status::Representation
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1FaceAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1FaceAnnotation::Representation
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotation::Representation
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ImageProperties, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ImageProperties::Representation
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ImageQuality, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ImageQuality::Representation
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
collection :object_attribute_annotations, as: 'objectAttributeAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResults, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResults::Representation
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1QualityOptimizationResult::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1SafeSearchAnnotation::Representation
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1EntityAnnotation::Representation
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetection, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetection::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1OutputConfig, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1OutputConfig::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateFilesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1AsyncAnnotateFileResponse::Representation
end
end
class GoogleCloudVisionV1p6beta1AsyncBatchAnnotateImagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1OutputConfig, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1OutputConfig::Representation
end
end
class GoogleCloudVisionV1p6beta1BatchAnnotateFilesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1AnnotateFileResponse, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1AnnotateFileResponse::Representation
end
end
class GoogleCloudVisionV1p6beta1BatchOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :state, as: 'state'
property :submit_time, as: 'submitTime'
end
end
class GoogleCloudVisionV1p6beta1Block
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :block_type, as: 'blockType'
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Paragraph, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Paragraph::Representation
property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
end
end
class GoogleCloudVisionV1p6beta1BoundingPoly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1NormalizedVertex, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1NormalizedVertex::Representation
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Vertex, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Vertex::Representation
end
end
class GoogleCloudVisionV1p6beta1ColorInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :color, as: 'color', class: Google::Apis::VisionV1p2beta1::Color, decorator: Google::Apis::VisionV1p2beta1::Color::Representation
property :pixel_fraction, as: 'pixelFraction'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1CropHint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :importance_fraction, as: 'importanceFraction'
end
end
class GoogleCloudVisionV1p6beta1CropHintsAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1CropHint, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1CropHint::Representation
end
end
class GoogleCloudVisionV1p6beta1DominantColorsAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :colors, as: 'colors', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ColorInfo, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ColorInfo::Representation
end
end
class GoogleCloudVisionV1p6beta1EntityAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :description, as: 'description'
property :locale, as: 'locale'
collection :locations, as: 'locations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1LocationInfo, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1LocationInfo::Representation
property :mid, as: 'mid'
collection :properties, as: 'properties', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Property, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Property::Representation
property :score, as: 'score'
property :topicality, as: 'topicality'
end
end
class GoogleCloudVisionV1p6beta1FaceAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :anger_likelihood, as: 'angerLikelihood'
property :blurred_likelihood, as: 'blurredLikelihood'
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :detection_confidence, as: 'detectionConfidence'
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :headwear_likelihood, as: 'headwearLikelihood'
property :joy_likelihood, as: 'joyLikelihood'
property :landmarking_confidence, as: 'landmarkingConfidence'
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1FaceAnnotationLandmark::Representation
property :pan_angle, as: 'panAngle'
property :roll_angle, as: 'rollAngle'
property :sorrow_likelihood, as: 'sorrowLikelihood'
property :surprise_likelihood, as: 'surpriseLikelihood'
property :tilt_angle, as: 'tiltAngle'
property :under_exposed_likelihood, as: 'underExposedLikelihood'
end
end
class GoogleCloudVisionV1p6beta1FaceAnnotationLandmark
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :position, as: 'position', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Position, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Position::Representation
property :type, as: 'type'
end
end
class GoogleCloudVisionV1p6beta1GcsDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1GcsSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1ImageAnnotationContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_number, as: 'pageNumber'
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1ImageProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1DominantColorsAnnotation::Representation
end
end
class GoogleCloudVisionV1p6beta1ImageQuality
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudVisionV1p6beta1ImportProductSetsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ReferenceImage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ReferenceImage::Representation
collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p2beta1::Status, decorator: Google::Apis::VisionV1p2beta1::Status::Representation
end
end
class GoogleCloudVisionV1p6beta1InputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1GcsSource, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1GcsSource::Representation
property :mime_type, as: 'mimeType'
end
end
class GoogleCloudVisionV1p6beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p2beta1::LatLng, decorator: Google::Apis::VisionV1p2beta1::LatLng::Representation
end
end
class GoogleCloudVisionV1p6beta1NormalizedVertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudVisionV1p6beta1OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudVisionV1p6beta1OutputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :batch_size, as: 'batchSize'
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1GcsDestination, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1GcsDestination::Representation
end
end
class GoogleCloudVisionV1p6beta1Page
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Block, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Block::Representation
property :confidence, as: 'confidence'
property :height, as: 'height'
property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
property :width, as: 'width'
end
end
class GoogleCloudVisionV1p6beta1Paragraph
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
collection :words, as: 'words', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Word, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Word::Representation
end
end
class GoogleCloudVisionV1p6beta1Position
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
property :z, as: 'z'
end
end
class GoogleCloudVisionV1p6beta1Product
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
property :product_category, as: 'productCategory'
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductKeyValue, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductKeyValue::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductKeyValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResults
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :index_time, as: 'indexTime'
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult::Representation
collection :results, as: 'results', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsGroupedResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
collection :results, as: 'results', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1ProductSearchResultsResult::Representation
end
end
class GoogleCloudVisionV1p6beta1ProductSearchResultsResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, as: 'image'
property :product, as: 'product', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Product, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Product::Representation
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1Property
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :mid, as: 'mid'
property :name, as: 'name'
property :uint64_value, :numeric_string => true, as: 'uint64Value'
property :value, as: 'value'
end
end
class GoogleCloudVisionV1p6beta1QualityOptimizationResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, :base64 => true, as: 'image'
property :mime_type, as: 'mimeType'
property :quality_optimization_type, as: 'qualityOptimizationType'
end
end
class GoogleCloudVisionV1p6beta1ReferenceImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :name, as: 'name'
property :uri, as: 'uri'
end
end
class GoogleCloudVisionV1p6beta1SafeSearchAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adult, as: 'adult'
property :medical, as: 'medical'
property :racy, as: 'racy'
property :spoof, as: 'spoof'
property :violence, as: 'violence'
end
end
class GoogleCloudVisionV1p6beta1Symbol
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
property :text, as: 'text'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :pages, as: 'pages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Page, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Page::Representation
property :text, as: 'text'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_prefix, as: 'isPrefix'
property :type, as: 'type'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudVisionV1p6beta1TextAnnotationTextProperty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedBreak::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationDetectedLanguage::Representation
end
end
class GoogleCloudVisionV1p6beta1Vertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudVisionV1p6beta1WebDetection
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebLabel::Representation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebPage::Representation
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebEntity::Representation
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebEntity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :entity_id, as: 'entityId'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :score, as: 'score'
property :url, as: 'url'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebLabel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :label, as: 'label'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudVisionV1p6beta1WebDetectionWebPage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
property :page_title, as: 'pageTitle'
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1WebDetectionWebImage::Representation
property :score, as: 'score'
property :url, as: 'url'
end
end
class GoogleCloudVisionV1p6beta1Word
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1TextAnnotationTextProperty::Representation
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Symbol, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p6beta1Symbol::Representation
end
end
class GroupedResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation