Autogenerated update (2019-10-15)

Update:
- accessapproval_v1beta1
- androidpublisher_v3
- compute_alpha
- compute_beta
- compute_v1
- run_v1
- vision_v1p1beta1
This commit is contained in:
Google APIs 2019-10-15 00:37:33 +00:00
parent 70057db645
commit 4fb7f56eed
26 changed files with 10811 additions and 2073 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-approval/docs # @see https://cloud.google.com/access-approval/docs
module AccessapprovalV1beta1 module AccessapprovalV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191008' REVISION = '20191011'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -299,6 +299,25 @@ module Google
end end
end end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Represents the enrollment of a cloud resource into a specific service. # Represents the enrollment of a cloud resource into a specific service.
class EnrolledService class EnrolledService
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -70,6 +70,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EnrolledService class EnrolledService
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -162,6 +168,12 @@ module Google
end end
end end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class EnrolledService class EnrolledService
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -47,6 +47,41 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Deletes the settings associated with a project, folder, or organization.
# This will have the effect of disabling Access Approval for the project,
# folder, or organization, but only if all ancestors also have Access
# Approval disabled. If Access Approval is enabled at a higher level of the
# hierarchy, then Access Approval will still be enabled at this level as
# the settings are inherited.
# @param [String] name
# Name of the AccessApprovalSettings to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccessapprovalV1beta1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_folder_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::Empty::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the settings associated with a project, folder, or organization. # Gets the settings associated with a project, folder, or organization.
# @param [String] name # @param [String] name
# Name of the AccessApprovalSettings to retrieve. # Name of the AccessApprovalSettings to retrieve.
@ -277,6 +312,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes the settings associated with a project, folder, or organization.
# This will have the effect of disabling Access Approval for the project,
# folder, or organization, but only if all ancestors also have Access
# Approval disabled. If Access Approval is enabled at a higher level of the
# hierarchy, then Access Approval will still be enabled at this level as
# the settings are inherited.
# @param [String] name
# Name of the AccessApprovalSettings to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccessapprovalV1beta1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_organization_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::Empty::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the settings associated with a project, folder, or organization. # Gets the settings associated with a project, folder, or organization.
# @param [String] name # @param [String] name
# Name of the AccessApprovalSettings to retrieve. # Name of the AccessApprovalSettings to retrieve.
@ -507,6 +577,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes the settings associated with a project, folder, or organization.
# This will have the effect of disabling Access Approval for the project,
# folder, or organization, but only if all ancestors also have Access
# Approval disabled. If Access Approval is enabled at a higher level of the
# hierarchy, then Access Approval will still be enabled at this level as
# the settings are inherited.
# @param [String] name
# Name of the AccessApprovalSettings to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AccessapprovalV1beta1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::Empty::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the settings associated with a project, folder, or organization. # Gets the settings associated with a project, folder, or organization.
# @param [String] name # @param [String] name
# Name of the AccessApprovalSettings to retrieve. # Name of the AccessApprovalSettings to retrieve.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV3 module AndroidpublisherV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20191009' REVISION = '20191013'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1184,6 +1184,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :order_id attr_accessor :order_id
# The inapp product SKU.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
# The purchase state of the order. Possible values are: # The purchase state of the order. Possible values are:
# - Purchased # - Purchased
# - Canceled # - Canceled
@ -1224,6 +1229,7 @@ module Google
@developer_payload = args[:developer_payload] if args.key?(:developer_payload) @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@order_id = args[:order_id] if args.key?(:order_id) @order_id = args[:order_id] if args.key?(:order_id)
@product_id = args[:product_id] if args.key?(:product_id)
@purchase_state = args[:purchase_state] if args.key?(:purchase_state) @purchase_state = args[:purchase_state] if args.key?(:purchase_state)
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis) @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
@purchase_token = args[:purchase_token] if args.key?(:purchase_token) @purchase_token = args[:purchase_token] if args.key?(:purchase_token)

View File

@ -716,6 +716,7 @@ module Google
property :developer_payload, as: 'developerPayload' property :developer_payload, as: 'developerPayload'
property :kind, as: 'kind' property :kind, as: 'kind'
property :order_id, as: 'orderId' property :order_id, as: 'orderId'
property :product_id, as: 'productId'
property :purchase_state, as: 'purchaseState' property :purchase_state, as: 'purchaseState'
property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis' property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
property :purchase_token, as: 'purchaseToken' property :purchase_token, as: 'purchaseToken'

View File

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

View File

@ -2836,16 +2836,10 @@ module Google
end end
# Represents a Backend Service resource. # Represents a Backend Service resource.
# Backend services must have an associated health check. Backend services also # A backend service contains configuration values for Google Cloud Platform load
# store information about session affinity. For more information, read Backend # balancing services.
# Services. # For more information, read Backend Services.
# A backendServices resource represents a global backend service. Global backend # (== resource_for v1.backendService ==) (== resource_for beta.backendService ==)
# 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 class BackendService
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2949,9 +2943,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Indicates whether the backend service will be used with internal or external # Specifies the load balancer type. Choose EXTERNAL for load balancers that
# load balancing. A backend service created for one type of load balancing # receive traffic from external clients. Choose INTERNAL for Internal TCP/UDP
# cannot be used with the other. Possible values are INTERNAL and EXTERNAL. # Load Balancing. Choose INTERNAL_MANAGED for Internal HTTP(S) Load Balancing.
# Choose INTERNAL_SELF_MANAGED for Traffic Director. A backend service created
# for one type of load balancing cannot be used with another. For more
# information, refer to Choosing a load balancer.
# Corresponds to the JSON property `loadBalancingScheme` # Corresponds to the JSON property `loadBalancingScheme`
# @return [String] # @return [String]
attr_accessor :load_balancing_scheme attr_accessor :load_balancing_scheme
@ -3030,9 +3027,10 @@ module Google
attr_accessor :port_name attr_accessor :port_name
# The protocol this BackendService uses to communicate with backends. # The protocol this BackendService uses to communicate with backends.
# Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen # Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, or UDP, depending on the
# load balancer or Traffic Director configuration. Refer to the documentation # chosen load balancer or Traffic Director configuration. Refer to the
# for the load balancer or for Traffic director for more information. # documentation for the load balancer or for Traffic Director for more
# information.
# Corresponds to the JSON property `protocol` # Corresponds to the JSON property `protocol`
# @return [String] # @return [String]
attr_accessor :protocol attr_accessor :protocol
@ -4103,11 +4101,10 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The type of call credentials to use for GRPC requests to the SDS server. This # The type of call credentials to use for GRPC requests to the SDS server. This
# field can be set to one of the following: ACCESS_TOKEN: An access token is # field can be set to one of the following:
# used as call credentials for the SDS server. GCE_VM: The local GCE VM service # - GCE_VM: The local GCE VM service account credentials are used to access the
# account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The # SDS server.
# user provisioned service account credentials are used to access the SDS server. # - FROM_PLUGIN: Custom authenticator credentials are used to access the SDS
# FROM_PLUGIN: Custom authenticator credentials are used to access the SDS
# server. # server.
# Corresponds to the JSON property `callCredentialType` # Corresponds to the JSON property `callCredentialType`
# @return [String] # @return [String]
@ -4270,6 +4267,15 @@ module Google
class Commitment class Commitment
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The category of the commitment. Category MACHINE specifies commitments
# composed of machine resources such as VCPU or MEMORY, listed in resources.
# Category LICENSE specifies commitments composed of software licenses, listed
# in licenseResources. Note that only MACHINE commitments should have a Type
# specified.
# Corresponds to the JSON property `category`
# @return [String]
attr_accessor :category
# [Output Only] Creation timestamp in RFC3339 text format. # [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp` # Corresponds to the JSON property `creationTimestamp`
# @return [String] # @return [String]
@ -4297,6 +4303,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# A list of commitment amounts for particular licenses.
# Corresponds to the JSON property `licenseResources`
# @return [Array<Google::Apis::ComputeAlpha::LicenseResourceCommitment>]
attr_accessor :license_resources
# Name of the resource. Provided by the client when the resource is created. The # Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a- # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@ -4370,11 +4381,13 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@category = args[:category] if args.key?(:category)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp) @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@license_resources = args[:license_resources] if args.key?(:license_resources)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@plan = args[:plan] if args.key?(:plan) @plan = args[:plan] if args.key?(:plan)
@region = args[:region] if args.key?(:region) @region = args[:region] if args.key?(:region)
@ -4760,6 +4773,26 @@ module Google
end end
end end
# A set of Confidential Instance options.
class ConfidentialInstanceConfig
include Google::Apis::Core::Hashable
# Defines whether the instance should have confidential compute enabled.
# Corresponds to the JSON property `enableConfidentialCompute`
# @return [Boolean]
attr_accessor :enable_confidential_compute
alias_method :enable_confidential_compute?, :enable_confidential_compute
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
end
end
# Message containing connection draining configuration. # Message containing connection draining configuration.
class ConnectionDraining class ConnectionDraining
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4934,7 +4967,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :kms_key_name attr_accessor :kms_key_name
# # The service account being used for the encryption request for the given KMS
# key. If absent, default GCE compute robot account will be used
# Corresponds to the JSON property `kmsKeyServiceAccount` # Corresponds to the JSON property `kmsKeyServiceAccount`
# @return [String] # @return [String]
attr_accessor :kms_key_service_account attr_accessor :kms_key_service_account
@ -7302,27 +7336,12 @@ module Google
end end
# Represents a Forwarding Rule resource. # Represents a Forwarding Rule resource.
# A forwardingRules resource represents a regional forwarding rule. # A forwarding rule and its corresponding IP address represent the frontend
# Regional external forwarding rules can reference any of the following # configuration of a Google Cloud Platform load balancer. Forwarding rules can
# resources: # also reference target instances and Cloud VPN Classic gateways (
# # targetVpnGateway).
# - A target instance # For more information, read Forwarding rule concepts and Using protocol
# - A Cloud VPN Classic gateway (targetVpnGateway), # forwarding.
# - 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.forwardingRules ==) (== resource_for v1.forwardingRules =
# =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1. # =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
# globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (== # globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
@ -7350,8 +7369,14 @@ module Google
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
# AH, SCTP or ICMP. # AH, SCTP or ICMP.
# When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When # For Internal TCP/UDP Load Balancing, the load balancing scheme is INTERNAL,
# the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. # and one of TCP or UDP are valid. For Traffic Director, the load balancing
# scheme is INTERNAL_SELF_MANAGED, and only TCPis valid. For Internal HTTP(S)
# Load Balancing, the load balancing scheme is INTERNAL_MANAGED, and only TCP is
# valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing, the load
# balancing scheme is EXTERNAL and only TCP is valid. For Network TCP/UDP Load
# Balancing, the load balancing scheme is EXTERNAL, and one of TCP or UDP is
# valid.
# Corresponds to the JSON property `IPProtocol` # Corresponds to the JSON property `IPProtocol`
# @return [String] # @return [String]
attr_accessor :ip_protocol attr_accessor :ip_protocol
@ -7455,12 +7480,14 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# This signifies what the ForwardingRule will be used for and can only take the # Specifies the forwarding rule type. EXTERNAL is used for: - Classic Cloud VPN
# following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of # gateways - Protocol forwarding to VMs from an external IP address - The
# INTERNAL means that this will be used for Internal Network Load Balancing (TCP, # following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP.
# UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for # INTERNAL is used for: - Protocol forwarding to VMs from an internal IP address
# Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used # - Internal TCP/UDP load balancers
# for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) # INTERNAL_MANAGED is used for: - Internal HTTP(S) load balancers
# INTERNAL_SELF_MANAGED is used for: - Traffic Director
# For more information about forwarding rules, refer to Forwarding rule concepts.
# Corresponds to the JSON property `loadBalancingScheme` # Corresponds to the JSON property `loadBalancingScheme`
# @return [String] # @return [String]
attr_accessor :load_balancing_scheme attr_accessor :load_balancing_scheme
@ -8081,19 +8108,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`
@ -10166,6 +10202,12 @@ module Google
class HttpRouteRule class HttpRouteRule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The short description conveying the intent of this routeRule.
# The description can have a maximum length of 1024 characters.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The request and response header transformations that take effect before the # The request and response header transformations that take effect before the
# request is passed along to the selected backendService. # request is passed along to the selected backendService.
# Corresponds to the JSON property `headerAction` # Corresponds to the JSON property `headerAction`
@ -10177,6 +10219,22 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::HttpRouteRuleMatch>] # @return [Array<Google::Apis::ComputeAlpha::HttpRouteRuleMatch>]
attr_accessor :match_rules attr_accessor :match_rules
# For routeRules within a given pathMatcher, priority determines the order in
# which load balancer will interpret routeRules. RouteRules are evaluated in
# order of priority, from the lowest to highest number. The priority of a rule
# decreases as its number increases (1, 2, 3, N+1). The first rule that matches
# the request is applied.
# You cannot configure two or more routeRules with the same priority. Priority
# for each rule must be set to a number between 0 and 2147483647 inclusive.
# Priority numbers can have gaps, which enable you to add or remove rules in the
# future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9,
# 12, 16 is a valid series of priority numbers to which you could add rules
# numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact
# on existing rules.
# Corresponds to the JSON property `priority`
# @return [Fixnum]
attr_accessor :priority
# In response to a matching matchRule, the load balancer performs advanced # In response to a matching matchRule, the load balancer performs advanced
# routing actions like URL rewrites, header transformations, etc. prior to # routing actions like URL rewrites, header transformations, etc. prior to
# forwarding the request to the selected backend. If routeAction specifies any # forwarding the request to the selected backend. If routeAction specifies any
@ -10210,8 +10268,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@description = args[:description] if args.key?(:description)
@header_action = args[:header_action] if args.key?(:header_action) @header_action = args[:header_action] if args.key?(:header_action)
@match_rules = args[:match_rules] if args.key?(:match_rules) @match_rules = args[:match_rules] if args.key?(:match_rules)
@priority = args[:priority] if args.key?(:priority)
@route_action = args[:route_action] if args.key?(:route_action) @route_action = args[:route_action] if args.key?(:route_action)
@service = args[:service] if args.key?(:service) @service = args[:service] if args.key?(:service)
@url_redirect = args[:url_redirect] if args.key?(:url_redirect) @url_redirect = args[:url_redirect] if args.key?(:url_redirect)
@ -10986,6 +11046,11 @@ module Google
attr_accessor :can_ip_forward attr_accessor :can_ip_forward
alias_method :can_ip_forward?, :can_ip_forward alias_method :can_ip_forward?, :can_ip_forward
# A set of Confidential Instance options.
# Corresponds to the JSON property `confidentialInstanceConfig`
# @return [Google::Apis::ComputeAlpha::ConfidentialInstanceConfig]
attr_accessor :confidential_instance_config
# [Output Only] The CPU platform used by this instance. # [Output Only] The CPU platform used by this instance.
# Corresponds to the JSON property `cpuPlatform` # Corresponds to the JSON property `cpuPlatform`
# @return [String] # @return [String]
@ -11233,6 +11298,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward) @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform) @cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection) @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
@ -12686,12 +12752,6 @@ module Google
class InstanceGroupManagersDeletePerInstanceConfigsReq class InstanceGroupManagersDeletePerInstanceConfigsReq
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The list of instances for which we want to delete per-instance configs on this
# managed instance group.
# Corresponds to the JSON property `instances`
# @return [Array<String>]
attr_accessor :instances
# The list of instance names for which we want to delete per-instance configs on # The list of instance names for which we want to delete per-instance configs on
# this managed instance group. # this managed instance group.
# Corresponds to the JSON property `names` # Corresponds to the JSON property `names`
@ -12704,7 +12764,6 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@instances = args[:instances] if args.key?(:instances)
@names = args[:names] if args.key?(:names) @names = args[:names] if args.key?(:names)
end end
end end
@ -13815,6 +13874,11 @@ module Google
attr_accessor :can_ip_forward attr_accessor :can_ip_forward
alias_method :can_ip_forward?, :can_ip_forward alias_method :can_ip_forward?, :can_ip_forward
# A set of Confidential Instance options.
# Corresponds to the JSON property `confidentialInstanceConfig`
# @return [Google::Apis::ComputeAlpha::ConfidentialInstanceConfig]
attr_accessor :confidential_instance_config
# An optional text description for the instances that are created from this # An optional text description for the instances that are created from this
# instance template. # instance template.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
@ -13911,6 +13975,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward) @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@disks = args[:disks] if args.key?(:disks) @disks = args[:disks] if args.key?(:disks)
@display_device = args[:display_device] if args.key?(:display_device) @display_device = args[:display_device] if args.key?(:display_device)
@ -16777,6 +16842,38 @@ module Google
end end
end end
# Commitment for a particular license resource (a License Commitment is composed
# of one or more of these).
class LicenseResourceCommitment
include Google::Apis::Core::Hashable
# The number of licenses purchased.
# Corresponds to the JSON property `amount`
# @return [Fixnum]
attr_accessor :amount
# Specifies the core range of the instance for which this license applies.
# Corresponds to the JSON property `coresPerLicense`
# @return [String]
attr_accessor :cores_per_license
# Any applicable license URI.
# Corresponds to the JSON property `license`
# @return [String]
attr_accessor :license
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@amount = args[:amount] if args.key?(:amount)
@cores_per_license = args[:cores_per_license] if args.key?(:cores_per_license)
@license = args[:license] if args.key?(:license)
end
end
# #
class LicenseResourceRequirements class LicenseResourceRequirements
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -17038,6 +17135,11 @@ module Google
class LogConfigCounterOptions class LogConfigCounterOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Custom fields.
# Corresponds to the JSON property `customFields`
# @return [Array<Google::Apis::ComputeAlpha::LogConfigCounterOptionsCustomField>]
attr_accessor :custom_fields
# The field value to attribute. # The field value to attribute.
# Corresponds to the JSON property `field` # Corresponds to the JSON property `field`
# @return [String] # @return [String]
@ -17054,11 +17156,40 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@custom_fields = args[:custom_fields] if args.key?(:custom_fields)
@field = args[:field] if args.key?(:field) @field = args[:field] if args.key?(:field)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
end end
end end
# Custom fields. These can be used to create a counter with arbitrary field/
# value pairs. See: go/rpcsp-custom-fields.
class LogConfigCounterOptionsCustomField
include Google::Apis::Core::Hashable
# Name is the field name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Value is the field value. It is important that in contrast to the
# CounterOptions.field, the value here is a constant that is not derived from
# the IAMContext.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@value = args[:value] if args.key?(:value)
end
end
# Write a Data Access (Gin) log # Write a Data Access (Gin) log
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -18414,6 +18545,33 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :annotations attr_accessor :annotations
# Configuration for an App Engine network endpoint group (NEG). The service is
# optional, may be provided explicitly or in the URL mask. The version is
# optional and can only be provided explicitly or in the URL mask when service
# is present.
# Note: App Engine service must be in the same project and located in the same
# region as the Serverless NEG.
# Corresponds to the JSON property `appEngine`
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine]
attr_accessor :app_engine
# Configuration for a Cloud Function network endpoint group (NEG). The function
# must be provided explicitly or in the URL mask.
# Note: Cloud Function must be in the same project and located in the same
# region as the Serverless NEG.
# Corresponds to the JSON property `cloudFunction`
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudFunction]
attr_accessor :cloud_function
# Configuration for a Cloud Run network endpoint group (NEG). The service must
# be provided explicitly or in the URL mask. The tag is optional, may be
# provided explicitly or in the URL mask.
# Note: Cloud Run service must be in the same project and located in the same
# region as the Serverless NEG.
# Corresponds to the JSON property `cloudRun`
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudRun]
attr_accessor :cloud_run
# [Output Only] Creation timestamp in RFC3339 text format. # [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp` # Corresponds to the JSON property `creationTimestamp`
# @return [String] # @return [String]
@ -18470,6 +18628,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :network_endpoint_type attr_accessor :network_endpoint_type
# [Output Only] The URL of the region where the network endpoint group is
# located.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
# [Output Only] Server-defined URL for the resource. # [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
@ -18509,6 +18673,9 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations) @annotations = args[:annotations] if args.key?(:annotations)
@app_engine = args[:app_engine] if args.key?(:app_engine)
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@default_port = args[:default_port] if args.key?(:default_port) @default_port = args[:default_port] if args.key?(:default_port)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@ -18518,6 +18685,7 @@ module Google
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network) @network = args[:network] if args.key?(:network)
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type) @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link) @self_link = args[:self_link] if args.key?(:self_link)
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@size = args[:size] if args.key?(:size) @size = args[:size] if args.key?(:size)
@ -18646,6 +18814,134 @@ module Google
end end
end end
# Configuration for an App Engine network endpoint group (NEG). The service is
# optional, may be provided explicitly or in the URL mask. The version is
# optional and can only be provided explicitly or in the URL mask when service
# is present.
# Note: App Engine service must be in the same project and located in the same
# region as the Serverless NEG.
class NetworkEndpointGroupAppEngine
include Google::Apis::Core::Hashable
# Optional serving service.
# The service name must be 1-63 characters long, and comply with RFC1035.
# Example value: "default", "my-service".
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service
# A template to parse service and version fields from a request URL. URL mask
# allows for routing to multiple App Engine services without having to create
# multiple Network Endpoint Groups and backend services.
# For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-
# appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask
# "-dot-appname.appspot.com/". The URL mask will parse them to ` service = "foo1"
# , version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
# Corresponds to the JSON property `urlMask`
# @return [String]
attr_accessor :url_mask
# Optional serving version.
# The version must be 1-63 characters long, and comply with RFC1035.
# Example value: "v1", "v2".
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@service = args[:service] if args.key?(:service)
@url_mask = args[:url_mask] if args.key?(:url_mask)
@version = args[:version] if args.key?(:version)
end
end
# Configuration for a Cloud Function network endpoint group (NEG). The function
# must be provided explicitly or in the URL mask.
# Note: Cloud Function must be in the same project and located in the same
# region as the Serverless NEG.
class NetworkEndpointGroupCloudFunction
include Google::Apis::Core::Hashable
# A user-defined name of the Cloud Function.
# The service name must be 1-63 characters long, and comply with RFC1035.
# Example value: "func1".
# Corresponds to the JSON property `function`
# @return [String]
attr_accessor :function
# A template to parse function field from a request URL. URL mask allows for
# routing to multiple Cloud Functions without having to create multiple Network
# Endpoint Groups and backend services.
# For example, request URLs "mydomain.com/function1" and "mydomain.com/function2"
# can be backed by the same Serverless NEG with URL mask "/". The URL mask will
# parse them to ` function = "function1" ` and ` function = "function2" `
# respectively.
# Corresponds to the JSON property `urlMask`
# @return [String]
attr_accessor :url_mask
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@function = args[:function] if args.key?(:function)
@url_mask = args[:url_mask] if args.key?(:url_mask)
end
end
# Configuration for a Cloud Run network endpoint group (NEG). The service must
# be provided explicitly or in the URL mask. The tag is optional, may be
# provided explicitly or in the URL mask.
# Note: Cloud Run service must be in the same project and located in the same
# region as the Serverless NEG.
class NetworkEndpointGroupCloudRun
include Google::Apis::Core::Hashable
# Cloud Run service is the main resource of Cloud Run.
# The tag must be 1-63 characters long, and comply with RFC1035.
# Example value: "run-service".
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service
# Optional Cloud Run tag represents the "named-revision" to provide additional
# fine-grained traffic routing information.
# The tag must be 1-63 characters long, and comply with RFC1035.
# Example value: "revision-0010".
# Corresponds to the JSON property `tag`
# @return [String]
attr_accessor :tag
# A template to parse service and tag fields from a request URL. URL mask allows
# for routing to multiple Run services without having to create multiple network
# endpoint groups and backend services.
# For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2"
# can be backed by the same Serverless Network Endpoint Group (NEG) with URL
# mask ".domain.com/". The URL mask will parse them to ` service="bar1", tag="
# foo1" ` and ` service="bar2", tag="foo2" ` respectively.
# Corresponds to the JSON property `urlMask`
# @return [String]
attr_accessor :url_mask
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@service = args[:service] if args.key?(:service)
@tag = args[:tag] if args.key?(:tag)
@url_mask = args[:url_mask] if args.key?(:url_mask)
end
end
# Load balancing specific fields for network endpoint group. # Load balancing specific fields for network endpoint group.
class NetworkEndpointGroupLbNetworkEndpointGroup class NetworkEndpointGroupLbNetworkEndpointGroup
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -20032,6 +20328,11 @@ module Google
# @return [Google::Apis::ComputeAlpha::ServerBinding] # @return [Google::Apis::ComputeAlpha::ServerBinding]
attr_accessor :server_binding attr_accessor :server_binding
# Server ID associated with this node.
# Corresponds to the JSON property `serverId`
# @return [String]
attr_accessor :server_id
# #
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [String] # @return [String]
@ -20048,6 +20349,7 @@ module Google
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@node_type = args[:node_type] if args.key?(:node_type) @node_type = args[:node_type] if args.key?(:node_type)
@server_binding = args[:server_binding] if args.key?(:server_binding) @server_binding = args[:server_binding] if args.key?(:server_binding)
@server_id = args[:server_id] if args.key?(:server_id)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
end end
end end
@ -22382,9 +22684,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# PacketMirroring mirroredResourceInfos. Each mirroredResourceInfo specifies a # PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of
# set of mirrored VM instances and/or a set of subnetworks for which traffic # mirrored VM instances, subnetworks and/or tags for which traffic from/to all
# from/to all VM instances will be mirrored. # VM instances will be mirrored.
# Corresponds to the JSON property `mirroredResources` # Corresponds to the JSON property `mirroredResources`
# @return [Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfo] # @return [Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfo]
attr_accessor :mirrored_resources attr_accessor :mirrored_resources
@ -22807,8 +23109,7 @@ module Google
attr_accessor :instances attr_accessor :instances
# A set of subnetworks for which traffic from/to all VM instances will be # A set of subnetworks for which traffic from/to all VM instances will be
# mirrored. They must live in zones contained in the same region as this # mirrored. They must live in the same region as this packetMirroring.
# packetMirroring.
# You may specify a maximum of 5 subnetworks. # You may specify a maximum of 5 subnetworks.
# Corresponds to the JSON property `subnetworks` # Corresponds to the JSON property `subnetworks`
# @return [Array<Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfoSubnetInfo>] # @return [Array<Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfoSubnetInfo>]
@ -23327,19 +23628,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
class Policy class Policy
@ -23350,8 +23660,9 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::AuditConfig>] # @return [Array<Google::Apis::ComputeAlpha::AuditConfig>]
attr_accessor :audit_configs attr_accessor :audit_configs
# Associates a list of `members` to a `role`. `bindings` with no members will # Associates a list of `members` to a `role`. Optionally may specify a `
# result in an error. # condition` that determines when binding is in effect. `bindings` with no
# members will result in an error.
# Corresponds to the JSON property `bindings` # Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::ComputeAlpha::Binding>] # @return [Array<Google::Apis::ComputeAlpha::Binding>]
attr_accessor :bindings attr_accessor :bindings
@ -23364,7 +23675,9 @@ module Google
# that etag in the request to `setIamPolicy` to ensure that their change will be # that etag in the request to `setIamPolicy` to ensure that their change will be
# applied to the same version of the policy. # applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing # If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. # policy is overwritten. Due to blind-set semantics of an etag-less policy, '
# setIamPolicy' will not fail even if either of incoming or stored policy does
# not meet the version requirements.
# Corresponds to the JSON property `etag` # Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
@ -23390,9 +23703,13 @@ module Google
# Specifies the format of the policy. # Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected. # rejected.
# Policies with any conditional bindings must specify version 3. Policies # Operations affecting conditional bindings must specify version 3. This can be
# without any conditional bindings may specify any valid value or leave the # either setting a conditional policy, modifying a conditional binding, or
# field unset. # removing a conditional binding from the stored conditional policy. Operations
# on non-conditional policies may specify any valid value or leave the field
# unset.
# If no etag is provided in the call to `setIamPolicy`, any version compliance
# checks on the incoming and/or stored policy is skipped.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -25196,12 +25513,6 @@ module Google
class RegionInstanceGroupManagerDeleteInstanceConfigReq class RegionInstanceGroupManagerDeleteInstanceConfigReq
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The list of instances for which we want to delete per-instance configs on this
# managed instance group.
# Corresponds to the JSON property `instances`
# @return [Array<String>]
attr_accessor :instances
# The list of instance names for which we want to delete per-instance configs on # The list of instance names for which we want to delete per-instance configs on
# this managed instance group. # this managed instance group.
# Corresponds to the JSON property `names` # Corresponds to the JSON property `names`
@ -25214,7 +25525,6 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@instances = args[:instances] if args.key?(:instances)
@names = args[:names] if args.key?(:names) @names = args[:names] if args.key?(:names)
end end
end end
@ -26079,19 +26389,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`
@ -27067,6 +27386,19 @@ module Google
class ResourcePolicyGroupPlacementPolicy class ResourcePolicyGroupPlacementPolicy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The number of availability domains instances will be spread across. If two
# instances are in different availability domain, they will not be put in the
# same low latency network
# Corresponds to the JSON property `availabilityDomainCount`
# @return [Fixnum]
attr_accessor :availability_domain_count
# Distribution specifies how the instances are placed at host level. If set to
# SPREAD, no two instances will be put on the same host
# Corresponds to the JSON property `distribution`
# @return [String]
attr_accessor :distribution
# Specifies network locality # Specifies network locality
# Corresponds to the JSON property `locality` # Corresponds to the JSON property `locality`
# @return [String] # @return [String]
@ -27088,6 +27420,8 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
@distribution = args[:distribution] if args.key?(:distribution)
@locality = args[:locality] if args.key?(:locality) @locality = args[:locality] if args.key?(:locality)
@style = args[:style] if args.key?(:style) @style = args[:style] if args.key?(:style)
@vm_count = args[:vm_count] if args.key?(:vm_count) @vm_count = args[:vm_count] if args.key?(:vm_count)
@ -27571,8 +27905,7 @@ module Google
# or full URL. For example, the following are all valid URLs: # or full URL. For example, the following are all valid URLs:
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/ # - https://www.googleapis.com/compute/v1/projects/project/regions/region/
# forwardingRules/forwardingRule # forwardingRules/forwardingRule
# - regions/region/forwardingRules/forwardingRule Note that this can only be # - regions/region/forwardingRules/forwardingRule
# used when the destination_range is a public (non-RFC 1918) IP CIDR range.
# Corresponds to the JSON property `nextHopIlb` # Corresponds to the JSON property `nextHopIlb`
# @return [String] # @return [String]
attr_accessor :next_hop_ilb attr_accessor :next_hop_ilb
@ -33256,12 +33589,14 @@ module Google
alias_method :proxy_bind?, :proxy_bind alias_method :proxy_bind?, :proxy_bind
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This # Specifies the QUIC override policy for this TargetHttpsProxy resource. This
# determines whether the load balancer will attempt to negotiate QUIC with # setting determines whether the load balancer attempts to negotiate QUIC with
# clients or not. Can specify one of NONE, ENABLE, or DISABLE. Specify ENABLE to # clients. You can specify NONE, ENABLE, or DISABLE.
# always enable QUIC, Enables QUIC when set to ENABLE, and disables QUIC when # - When quic-override is set to NONE, Google manages whether QUIC is used.
# set to DISABLE. If NONE is specified, uses the QUIC policy with no user # - When quic-override is set to ENABLE, the load balancer uses QUIC when
# overrides, which is equivalent to DISABLE. Not specifying this field is # possible.
# equivalent to specifying NONE. # - When quic-override is set to DISABLE, the load balancer doesn't use QUIC.
# - If the quic-override flag is not specified, NONE is implied.
# -
# Corresponds to the JSON property `quicOverride` # Corresponds to the JSON property `quicOverride`
# @return [String] # @return [String]
attr_accessor :quic_override attr_accessor :quic_override
@ -33290,8 +33625,8 @@ module Google
attr_accessor :ssl_certificates attr_accessor :ssl_certificates
# URL of SslPolicy resource that will be associated with the TargetHttpsProxy # URL of SslPolicy resource that will be associated with the TargetHttpsProxy
# resource. If not set, the TargetHttpsProxy resource will not have any SSL # resource. If not set, the TargetHttpsProxy resource has no SSL policy
# policy configured. # configured.
# Corresponds to the JSON property `sslPolicy` # Corresponds to the JSON property `sslPolicy`
# @return [String] # @return [String]
attr_accessor :ssl_policy attr_accessor :ssl_policy
@ -37559,6 +37894,17 @@ module Google
# - NEGOTIATION_FAILURE: Handshake failed. # - NEGOTIATION_FAILURE: Handshake failed.
# - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. # - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
# - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. # - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
# - NO_INCOMING_PACKETS: No incoming packets from peer.
# - REJECTED: Tunnel configuration was rejected, can be result of being
# blacklisted.
# - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required
# resources.
# - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for
# Classic VPN tunnels or the project is in frozen state.
# - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably
# behind NAT.
# - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-
# VPN tunnel.
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
@ -38428,19 +38774,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`

View File

@ -592,6 +592,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ConfidentialInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConnectionDraining class ConnectionDraining
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2122,6 +2128,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LicenseResourceCommitment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LicenseResourceRequirements class LicenseResourceRequirements
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2170,6 +2182,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LogConfigCounterOptionsCustomField
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2374,6 +2392,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class NetworkEndpointGroupAppEngine
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupCloudFunction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupCloudRun
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupLbNetworkEndpointGroup class NetworkEndpointGroupLbNetworkEndpointGroup
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -6248,11 +6284,14 @@ module Google
class Commitment class Commitment
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :category, as: 'category'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :end_timestamp, as: 'endTimestamp' property :end_timestamp, as: 'endTimestamp'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
collection :license_resources, as: 'licenseResources', class: Google::Apis::ComputeAlpha::LicenseResourceCommitment, decorator: Google::Apis::ComputeAlpha::LicenseResourceCommitment::Representation
property :name, as: 'name' property :name, as: 'name'
property :plan, as: 'plan' property :plan, as: 'plan'
property :region, as: 'region' property :region, as: 'region'
@ -6372,6 +6411,13 @@ module Google
end end
end end
class ConfidentialInstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_confidential_compute, as: 'enableConfidentialCompute'
end
end
class ConnectionDraining class ConnectionDraining
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -7634,10 +7680,12 @@ module Google
class HttpRouteRule class HttpRouteRule
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation
collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeAlpha::HttpRouteRuleMatch, decorator: Google::Apis::ComputeAlpha::HttpRouteRuleMatch::Representation collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeAlpha::HttpRouteRuleMatch, decorator: Google::Apis::ComputeAlpha::HttpRouteRuleMatch::Representation
property :priority, as: 'priority'
property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
property :service, as: 'service' property :service, as: 'service'
@ -7818,6 +7866,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :can_ip_forward, as: 'canIpForward' property :can_ip_forward, as: 'canIpForward'
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig::Representation
property :cpu_platform, as: 'cpuPlatform' property :cpu_platform, as: 'cpuPlatform'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :deletion_protection, as: 'deletionProtection' property :deletion_protection, as: 'deletionProtection'
@ -8217,7 +8267,6 @@ module Google
class InstanceGroupManagersDeletePerInstanceConfigsReq class InstanceGroupManagersDeletePerInstanceConfigsReq
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances'
collection :names, as: 'names' collection :names, as: 'names'
end end
end end
@ -8548,6 +8597,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :can_ip_forward, as: 'canIpForward' property :can_ip_forward, as: 'canIpForward'
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig::Representation
property :description, as: 'description' property :description, as: 'description'
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation
@ -9282,6 +9333,15 @@ module Google
end end
end end
class LicenseResourceCommitment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount, :numeric_string => true, as: 'amount'
property :cores_per_license, as: 'coresPerLicense'
property :license, as: 'license'
end
end
class LicenseResourceRequirements class LicenseResourceRequirements
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -9354,11 +9414,21 @@ module Google
class LogConfigCounterOptions class LogConfigCounterOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :custom_fields, as: 'customFields', class: Google::Apis::ComputeAlpha::LogConfigCounterOptionsCustomField, decorator: Google::Apis::ComputeAlpha::LogConfigCounterOptionsCustomField::Representation
property :field, as: 'field' property :field, as: 'field'
property :metric, as: 'metric' property :metric, as: 'metric'
end end
end end
class LogConfigCounterOptionsCustomField
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :value, as: 'value'
end
end
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -9698,6 +9768,12 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
hash :annotations, as: 'annotations' hash :annotations, as: 'annotations'
property :app_engine, as: 'appEngine', class: Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine, decorator: Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine::Representation
property :cloud_function, as: 'cloudFunction', class: Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudFunction, decorator: Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudFunction::Representation
property :cloud_run, as: 'cloudRun', class: Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudRun, decorator: Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudRun::Representation
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :default_port, as: 'defaultPort' property :default_port, as: 'defaultPort'
property :description, as: 'description' property :description, as: 'description'
@ -9708,6 +9784,7 @@ module Google
property :name, as: 'name' property :name, as: 'name'
property :network, as: 'network' property :network, as: 'network'
property :network_endpoint_type, as: 'networkEndpointType' property :network_endpoint_type, as: 'networkEndpointType'
property :region, as: 'region'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :self_link_with_id, as: 'selfLinkWithId' property :self_link_with_id, as: 'selfLinkWithId'
property :size, as: 'size' property :size, as: 'size'
@ -9749,6 +9826,32 @@ module Google
end end
end end
class NetworkEndpointGroupAppEngine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :service, as: 'service'
property :url_mask, as: 'urlMask'
property :version, as: 'version'
end
end
class NetworkEndpointGroupCloudFunction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :function, as: 'function'
property :url_mask, as: 'urlMask'
end
end
class NetworkEndpointGroupCloudRun
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :service, as: 'service'
property :tag, as: 'tag'
property :url_mask, as: 'urlMask'
end
end
class NetworkEndpointGroupLbNetworkEndpointGroup class NetworkEndpointGroupLbNetworkEndpointGroup
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -10117,6 +10220,7 @@ module Google
property :node_type, as: 'nodeType' property :node_type, as: 'nodeType'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeAlpha::ServerBinding, decorator: Google::Apis::ComputeAlpha::ServerBinding::Representation property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeAlpha::ServerBinding, decorator: Google::Apis::ComputeAlpha::ServerBinding::Representation
property :server_id, as: 'serverId'
property :status, as: 'status' property :status, as: 'status'
end end
end end
@ -11469,7 +11573,6 @@ module Google
class RegionInstanceGroupManagerDeleteInstanceConfigReq class RegionInstanceGroupManagerDeleteInstanceConfigReq
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances'
collection :names, as: 'names' collection :names, as: 'names'
end end
end end
@ -11990,6 +12093,8 @@ module Google
class ResourcePolicyGroupPlacementPolicy class ResourcePolicyGroupPlacementPolicy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :availability_domain_count, as: 'availabilityDomainCount'
property :distribution, as: 'distribution'
property :locality, as: 'locality' property :locality, as: 'locality'
property :style, as: 'style' property :style, as: 'style'
property :vm_count, as: 'vmCount' property :vm_count, as: 'vmCount'

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1888,6 +1888,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LogConfigCounterOptionsCustomField
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2518,6 +2524,102 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PacketMirroring
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringForwardingRuleInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringMirroredResourceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringMirroredResourceInfoInstanceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringMirroredResourceInfoSubnetInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringNetworkInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringsScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class PathMatcher class PathMatcher
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4800,6 +4902,7 @@ module Google
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'
property :recommended_size, as: 'recommendedSize'
property :region, as: 'region' property :region, as: 'region'
property :self_link, as: 'selfLink' property :self_link, as: 'selfLink'
property :status, as: 'status' property :status, as: 'status'
@ -4922,6 +5025,7 @@ module Google
property :max_num_replicas, as: 'maxNumReplicas' property :max_num_replicas, as: 'maxNumReplicas'
property :min_num_replicas, as: 'minNumReplicas' property :min_num_replicas, as: 'minNumReplicas'
property :mode, as: 'mode'
end end
end end
@ -5479,6 +5583,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :kms_key_name, as: 'kmsKeyName' property :kms_key_name, as: 'kmsKeyName'
property :kms_key_service_account, as: 'kmsKeyServiceAccount'
property :raw_key, as: 'rawKey' property :raw_key, as: 'rawKey'
property :rsa_encrypted_key, as: 'rsaEncryptedKey' property :rsa_encrypted_key, as: 'rsaEncryptedKey'
property :sha256, as: 'sha256' property :sha256, as: 'sha256'
@ -6034,6 +6139,7 @@ module Google
property :fingerprint, :base64 => true, as: 'fingerprint' property :fingerprint, :base64 => true, as: 'fingerprint'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :ip_version, as: 'ipVersion' property :ip_version, as: 'ipVersion'
property :is_mirroring_collector, as: 'isMirroringCollector'
property :kind, as: 'kind' property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint' property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels' hash :labels, as: 'labels'
@ -6576,10 +6682,12 @@ module Google
class HttpRouteRule class HttpRouteRule
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :header_action, as: 'headerAction', class: Google::Apis::ComputeBeta::HttpHeaderAction, decorator: Google::Apis::ComputeBeta::HttpHeaderAction::Representation property :header_action, as: 'headerAction', class: Google::Apis::ComputeBeta::HttpHeaderAction, decorator: Google::Apis::ComputeBeta::HttpHeaderAction::Representation
collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeBeta::HttpRouteRuleMatch, decorator: Google::Apis::ComputeBeta::HttpRouteRuleMatch::Representation collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeBeta::HttpRouteRuleMatch, decorator: Google::Apis::ComputeBeta::HttpRouteRuleMatch::Representation
property :priority, as: 'priority'
property :route_action, as: 'routeAction', class: Google::Apis::ComputeBeta::HttpRouteAction, decorator: Google::Apis::ComputeBeta::HttpRouteAction::Representation property :route_action, as: 'routeAction', class: Google::Apis::ComputeBeta::HttpRouteAction, decorator: Google::Apis::ComputeBeta::HttpRouteAction::Representation
property :service, as: 'service' property :service, as: 'service'
@ -7996,11 +8104,21 @@ module Google
class LogConfigCounterOptions class LogConfigCounterOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :custom_fields, as: 'customFields', class: Google::Apis::ComputeBeta::LogConfigCounterOptionsCustomField, decorator: Google::Apis::ComputeBeta::LogConfigCounterOptionsCustomField::Representation
property :field, as: 'field' property :field, as: 'field'
property :metric, as: 'metric' property :metric, as: 'metric'
end end
end end
class LogConfigCounterOptionsCustomField
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :value, as: 'value'
end
end
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -9125,6 +9243,172 @@ module Google
end end
end end
class PacketMirroring
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :collector_ilb, as: 'collectorIlb', class: Google::Apis::ComputeBeta::PacketMirroringForwardingRuleInfo, decorator: Google::Apis::ComputeBeta::PacketMirroringForwardingRuleInfo::Representation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :enable, as: 'enable'
property :filter, as: 'filter', class: Google::Apis::ComputeBeta::PacketMirroringFilter, decorator: Google::Apis::ComputeBeta::PacketMirroringFilter::Representation
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :mirrored_resources, as: 'mirroredResources', class: Google::Apis::ComputeBeta::PacketMirroringMirroredResourceInfo, decorator: Google::Apis::ComputeBeta::PacketMirroringMirroredResourceInfo::Representation
property :name, as: 'name'
property :network, as: 'network', class: Google::Apis::ComputeBeta::PacketMirroringNetworkInfo, decorator: Google::Apis::ComputeBeta::PacketMirroringNetworkInfo::Representation
property :priority, as: 'priority'
property :region, as: 'region'
property :self_link, as: 'selfLink'
end
end
class PacketMirroringAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeBeta::PacketMirroringsScopedList, decorator: Google::Apis::ComputeBeta::PacketMirroringsScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class PacketMirroringFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ip_protocols, as: 'IPProtocols'
collection :cidr_ranges, as: 'cidrRanges'
end
end
class PacketMirroringForwardingRuleInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::PacketMirroring, decorator: Google::Apis::ComputeBeta::PacketMirroring::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::PacketMirroringList::Warning, decorator: Google::Apis::ComputeBeta::PacketMirroringList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::PacketMirroringList::Warning::Datum, decorator: Google::Apis::ComputeBeta::PacketMirroringList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class PacketMirroringMirroredResourceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::PacketMirroringMirroredResourceInfoInstanceInfo, decorator: Google::Apis::ComputeBeta::PacketMirroringMirroredResourceInfoInstanceInfo::Representation
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeBeta::PacketMirroringMirroredResourceInfoSubnetInfo, decorator: Google::Apis::ComputeBeta::PacketMirroringMirroredResourceInfoSubnetInfo::Representation
collection :tags, as: 'tags'
end
end
class PacketMirroringMirroredResourceInfoInstanceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringMirroredResourceInfoSubnetInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringNetworkInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :canonical_url, as: 'canonicalUrl'
property :url, as: 'url'
end
end
class PacketMirroringsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :packet_mirrorings, as: 'packetMirrorings', class: Google::Apis::ComputeBeta::PacketMirroring, decorator: Google::Apis::ComputeBeta::PacketMirroring::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::PacketMirroringsScopedList::Warning, decorator: Google::Apis::ComputeBeta::PacketMirroringsScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::PacketMirroringsScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::PacketMirroringsScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class PathMatcher class PathMatcher
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -2485,16 +2485,10 @@ module Google
end end
# Represents a Backend Service resource. # Represents a Backend Service resource.
# Backend services must have an associated health check. Backend services also # A backend service contains configuration values for Google Cloud Platform load
# store information about session affinity. For more information, read Backend # balancing services.
# Services. # For more information, read Backend Services.
# A backendServices resource represents a global backend service. Global backend # (== resource_for v1.backendService ==) (== resource_for beta.backendService ==)
# 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 class BackendService
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2592,9 +2586,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Indicates whether the backend service will be used with internal or external # Specifies the load balancer type. Choose EXTERNAL for load balancers that
# load balancing. A backend service created for one type of load balancing # receive traffic from external clients. Choose INTERNAL for Internal TCP/UDP
# cannot be used with the other. Possible values are INTERNAL and EXTERNAL. # Load Balancing. Choose INTERNAL_MANAGED for Internal HTTP(S) Load Balancing.
# Choose INTERNAL_SELF_MANAGED for Traffic Director. A backend service created
# for one type of load balancing cannot be used with another. For more
# information, refer to Choosing a load balancer.
# Corresponds to the JSON property `loadBalancingScheme` # Corresponds to the JSON property `loadBalancingScheme`
# @return [String] # @return [String]
attr_accessor :load_balancing_scheme attr_accessor :load_balancing_scheme
@ -2661,9 +2658,10 @@ module Google
attr_accessor :port_name attr_accessor :port_name
# The protocol this BackendService uses to communicate with backends. # The protocol this BackendService uses to communicate with backends.
# Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen # Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, or UDP, depending on the
# load balancer or Traffic Director configuration. Refer to the documentation # chosen load balancer or Traffic Director configuration. Refer to the
# for the load balancer or for Traffic director for more information. # documentation for the load balancer or for Traffic Director for more
# information.
# Corresponds to the JSON property `protocol` # Corresponds to the JSON property `protocol`
# @return [String] # @return [String]
attr_accessor :protocol attr_accessor :protocol
@ -6109,27 +6107,12 @@ module Google
end end
# Represents a Forwarding Rule resource. # Represents a Forwarding Rule resource.
# A forwardingRules resource represents a regional forwarding rule. # A forwarding rule and its corresponding IP address represent the frontend
# Regional external forwarding rules can reference any of the following # configuration of a Google Cloud Platform load balancer. Forwarding rules can
# resources: # also reference target instances and Cloud VPN Classic gateways (
# # targetVpnGateway).
# - A target instance # For more information, read Forwarding rule concepts and Using protocol
# - A Cloud VPN Classic gateway (targetVpnGateway), # forwarding.
# - 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.forwardingRules ==) (== resource_for v1.forwardingRules =
# =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1. # =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
# globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (== # globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
@ -6157,8 +6140,14 @@ module Google
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
# AH, SCTP or ICMP. # AH, SCTP or ICMP.
# When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When # For Internal TCP/UDP Load Balancing, the load balancing scheme is INTERNAL,
# the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. # and one of TCP or UDP are valid. For Traffic Director, the load balancing
# scheme is INTERNAL_SELF_MANAGED, and only TCPis valid. For Internal HTTP(S)
# Load Balancing, the load balancing scheme is INTERNAL_MANAGED, and only TCP is
# valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing, the load
# balancing scheme is EXTERNAL and only TCP is valid. For Network TCP/UDP Load
# Balancing, the load balancing scheme is EXTERNAL, and one of TCP or UDP is
# valid.
# Corresponds to the JSON property `IPProtocol` # Corresponds to the JSON property `IPProtocol`
# @return [String] # @return [String]
attr_accessor :ip_protocol attr_accessor :ip_protocol
@ -6211,12 +6200,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# This signifies what the ForwardingRule will be used for and can only take the # Specifies the forwarding rule type. EXTERNAL is used for: - Classic Cloud VPN
# following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of # gateways - Protocol forwarding to VMs from an external IP address - The
# INTERNAL means that this will be used for Internal Network Load Balancing (TCP, # following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP.
# UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for # INTERNAL is used for: - Protocol forwarding to VMs from an internal IP address
# Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used # - Internal TCP/UDP load balancers
# for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) # INTERNAL_MANAGED is used for: - Internal HTTP(S) load balancers
# INTERNAL_SELF_MANAGED is used for: - Traffic Director
# For more information about forwarding rules, refer to Forwarding rule concepts.
# Corresponds to the JSON property `loadBalancingScheme` # Corresponds to the JSON property `loadBalancingScheme`
# @return [String] # @return [String]
attr_accessor :load_balancing_scheme attr_accessor :load_balancing_scheme
@ -6788,19 +6779,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`
@ -8506,6 +8506,12 @@ module Google
class HttpRouteRule class HttpRouteRule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The short description conveying the intent of this routeRule.
# The description can have a maximum length of 1024 characters.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The request and response header transformations that take effect before the # The request and response header transformations that take effect before the
# request is passed along to the selected backendService. # request is passed along to the selected backendService.
# Corresponds to the JSON property `headerAction` # Corresponds to the JSON property `headerAction`
@ -8517,6 +8523,22 @@ module Google
# @return [Array<Google::Apis::ComputeV1::HttpRouteRuleMatch>] # @return [Array<Google::Apis::ComputeV1::HttpRouteRuleMatch>]
attr_accessor :match_rules attr_accessor :match_rules
# For routeRules within a given pathMatcher, priority determines the order in
# which load balancer will interpret routeRules. RouteRules are evaluated in
# order of priority, from the lowest to highest number. The priority of a rule
# decreases as its number increases (1, 2, 3, N+1). The first rule that matches
# the request is applied.
# You cannot configure two or more routeRules with the same priority. Priority
# for each rule must be set to a number between 0 and 2147483647 inclusive.
# Priority numbers can have gaps, which enable you to add or remove rules in the
# future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9,
# 12, 16 is a valid series of priority numbers to which you could add rules
# numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact
# on existing rules.
# Corresponds to the JSON property `priority`
# @return [Fixnum]
attr_accessor :priority
# In response to a matching matchRule, the load balancer performs advanced # In response to a matching matchRule, the load balancer performs advanced
# routing actions like URL rewrites, header transformations, etc. prior to # routing actions like URL rewrites, header transformations, etc. prior to
# forwarding the request to the selected backend. If routeAction specifies any # forwarding the request to the selected backend. If routeAction specifies any
@ -8550,8 +8572,10 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@description = args[:description] if args.key?(:description)
@header_action = args[:header_action] if args.key?(:header_action) @header_action = args[:header_action] if args.key?(:header_action)
@match_rules = args[:match_rules] if args.key?(:match_rules) @match_rules = args[:match_rules] if args.key?(:match_rules)
@priority = args[:priority] if args.key?(:priority)
@route_action = args[:route_action] if args.key?(:route_action) @route_action = args[:route_action] if args.key?(:route_action)
@service = args[:service] if args.key?(:service) @service = args[:service] if args.key?(:service)
@url_redirect = args[:url_redirect] if args.key?(:url_redirect) @url_redirect = args[:url_redirect] if args.key?(:url_redirect)
@ -13948,6 +13972,11 @@ module Google
class LogConfigCounterOptions class LogConfigCounterOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Custom fields.
# Corresponds to the JSON property `customFields`
# @return [Array<Google::Apis::ComputeV1::LogConfigCounterOptionsCustomField>]
attr_accessor :custom_fields
# The field value to attribute. # The field value to attribute.
# Corresponds to the JSON property `field` # Corresponds to the JSON property `field`
# @return [String] # @return [String]
@ -13964,11 +13993,40 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@custom_fields = args[:custom_fields] if args.key?(:custom_fields)
@field = args[:field] if args.key?(:field) @field = args[:field] if args.key?(:field)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
end end
end end
# Custom fields. These can be used to create a counter with arbitrary field/
# value pairs. See: go/rpcsp-custom-fields.
class LogConfigCounterOptionsCustomField
include Google::Apis::Core::Hashable
# Name is the field name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Value is the field value. It is important that in contrast to the
# CounterOptions.field, the value here is a constant that is not derived from
# the IAMContext.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@value = args[:value] if args.key?(:value)
end
end
# Write a Data Access (Gin) log # Write a Data Access (Gin) log
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -18377,19 +18435,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
class Policy class Policy
@ -18400,8 +18467,9 @@ module Google
# @return [Array<Google::Apis::ComputeV1::AuditConfig>] # @return [Array<Google::Apis::ComputeV1::AuditConfig>]
attr_accessor :audit_configs attr_accessor :audit_configs
# Associates a list of `members` to a `role`. `bindings` with no members will # Associates a list of `members` to a `role`. Optionally may specify a `
# result in an error. # condition` that determines when binding is in effect. `bindings` with no
# members will result in an error.
# Corresponds to the JSON property `bindings` # Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::ComputeV1::Binding>] # @return [Array<Google::Apis::ComputeV1::Binding>]
attr_accessor :bindings attr_accessor :bindings
@ -18414,7 +18482,9 @@ module Google
# that etag in the request to `setIamPolicy` to ensure that their change will be # that etag in the request to `setIamPolicy` to ensure that their change will be
# applied to the same version of the policy. # applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing # If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. # policy is overwritten. Due to blind-set semantics of an etag-less policy, '
# setIamPolicy' will not fail even if either of incoming or stored policy does
# not meet the version requirements.
# Corresponds to the JSON property `etag` # Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
@ -18440,9 +18510,13 @@ module Google
# Specifies the format of the policy. # Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected. # rejected.
# Policies with any conditional bindings must specify version 3. Policies # Operations affecting conditional bindings must specify version 3. This can be
# without any conditional bindings may specify any valid value or leave the # either setting a conditional policy, modifying a conditional binding, or
# field unset. # removing a conditional binding from the stored conditional policy. Operations
# on non-conditional policies may specify any valid value or leave the field
# unset.
# If no etag is provided in the call to `setIamPolicy`, any version compliance
# checks on the incoming and/or stored policy is skipped.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -19832,19 +19906,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`
@ -21182,6 +21265,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :next_hop_gateway attr_accessor :next_hop_gateway
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
# handle matching packets. You can only specify the forwarding rule as a partial
# or full URL. For example, the following are all valid URLs:
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
# forwardingRules/forwardingRule
# - regions/region/forwardingRules/forwardingRule
# Corresponds to the JSON property `nextHopIlb`
# @return [String]
attr_accessor :next_hop_ilb
# The URL to an instance that should handle matching packets. You can specify # The URL to an instance that should handle matching packets. You can specify
# this as a full or partial URL. For example: # this as a full or partial URL. For example:
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
@ -21250,6 +21343,7 @@ module Google
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network) @network = args[:network] if args.key?(:network)
@next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway) @next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance) @next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip) @next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network) @next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
@ -22016,6 +22110,13 @@ module Google
class RouterNat class RouterNat
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A list of URLs of the IP resources to be drained. These IPs must be valid
# static external IPs that have been assigned to the NAT. These IPs should be
# used for updating/patching a NAT only.
# Corresponds to the JSON property `drainNatIps`
# @return [Array<String>]
attr_accessor :drain_nat_ips
# Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. # Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
# Corresponds to the JSON property `icmpIdleTimeoutSec` # Corresponds to the JSON property `icmpIdleTimeoutSec`
# @return [Fixnum] # @return [Fixnum]
@ -22100,6 +22201,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec) @icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
@log_config = args[:log_config] if args.key?(:log_config) @log_config = args[:log_config] if args.key?(:log_config)
@min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm) @min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
@ -22303,6 +22405,18 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :auto_allocated_nat_ips attr_accessor :auto_allocated_nat_ips
# A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.
# 1", ?179.12.26.133?].
# Corresponds to the JSON property `drainAutoAllocatedNatIps`
# @return [Array<String>]
attr_accessor :drain_auto_allocated_nat_ips
# A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.
# 1", ?179.12.26.133?].
# Corresponds to the JSON property `drainUserAllocatedNatIps`
# @return [Array<String>]
attr_accessor :drain_user_allocated_nat_ips
# The number of extra IPs to allocate. This will be greater than 0 only if user- # The number of extra IPs to allocate. This will be greater than 0 only if user-
# specified IPs are NOT enough to allow all configured VMs to use NAT. This # specified IPs are NOT enough to allow all configured VMs to use NAT. This
# value is meaningful only when auto-allocation of NAT IPs is *not* used. # value is meaningful only when auto-allocation of NAT IPs is *not* used.
@ -22338,6 +22452,8 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@auto_allocated_nat_ips = args[:auto_allocated_nat_ips] if args.key?(:auto_allocated_nat_ips) @auto_allocated_nat_ips = args[:auto_allocated_nat_ips] if args.key?(:auto_allocated_nat_ips)
@drain_auto_allocated_nat_ips = args[:drain_auto_allocated_nat_ips] if args.key?(:drain_auto_allocated_nat_ips)
@drain_user_allocated_nat_ips = args[:drain_user_allocated_nat_ips] if args.key?(:drain_user_allocated_nat_ips)
@min_extra_nat_ips_needed = args[:min_extra_nat_ips_needed] if args.key?(:min_extra_nat_ips_needed) @min_extra_nat_ips_needed = args[:min_extra_nat_ips_needed] if args.key?(:min_extra_nat_ips_needed)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@num_vm_endpoints_with_nat_mappings = args[:num_vm_endpoints_with_nat_mappings] if args.key?(:num_vm_endpoints_with_nat_mappings) @num_vm_endpoints_with_nat_mappings = args[:num_vm_endpoints_with_nat_mappings] if args.key?(:num_vm_endpoints_with_nat_mappings)
@ -25528,12 +25644,14 @@ module Google
attr_accessor :name attr_accessor :name
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This # Specifies the QUIC override policy for this TargetHttpsProxy resource. This
# determines whether the load balancer will attempt to negotiate QUIC with # setting determines whether the load balancer attempts to negotiate QUIC with
# clients or not. Can specify one of NONE, ENABLE, or DISABLE. Specify ENABLE to # clients. You can specify NONE, ENABLE, or DISABLE.
# always enable QUIC, Enables QUIC when set to ENABLE, and disables QUIC when # - When quic-override is set to NONE, Google manages whether QUIC is used.
# set to DISABLE. If NONE is specified, uses the QUIC policy with no user # - When quic-override is set to ENABLE, the load balancer uses QUIC when
# overrides, which is equivalent to DISABLE. Not specifying this field is # possible.
# equivalent to specifying NONE. # - When quic-override is set to DISABLE, the load balancer doesn't use QUIC.
# - If the quic-override flag is not specified, NONE is implied.
# -
# Corresponds to the JSON property `quicOverride` # Corresponds to the JSON property `quicOverride`
# @return [String] # @return [String]
attr_accessor :quic_override attr_accessor :quic_override
@ -25557,8 +25675,8 @@ module Google
attr_accessor :ssl_certificates attr_accessor :ssl_certificates
# URL of SslPolicy resource that will be associated with the TargetHttpsProxy # URL of SslPolicy resource that will be associated with the TargetHttpsProxy
# resource. If not set, the TargetHttpsProxy resource will not have any SSL # resource. If not set, the TargetHttpsProxy resource has no SSL policy
# policy configured. # configured.
# Corresponds to the JSON property `sslPolicy` # Corresponds to the JSON property `sslPolicy`
# @return [String] # @return [String]
attr_accessor :ssl_policy attr_accessor :ssl_policy
@ -28710,6 +28828,13 @@ module Google
class VmEndpointNatMappingsInterfaceNatMappings class VmEndpointNatMappingsInterfaceNatMappings
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of all drain IP:port-range mappings assigned to this interface. These
# ranges are inclusive, that is, both the first and the last ports can be used
# for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
# Corresponds to the JSON property `drainNatIpPortRanges`
# @return [Array<String>]
attr_accessor :drain_nat_ip_port_ranges
# A list of all IP:port-range mappings assigned to this interface. These ranges # A list of all IP:port-range mappings assigned to this interface. These ranges
# are inclusive, that is, both the first and the last ports can be used for NAT. # are inclusive, that is, both the first and the last ports can be used for NAT.
# Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. # Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
@ -28717,6 +28842,12 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :nat_ip_port_ranges attr_accessor :nat_ip_port_ranges
# Total number of drain ports across all NAT IPs allocated to this interface. It
# equals to the aggregated port number in the field drain_nat_ip_port_ranges.
# Corresponds to the JSON property `numTotalDrainNatPorts`
# @return [Fixnum]
attr_accessor :num_total_drain_nat_ports
# Total number of ports across all NAT IPs allocated to this interface. It # Total number of ports across all NAT IPs allocated to this interface. It
# equals to the aggregated port number in the field nat_ip_port_ranges. # equals to the aggregated port number in the field nat_ip_port_ranges.
# Corresponds to the JSON property `numTotalNatPorts` # Corresponds to the JSON property `numTotalNatPorts`
@ -28740,7 +28871,9 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
@nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges) @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
@num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
@num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports) @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
@source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range) @source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
@source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip) @source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
@ -29586,6 +29719,17 @@ module Google
# - NEGOTIATION_FAILURE: Handshake failed. # - NEGOTIATION_FAILURE: Handshake failed.
# - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. # - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
# - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. # - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
# - NO_INCOMING_PACKETS: No incoming packets from peer.
# - REJECTED: Tunnel configuration was rejected, can be result of being
# blacklisted.
# - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required
# resources.
# - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for
# Classic VPN tunnels or the project is in frozen state.
# - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably
# behind NAT.
# - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-
# VPN tunnel.
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
@ -30396,19 +30540,28 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to specify # Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources. # access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of ` # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a `role`, where the members can be user accounts, Google groups, # members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user: # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# sean@example.com"] ` ] ` # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
# "condition": ` "title": "expirable access", "description": "Does not grant
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
# 00:00.000Z')", ` ` ] `
# **YAML Example** # **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com - # bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
# access description: Does not grant access after Sep 2020 expression: request.
# time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs). # https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`

View File

@ -1792,6 +1792,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LogConfigCounterOptionsCustomField
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -6220,10 +6226,12 @@ module Google
class HttpRouteRule class HttpRouteRule
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :header_action, as: 'headerAction', class: Google::Apis::ComputeV1::HttpHeaderAction, decorator: Google::Apis::ComputeV1::HttpHeaderAction::Representation property :header_action, as: 'headerAction', class: Google::Apis::ComputeV1::HttpHeaderAction, decorator: Google::Apis::ComputeV1::HttpHeaderAction::Representation
collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeV1::HttpRouteRuleMatch, decorator: Google::Apis::ComputeV1::HttpRouteRuleMatch::Representation collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeV1::HttpRouteRuleMatch, decorator: Google::Apis::ComputeV1::HttpRouteRuleMatch::Representation
property :priority, as: 'priority'
property :route_action, as: 'routeAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation property :route_action, as: 'routeAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
property :service, as: 'service' property :service, as: 'service'
@ -7558,11 +7566,21 @@ module Google
class LogConfigCounterOptions class LogConfigCounterOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :custom_fields, as: 'customFields', class: Google::Apis::ComputeV1::LogConfigCounterOptionsCustomField, decorator: Google::Apis::ComputeV1::LogConfigCounterOptionsCustomField::Representation
property :field, as: 'field' property :field, as: 'field'
property :metric, as: 'metric' property :metric, as: 'metric'
end end
end end
class LogConfigCounterOptionsCustomField
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :value, as: 'value'
end
end
class LogConfigDataAccessOptions class LogConfigDataAccessOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -9463,6 +9481,7 @@ module Google
property :name, as: 'name' property :name, as: 'name'
property :network, as: 'network' property :network, as: 'network'
property :next_hop_gateway, as: 'nextHopGateway' property :next_hop_gateway, as: 'nextHopGateway'
property :next_hop_ilb, as: 'nextHopIlb'
property :next_hop_instance, as: 'nextHopInstance' property :next_hop_instance, as: 'nextHopInstance'
property :next_hop_ip, as: 'nextHopIp' property :next_hop_ip, as: 'nextHopIp'
property :next_hop_network, as: 'nextHopNetwork' property :next_hop_network, as: 'nextHopNetwork'
@ -9662,6 +9681,7 @@ module Google
class RouterNat class RouterNat
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :drain_nat_ips, as: 'drainNatIps'
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec' property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::RouterNatLogConfig, decorator: Google::Apis::ComputeV1::RouterNatLogConfig::Representation property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::RouterNatLogConfig, decorator: Google::Apis::ComputeV1::RouterNatLogConfig::Representation
@ -9731,6 +9751,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :auto_allocated_nat_ips, as: 'autoAllocatedNatIps' collection :auto_allocated_nat_ips, as: 'autoAllocatedNatIps'
collection :drain_auto_allocated_nat_ips, as: 'drainAutoAllocatedNatIps'
collection :drain_user_allocated_nat_ips, as: 'drainUserAllocatedNatIps'
property :min_extra_nat_ips_needed, as: 'minExtraNatIpsNeeded' property :min_extra_nat_ips_needed, as: 'minExtraNatIpsNeeded'
property :name, as: 'name' property :name, as: 'name'
property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings' property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings'
@ -11388,7 +11410,9 @@ module Google
class VmEndpointNatMappingsInterfaceNatMappings class VmEndpointNatMappingsInterfaceNatMappings
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :drain_nat_ip_port_ranges, as: 'drainNatIpPortRanges'
collection :nat_ip_port_ranges, as: 'natIpPortRanges' collection :nat_ip_port_ranges, as: 'natIpPortRanges'
property :num_total_drain_nat_ports, as: 'numTotalDrainNatPorts'
property :num_total_nat_ports, as: 'numTotalNatPorts' property :num_total_nat_ports, as: 'numTotalNatPorts'
property :source_alias_ip_range, as: 'sourceAliasIpRange' property :source_alias_ip_range, as: 'sourceAliasIpRange'
property :source_virtual_ip, as: 'sourceVirtualIp' property :source_virtual_ip, as: 'sourceVirtualIp'

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -120,8 +120,9 @@ module Google
# Delete an auto domain mapping. # Delete an auto domain mapping.
# @param [String] name # @param [String] name
# The name of the auto domain mapping being deleted. If needed, replace # The name of the auto domain mapping being deleted.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -163,8 +164,9 @@ module Google
# Get information about an auto domain mapping. # Get information about an auto domain mapping.
# @param [String] name # @param [String] name
# The name of the auto domain mapping being retrieved. If needed, replace # The name of the auto domain mapping being retrieved.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -256,8 +258,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the auto domain mapping being retrieved. If needed, replace # The name of the auto domain mapping being retrieved.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -290,8 +293,9 @@ module Google
# Create a configuration. # Create a configuration.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this configuration should be # The namespace in which the configuration should be created.
# created. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Configuration] configuration_object # @param [Google::Apis::RunV1::Configuration] configuration_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -327,8 +331,9 @@ module Google
# calling this, any route referencing the configuration (or revision # calling this, any route referencing the configuration (or revision
# from the configuration) must be deleted. # from the configuration) must be deleted.
# @param [String] name # @param [String] name
# The name of the configuration being deleted. If needed, replace # The name of the configuration to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -370,8 +375,9 @@ module Google
# Get information about a configuration. # Get information about a configuration.
# @param [String] name # @param [String] name
# The name of the configuration being retrieved. If needed, replace # The name of the configuration to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -401,8 +407,9 @@ module Google
# List configurations. # List configurations.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the configurations should be # The namespace from which the configurations should be listed.
# listed. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -463,8 +470,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the configuration being retrieved. If needed, replace # The name of the configuration being replaced.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Configuration] configuration_object # @param [Google::Apis::RunV1::Configuration] configuration_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -497,8 +505,9 @@ module Google
# Create a new domain mapping. # Create a new domain mapping.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this domain mapping should be # The namespace in which the domain mapping should be created.
# created. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -531,8 +540,9 @@ module Google
# Delete a domain mapping. # Delete a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping being deleted. If needed, replace # The name of the domain mapping to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -574,8 +584,9 @@ module Google
# Get information about a domain mapping. # Get information about a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping being retrieved. If needed, replace # The name of the domain mapping to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -605,8 +616,9 @@ module Google
# List domain mappings. # List domain mappings.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the domain mappings should be # The namespace from which the domain mappings should be listed.
# listed. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -667,8 +679,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the domain mapping being retrieved. If needed, replace # The name of the domain mapping being retrieved.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -701,8 +714,9 @@ module Google
# Delete a revision. # Delete a revision.
# @param [String] name # @param [String] name
# The name of the revision being deleted. If needed, replace # The name of the revision to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -744,8 +758,9 @@ module Google
# Get information about a revision. # Get information about a revision.
# @param [String] name # @param [String] name
# The name of the revision being retrieved. If needed, replace # The name of the revision to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -775,7 +790,9 @@ module Google
# List revisions. # List revisions.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the revisions should be listed. # The namespace from which the revisions should be listed.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -831,7 +848,9 @@ module Google
# Create a route. # Create a route.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this route should be created. # The namespace in which the route should be created.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Route] route_object # @param [Google::Apis::RunV1::Route] route_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -865,8 +884,9 @@ module Google
# Delete a route. # Delete a route.
# This will cause the route to stop serving traffic. # This will cause the route to stop serving traffic.
# @param [String] name # @param [String] name
# The name of the route being deleted. If needed, replace # The name of the route to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -908,8 +928,9 @@ module Google
# Get information about a route. # Get information about a route.
# @param [String] name # @param [String] name
# The name of the route being retrieved. If needed, replace # The name of the route to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -939,7 +960,9 @@ module Google
# List routes. # List routes.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the routes should be listed. # The namespace from which the routes should be listed.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -1000,8 +1023,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the route being replaced. If needed, replace # The name of the route being replaced.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Route] route_object # @param [Google::Apis::RunV1::Route] route_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1034,7 +1058,9 @@ module Google
# Create a service. # Create a service.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this service should be created. # The namespace in which the service should be created.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1069,8 +1095,9 @@ module Google
# This will cause the Service to stop serving traffic and will delete the # This will cause the Service to stop serving traffic and will delete the
# child entities like Routes, Configurations and Revisions. # child entities like Routes, Configurations and Revisions.
# @param [String] name # @param [String] name
# The name of the service being deleted. If needed, replace # The name of the service to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -1112,8 +1139,9 @@ module Google
# Get information about a service. # Get information about a service.
# @param [String] name # @param [String] name
# The name of the service being retrieved. If needed, replace # The name of the service to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1143,7 +1171,9 @@ module Google
# List services. # List services.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the services should be listed. # The namespace from which the services should be listed.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -1204,8 +1234,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the service being replaced. If needed, replace # The name of the service being replaced.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1377,8 +1408,9 @@ module Google
# Delete an auto domain mapping. # Delete an auto domain mapping.
# @param [String] name # @param [String] name
# The name of the auto domain mapping being deleted. If needed, replace # The name of the auto domain mapping being deleted.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -1420,8 +1452,9 @@ module Google
# Get information about an auto domain mapping. # Get information about an auto domain mapping.
# @param [String] name # @param [String] name
# The name of the auto domain mapping being retrieved. If needed, replace # The name of the auto domain mapping being retrieved.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1513,8 +1546,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the auto domain mapping being retrieved. If needed, replace # The name of the auto domain mapping being retrieved.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object # @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1547,8 +1581,9 @@ module Google
# Create a configuration. # Create a configuration.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this configuration should be # The namespace in which the configuration should be created.
# created. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Configuration] configuration_object # @param [Google::Apis::RunV1::Configuration] configuration_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1584,8 +1619,9 @@ module Google
# calling this, any route referencing the configuration (or revision # calling this, any route referencing the configuration (or revision
# from the configuration) must be deleted. # from the configuration) must be deleted.
# @param [String] name # @param [String] name
# The name of the configuration being deleted. If needed, replace # The name of the configuration to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -1627,8 +1663,9 @@ module Google
# Get information about a configuration. # Get information about a configuration.
# @param [String] name # @param [String] name
# The name of the configuration being retrieved. If needed, replace # The name of the configuration to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1658,8 +1695,9 @@ module Google
# List configurations. # List configurations.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the configurations should be # The namespace from which the configurations should be listed.
# listed. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -1720,8 +1758,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the configuration being retrieved. If needed, replace # The name of the configuration being replaced.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Configuration] configuration_object # @param [Google::Apis::RunV1::Configuration] configuration_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1754,8 +1793,9 @@ module Google
# Create a new domain mapping. # Create a new domain mapping.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this domain mapping should be # The namespace in which the domain mapping should be created.
# created. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1788,8 +1828,9 @@ module Google
# Delete a domain mapping. # Delete a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping being deleted. If needed, replace # The name of the domain mapping to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -1831,8 +1872,9 @@ module Google
# Get information about a domain mapping. # Get information about a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping being retrieved. If needed, replace # The name of the domain mapping to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1862,8 +1904,9 @@ module Google
# List domain mappings. # List domain mappings.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the domain mappings should be # The namespace from which the domain mappings should be listed.
# listed. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -1924,8 +1967,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the domain mapping being retrieved. If needed, replace # The name of the domain mapping being retrieved.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1958,8 +2002,9 @@ module Google
# Delete a revision. # Delete a revision.
# @param [String] name # @param [String] name
# The name of the revision being deleted. If needed, replace # The name of the revision to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -2001,8 +2046,9 @@ module Google
# Get information about a revision. # Get information about a revision.
# @param [String] name # @param [String] name
# The name of the revision being retrieved. If needed, replace # The name of the revision to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -2032,7 +2078,9 @@ module Google
# List revisions. # List revisions.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the revisions should be listed. # The namespace from which the revisions should be listed.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -2088,7 +2136,9 @@ module Google
# Create a route. # Create a route.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this route should be created. # The namespace in which the route should be created.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Route] route_object # @param [Google::Apis::RunV1::Route] route_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -2122,8 +2172,9 @@ module Google
# Delete a route. # Delete a route.
# This will cause the route to stop serving traffic. # This will cause the route to stop serving traffic.
# @param [String] name # @param [String] name
# The name of the route being deleted. If needed, replace # The name of the route to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -2165,8 +2216,9 @@ module Google
# Get information about a route. # Get information about a route.
# @param [String] name # @param [String] name
# The name of the route being retrieved. If needed, replace # The name of the route to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -2196,7 +2248,9 @@ module Google
# List routes. # List routes.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the routes should be listed. # The namespace from which the routes should be listed.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -2257,8 +2311,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the route being replaced. If needed, replace # The name of the route being replaced.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Route] route_object # @param [Google::Apis::RunV1::Route] route_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -2291,7 +2346,9 @@ module Google
# Create a service. # Create a service.
# @param [String] parent # @param [String] parent
# The project ID or project number in which this service should be created. # The namespace in which the service should be created.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -2326,8 +2383,9 @@ module Google
# This will cause the Service to stop serving traffic and will delete the # This will cause the Service to stop serving traffic and will delete the
# child entities like Routes, Configurations and Revisions. # child entities like Routes, Configurations and Revisions.
# @param [String] name # @param [String] name
# The name of the service being deleted. If needed, replace # The name of the service to delete.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
@ -2369,8 +2427,9 @@ module Google
# Get information about a service. # Get information about a service.
# @param [String] name # @param [String] name
# The name of the service being retrieved. If needed, replace # The name of the service to retrieve.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -2440,7 +2499,9 @@ module Google
# List services. # List services.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the services should be listed. # The namespace from which the services should be listed.
# For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
@ -2501,8 +2562,9 @@ module Google
# May provide metadata.resourceVersion to enforce update from last read for # May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control. # optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the service being replaced. If needed, replace # The name of the service being replaced.
# `namespace_id` with the project ID. # For Cloud Run (fully managed), replace `namespace_id` with the project ID
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -0,0 +1,37 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/sql_v1beta4/service.rb'
require 'google/apis/sql_v1beta4/classes.rb'
require 'google/apis/sql_v1beta4/representations.rb'
module Google
module Apis
# Cloud SQL Admin API
#
# API for Cloud SQL database instance management
#
# @see https://developers.google.com/cloud-sql/
module SqlV1beta4
VERSION = 'V1beta4'
REVISION = '20191005'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# Manage your Google SQL Service instances
AUTH_SQLSERVICE_ADMIN = 'https://www.googleapis.com/auth/sqlservice.admin'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/ # @see https://cloud.google.com/vision/
module VisionV1p1beta1 module VisionV1p1beta1
VERSION = 'V1p1beta1' VERSION = 'V1p1beta1'
REVISION = '20190927' REVISION = '20191011'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'