Autogenerated update (2019-12-23)

Update:
- androidenterprise_v1
- compute_alpha
- compute_beta
- compute_v1
- dns_v1
- dns_v2beta1
- doubleclickbidmanager_v1
- doubleclickbidmanager_v1_1
- games_management_v1management
- spanner_v1
This commit is contained in:
Google APIs 2019-12-23 00:37:06 +00:00
parent 7ab38cf1b5
commit b02f76663b
27 changed files with 5887 additions and 3400 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20191201'
REVISION = '20191211'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -46,8 +46,7 @@ module Google
class AdministratorWebToken
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#administratorWebToken".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -74,8 +73,7 @@ module Google
class AdministratorWebTokenSpec
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#administratorWebTokenSpec".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -246,8 +244,7 @@ module Google
class AppRestrictionsSchema
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#appRestrictionsSchema".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -509,8 +506,7 @@ module Google
# @return [String]
attr_accessor :approval_url
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#approvalUrlInfo".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -531,8 +527,7 @@ module Google
class AuthenticationToken
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#authenticationToken".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -636,8 +631,7 @@ module Google
class ConfigurationVariables
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#configurationVariables".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -675,8 +669,7 @@ module Google
# @return [String]
attr_accessor :android_id
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#device".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -795,8 +788,7 @@ module Google
# @return [String]
attr_accessor :account_state
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#deviceState".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -864,8 +856,7 @@ module Google
# @return [String]
attr_accessor :id
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#enterprise".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -904,8 +895,7 @@ module Google
# @return [String]
attr_accessor :account_email
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#enterpriseAccount".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -996,8 +986,7 @@ module Google
class Entitlement
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#entitlement".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -1088,8 +1077,7 @@ module Google
# @return [String]
attr_accessor :approval
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#groupLicense".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -1226,8 +1214,7 @@ module Google
# @return [String]
attr_accessor :install_state
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#install".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -1446,8 +1433,7 @@ module Google
# @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
attr_accessor :configuration_variables
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#managedConfiguration".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -1535,8 +1521,7 @@ module Google
class ManagedConfigurationsSettings
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#managedConfigurationsSettings".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -1847,8 +1832,7 @@ module Google
class NotificationSet
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#notificationSet".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -1924,8 +1908,7 @@ module Google
# @return [String]
attr_accessor :description
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#permission".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2078,8 +2061,7 @@ module Google
# @return [String]
attr_accessor :icon_url
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#product".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2270,8 +2252,7 @@ module Google
class ProductPermissions
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#productPermissions".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2350,8 +2331,7 @@ module Google
class ProductSet
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#productSet".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2563,8 +2543,7 @@ module Google
# @return [Google::Apis::AndroidenterpriseV1::ServiceAccountKey]
attr_accessor :key
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#serviceAccount".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2603,8 +2582,7 @@ module Google
# @return [String]
attr_accessor :id
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#serviceAccountKey".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2665,8 +2643,7 @@ module Google
# @return [String]
attr_accessor :completion_token
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#signupInfo".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2699,8 +2676,7 @@ module Google
# @return [String]
attr_accessor :id
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#storeCluster".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2755,8 +2731,7 @@ module Google
# @return [String]
attr_accessor :homepage_id
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#storeLayout".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2843,8 +2818,7 @@ module Google
# @return [String]
attr_accessor :id
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#storePage".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -2971,8 +2945,7 @@ module Google
# @return [String]
attr_accessor :id
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#user".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -3013,8 +2986,7 @@ module Google
class UserToken
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#userToken".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -3075,8 +3047,7 @@ module Google
class VariableSet
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#variableSet".
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind

View File

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

View File

@ -1355,9 +1355,10 @@ module Google
# @return [String]
attr_accessor :disk_name
# Specifies the size of the disk in base-2 GB. If not specified, the disk will
# be the same size as the image (usually 10GB). If specified, the size must be
# equal to or larger than 10GB.
# Specifies the size of the disk in base-2 GB. The size must be at least 10 GB.
# If you specify a sourceImage, which is required for boot disks, the default
# size is the size of the sourceImage. If you do not specify a sourceImage, the
# default disk size is 500 GB.
# Corresponds to the JSON property `diskSizeGb`
# @return [Fixnum]
attr_accessor :disk_size_gb
@ -3028,6 +3029,8 @@ module Google
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
# - A global backend service with the load_balancing_scheme set to
# INTERNAL_SELF_MANAGED.
# If sessionAffinity is not NONE, and this field is not set to >MAGLEV or
# RING_HASH, session affinity settings will not take effect.
# Corresponds to the JSON property `localityLbPolicy`
# @return [String]
attr_accessor :locality_lb_policy
@ -3124,8 +3127,9 @@ module Google
# HTTPS.
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, possible values are
# NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED,
# possible values are NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or
# HTTP_COOKIE.
# Corresponds to the JSON property `sessionAffinity`
# @return [String]
attr_accessor :session_affinity
@ -4043,6 +4047,22 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. For
# example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For example,`
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
# value reverts to `user:`emailid`` and the recovered user retains the role in
# the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
# 123456789012345678901`. If the service account is undeleted, this value
# reverts to `serviceAccount:`emailid`` and the undeleted service account
# retains the role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently deleted. For
# example, `admins@example.com?uid=123456789012345678901`. If the group is
# recovered, this value reverts to `group:`emailid`` and the recovered group
# retains the role in the binding.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
@ -5383,6 +5403,14 @@ module Google
# @return [String]
attr_accessor :source_snapshot_id
# The full Google Cloud Storage URI where the disk image is stored. This file
# must be a gzip-compressed tarball whose name ends in .tar.gz or virtual
# machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https:
# //storage.googleapis.com/.
# Corresponds to the JSON property `sourceStorageObject`
# @return [String]
attr_accessor :source_storage_object
# [Output Only] The status of disk creation. CREATING: Disk is provisioning.
# RESTORING: Source data is being copied into the disk. FAILED: Disk creation
# failed. READY: Disk is ready for use. DELETING: Disk is deleting.
@ -5452,6 +5480,7 @@ module Google
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
@source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
@source_storage_object = args[:source_storage_object] if args.key?(:source_storage_object)
@status = args[:status] if args.key?(:status)
@storage_type = args[:storage_type] if args.key?(:storage_type)
@type = args[:type] if args.key?(:type)
@ -7434,8 +7463,8 @@ module Google
# @return [String]
attr_accessor :ip_address
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
# AH, SCTP or ICMP.
# The IP protocol to which this rule applies. For protocol forwarding, valid
# options are TCP, UDP, ESP, AH, SCTP or ICMP.
# For Internal TCP/UDP Load Balancing, the load balancing scheme is INTERNAL,
# 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)
@ -7560,15 +7589,17 @@ module Google
attr_accessor :load_balancing_scheme
# Opaque filter criteria used by Loadbalancer to restrict routing configuration
# to a limited set xDS compliant clients. In their xDS requests to Loadbalancer,
# xDS clients present node metadata. If a match takes place, the relevant
# routing configuration is made available to those proxies.
# to a limited set of xDS compliant clients. In their xDS requests to
# Loadbalancer, xDS clients present node metadata. If a match takes place, the
# relevant configuration is made available to those proxies. Otherwise, all the
# resources (e.g. TargetHttpProxy, UrlMap) referenced by the ForwardingRule will
# not be visible to those proxies.
# For each metadataFilter in this list, if its filterMatchCriteria is set to
# MATCH_ANY, at least one of the filterLabels must match the corresponding label
# provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then
# all of its filterLabels must match with corresponding labels in the provided
# all of its filterLabels must match with corresponding labels provided in the
# metadata.
# metadataFilters specified here can be overridden by those specified in the
# metadataFilters specified here will be applifed before those specified in the
# UrlMap that this ForwardingRule references.
# metadataFilters only applies to Loadbalancers that have their
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
@ -7604,23 +7635,16 @@ module Google
# @return [String]
attr_accessor :network_tier
# This field is deprecated. See the port
# field.
# Corresponds to the JSON property `portRange`
# @return [String]
attr_accessor :port_range
# List of comma-separated ports. The forwarding rule forwards packets with
# matching destination ports. If the forwarding rule's loadBalancingScheme is
# EXTERNAL, and the forwarding rule references a target pool, specifying ports
# is optional. You can specify an unlimited number of ports, but they must be
# contiguous. If you omit ports, GCP forwards traffic on any port of the
# forwarding rule's protocol.
# If the forwarding rule's loadBalancingScheme is EXTERNAL, and the forwarding
# rule references a target HTTP proxy, target HTTPS proxy, target TCP proxy,
# target SSL proxy, or target VPN gateway, you must specify ports using the
# following constraints:
#
# When the load balancing scheme is EXTERNAL, INTERNAL_SELF_MANAGED and
# INTERNAL_MANAGED, you can specify a port_range. Use with a forwarding rule
# that points to a target proxy or a target pool. Do not use with a forwarding
# rule that points to a backend service. This field is used along with the
# target field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy,
# TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance.
# Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed
# to ports in the specified range will be forwarded to target. Forwarding rules
# with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
# Some types of forwarding target have constraints on the acceptable ports:
# - TargetHttpProxy: 80, 8080
# - TargetHttpsProxy: 443
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
@ -7628,16 +7652,20 @@ module Google
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
# 1883, 5222
# - TargetVpnGateway: 500, 4500
# If the forwarding rule's loadBalancingScheme is INTERNAL, you must specify
# Corresponds to the JSON property `portRange`
# @return [String]
attr_accessor :port_range
# This field is used along with the backend_service field for internal load
# balancing.
# When the load balancing scheme is INTERNAL, a list of ports can be configured,
# for example, ['80'], ['8000','9000']. Only packets addressed to these ports
# are forwarded to the backends configured with the forwarding rule.
# If the forwarding rule's loadBalancingScheme is INTERNAL, you can specify
# ports in one of the following ways:
# * A list of up to five ports, which can be non-contiguous * Keyword ALL, which
# causes the forwarding rule to forward traffic on any port of the forwarding
# rule's protocol.
# The ports field is used along with the target field for TargetHttpProxy,
# TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool,
# TargetInstance.
# Applicable only when IPProtocol is TCP, UDP, or SCTP. Forwarding rules with
# the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
# Corresponds to the JSON property `ports`
# @return [Array<String>]
attr_accessor :ports
@ -8173,32 +8201,34 @@ module Google
# @return [String]
attr_accessor :etag
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# 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**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the request,
# the resource, or both.
# **JSON example:**
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# 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**
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
# **YAML example:**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# 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](
# https://cloud.google.com/iam/docs).
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
# For a description of IAM and its features, see the [IAM documentation](https://
# cloud.google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::ComputeAlpha::Policy]
attr_accessor :policy
@ -8257,7 +8287,7 @@ module Google
attr_accessor :kind
# The path to be queried. This can be the default namespace ('/') or a nested
# namespace ('//') or a specified key ('//')
# namespace ('/\/') or a specified key ('/\/\')
# Corresponds to the JSON property `queryPath`
# @return [String]
attr_accessor :query_path
@ -9695,7 +9725,7 @@ module Google
attr_accessor :prefix_match
# A header with the contents of headerName must exist. The match takes place
# whether or not the request's header has a value or not.
# whether or not the request's header has a value.
# Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or
# rangeMatch must be set.
# Corresponds to the JSON property `presentMatch`
@ -10017,7 +10047,7 @@ module Google
# The queryParameterMatch matches if the value of the parameter exactly matches
# the contents of exactMatch.
# Only one of presentMatch, exactMatch and regexMatch must be set.
# Only one of presentMatch, exactMatch or regexMatch must be set.
# Corresponds to the JSON property `exactMatch`
# @return [String]
attr_accessor :exact_match
@ -10030,7 +10060,7 @@ module Google
# Specifies that the queryParameterMatch matches if the request contains the
# query parameter, irrespective of whether the parameter has a value or not.
# Only one of presentMatch, exactMatch and regexMatch must be set.
# Only one of presentMatch, exactMatch or regexMatch must be set.
# Corresponds to the JSON property `presentMatch`
# @return [Boolean]
attr_accessor :present_match
@ -10039,7 +10069,7 @@ module Google
# The queryParameterMatch matches if the value of the parameter matches the
# regular expression specified by regexMatch. For the regular expression grammar,
# please see en.cppreference.com/w/cpp/regex/ecmascript
# Only one of presentMatch, exactMatch and regexMatch must be set.
# Only one of presentMatch, exactMatch or regexMatch must be set.
# Corresponds to the JSON property `regexMatch`
# @return [String]
attr_accessor :regex_match
@ -10308,7 +10338,8 @@ module Google
# forwarding the request to the selected backend. If routeAction specifies any
# weightedBackendServices, service must not be set. Conversely if service is set,
# routeAction cannot contain any weightedBackendServices.
# Only one of routeAction or urlRedirect must be set.
# Only one of urlRedirect, service or routeAction.weightedBackendService must be
# set.
# Corresponds to the JSON property `routeAction`
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
attr_accessor :route_action
@ -10351,10 +10382,10 @@ module Google
class HttpRouteRuleMatch
include Google::Apis::Core::Hashable
# For satifying the matchRule condition, the path of the request must exactly
# For satisfying the matchRule condition, the path of the request must exactly
# match the value specified in fullPathMatch after removing any query parameters
# and anchor that may be part of the original URL.
# FullPathMatch must be between 1 and 1024 characters.
# fullPathMatch must be between 1 and 1024 characters.
# Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
# Corresponds to the JSON property `fullPathMatch`
# @return [String]
@ -10368,30 +10399,30 @@ module Google
# Specifies that prefixMatch and fullPathMatch matches are case sensitive.
# The default value is false.
# caseSensitive must not be used with regexMatch.
# ignoreCase must not be used with regexMatch.
# Corresponds to the JSON property `ignoreCase`
# @return [Boolean]
attr_accessor :ignore_case
alias_method :ignore_case?, :ignore_case
# Opaque filter criteria used by Loadbalancer to restrict routing configuration
# to a limited set xDS compliant clients. In their xDS requests to Loadbalancer,
# xDS clients present node metadata. If a match takes place, the relevant
# routing configuration is made available to those proxies.
# to a limited set of xDS compliant clients. In their xDS requests to
# Loadbalancer, xDS clients present node metadata. If a match takes place, the
# relevant routing configuration is made available to those proxies.
# For each metadataFilter in this list, if its filterMatchCriteria is set to
# MATCH_ANY, at least one of the filterLabels must match the corresponding label
# provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then
# all of its filterLabels must match with corresponding labels in the provided
# all of its filterLabels must match with corresponding labels provided in the
# metadata.
# metadataFilters specified here can be overrides those specified in
# ForwardingRule that refers to this UrlMap.
# metadataFilters specified here will be applied after those specified in
# ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to.
# metadataFilters only applies to Loadbalancers that have their
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
# Corresponds to the JSON property `metadataFilters`
# @return [Array<Google::Apis::ComputeAlpha::MetadataFilter>]
attr_accessor :metadata_filters
# For satifying the matchRule condition, the request's path must begin with the
# For satisfying the matchRule condition, the request's path must begin with the
# specified prefixMatch. prefixMatch must begin with a /.
# The value must be between 1 and 1024 characters.
# Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
@ -10405,7 +10436,7 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::HttpQueryParameterMatch>]
attr_accessor :query_parameter_matches
# For satifying the matchRule condition, the path of the request must satisfy
# For satisfying the matchRule condition, the path of the request must satisfy
# the regular expression specified in regexMatch after removing any query
# parameters and anchor supplied with the original URL. For regular expression
# grammar please see en.cppreference.com/w/cpp/regex/ecmascript
@ -11538,14 +11569,17 @@ module Google
end
end
# Represents an unmanaged Instance Group resource.
# Use unmanaged instance groups if you need to apply load balancing to groups of
# heterogeneous instances or if you need to manage the instances yourself. For
# more information, read Instance groups.
# For zonal unmanaged Instance Group, use instanceGroups resource.
# For regional unmanaged Instance Group, use regionInstanceGroups resource. (==
# resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) (==
# resource_for beta.regionInstanceGroups ==) (== resource_for v1.
# Represents an Instance Group resource.
# Instance Groups can be used to configure a target for load balancing.
# Instance groups can either be managed or unmanaged.
# To create managed instance groups, use the instanceGroupManager or
# regionInstanceGroupManager resource instead.
# Use zonal unmanaged instance groups if you need to apply load balancing to
# groups of heterogeneous instances or if you need to manage the instances
# yourself. You cannot create regional unmanaged instance groups.
# For more information, read Instance groups.
# (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==)
# (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.
# regionInstanceGroups ==)
class InstanceGroup
include Google::Apis::Core::Hashable
@ -14028,6 +14062,12 @@ module Google
# @return [Google::Apis::ComputeAlpha::ReservationAffinity]
attr_accessor :reservation_affinity
# Resource policies (names, not ULRs) applied to instances created from this
# templae.
# Corresponds to the JSON property `resourcePolicies`
# @return [Array<String>]
attr_accessor :resource_policies
# Sets the scheduling options for an Instance. NextID: 9
# Corresponds to the JSON property `scheduling`
# @return [Google::Apis::ComputeAlpha::Scheduling]
@ -14074,6 +14114,7 @@ module Google
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
@post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@scheduling = args[:scheduling] if args.key?(:scheduling)
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@ -17105,12 +17146,12 @@ module Google
# Specifies the number of such disks.
# Corresponds to the JSON property `diskCount`
# @return [String]
# @return [Fixnum]
attr_accessor :disk_count
# Specifies the size of the disk in base-2 GB.
# Corresponds to the JSON property `diskSizeGb`
# @return [String]
# @return [Fixnum]
attr_accessor :disk_size_gb
# Specifies the desired disk type on the node. This disk type must be a local
@ -18305,12 +18346,12 @@ module Google
# Opaque filter criteria used by loadbalancers to restrict routing configuration
# to a limited set of loadbalancing proxies. Proxies and sidecars involved in
# loadbalancing would typically present metadata to the loadbalancers which need
# to match criteria specified here. If a match takes place, the relevant routing
# to match criteria specified here. If a match takes place, the relevant
# configuration is made available to those proxies.
# For each metadataFilter in this list, if its filterMatchCriteria is set to
# MATCH_ANY, at least one of the filterLabels must match the corresponding label
# provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then
# all of its filterLabels must match with corresponding labels in the provided
# all of its filterLabels must match with corresponding labels provided in the
# metadata.
# An example for using metadataFilters would be: if loadbalancing involves
# Envoys, they will only receive routing configuration when values in
@ -18503,7 +18544,7 @@ module Google
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
# z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all
# z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all
# following characters (except for the last character) must be a dash, lowercase
# letter, or digit. The last character must be a lowercase letter or digit.
# Corresponds to the JSON property `name`
@ -18564,7 +18605,7 @@ module Google
end
end
# The network endpoint.
# The network endpoint. Next ID: 7
class NetworkEndpoint
include Google::Apis::Core::Hashable
@ -18620,7 +18661,7 @@ module Google
# Represents a collection of network endpoints.
# For more information read Setting up network endpoint groups in load balancing.
# (== resource_for v1.networkEndpointGroups ==) (== resource_for beta.
# networkEndpointGroups ==)
# networkEndpointGroups ==) Next ID: 21
class NetworkEndpointGroup
include Google::Apis::Core::Hashable
@ -19256,7 +19297,7 @@ module Google
class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
include Google::Apis::Core::Hashable
# The network endpoint.
# The network endpoint. Next ID: 7
# Corresponds to the JSON property `networkEndpoint`
# @return [Google::Apis::ComputeAlpha::NetworkEndpoint]
attr_accessor :network_endpoint
@ -19485,7 +19526,7 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::HealthStatusForNetworkEndpoint>]
attr_accessor :healths
# The network endpoint.
# The network endpoint. Next ID: 7
# Corresponds to the JSON property `networkEndpoint`
# @return [Google::Apis::ComputeAlpha::NetworkEndpoint]
attr_accessor :network_endpoint
@ -20015,11 +20056,11 @@ module Google
# instances physically separated from instances in other projects, or to group
# your instances together on the same host hardware. For more information, read
# Sole-tenant nodes. (== resource_for beta.nodeGroups ==) (== resource_for v1.
# nodeGroups ==) NextID: 16
# nodeGroups ==)
class NodeGroup
include Google::Apis::Core::Hashable
#
# Specifies how autoscaling should behave.
# Corresponds to the JSON property `autoscalingPolicy`
# @return [Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy]
attr_accessor :autoscaling_policy
@ -20053,7 +20094,8 @@ module Google
# @return [String]
attr_accessor :kind
#
# Specifies how to handle instances when a node in the group undergoes
# maintenance.
# Corresponds to the JSON property `maintenancePolicy`
# @return [String]
attr_accessor :maintenance_policy
@ -20245,17 +20287,17 @@ module Google
class NodeGroupAutoscalingPolicy
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `maxSize`
# The maximum number of nodes that the group should have.
# Corresponds to the JSON property `maxNodes`
# @return [Fixnum]
attr_accessor :max_size
attr_accessor :max_nodes
#
# Corresponds to the JSON property `minSize`
# The minimum number of nodes that the group should have.
# Corresponds to the JSON property `minNodes`
# @return [Fixnum]
attr_accessor :min_size
attr_accessor :min_nodes
#
# The autoscaling mode.
# Corresponds to the JSON property `mode`
# @return [String]
attr_accessor :mode
@ -20266,8 +20308,8 @@ module Google
# Update properties of this object
def update!(**args)
@max_size = args[:max_size] if args.key?(:max_size)
@min_size = args[:min_size] if args.key?(:min_size)
@max_nodes = args[:max_nodes] if args.key?(:max_nodes)
@min_nodes = args[:min_nodes] if args.key?(:min_nodes)
@mode = args[:mode] if args.key?(:mode)
end
end
@ -20734,7 +20776,7 @@ module Google
# Represent a sole-tenant Node Template resource.
# You can use a template to define properties for nodes in a node group. For
# more information, read Creating node groups and instances. (== resource_for
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==) (== NextID: 16 ==)
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
class NodeTemplate
include Google::Apis::Core::Hashable
@ -22736,11 +22778,6 @@ module Google
# @return [Google::Apis::ComputeAlpha::PacketMirroringForwardingRuleInfo]
attr_accessor :collector_ilb
#
# Corresponds to the JSON property `collectors`
# @return [Google::Apis::ComputeAlpha::PacketMirroringCollectorInfo]
attr_accessor :collectors
# [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
@ -22800,13 +22837,6 @@ module Google
# @return [Google::Apis::ComputeAlpha::PacketMirroringNetworkInfo]
attr_accessor :network
# PacketMirroring packetMatchers. Each packetMatcher specifies a CIRD filter
# that will apply to the source or destination IP in the IP header for the
# mirrored VM traffic.
# Corresponds to the JSON property `packetMatchers`
# @return [Array<Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher>]
attr_accessor :packet_matchers
# The priority of applying this configuration. Priority is used to break ties in
# cases where there is more than one matching rule. In the case of two rules
# that apply for a given Instance, the one with the lowest-numbered priority
@ -22838,7 +22868,6 @@ module Google
# Update properties of this object
def update!(**args)
@collector_ilb = args[:collector_ilb] if args.key?(:collector_ilb)
@collectors = args[:collectors] if args.key?(:collectors)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@enable = args[:enable] if args.key?(:enable)
@ -22848,7 +22877,6 @@ module Google
@mirrored_resources = args[:mirrored_resources] if args.key?(:mirrored_resources)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@packet_matchers = args[:packet_matchers] if args.key?(:packet_matchers)
@priority = args[:priority] if args.key?(:priority)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@ -22973,46 +23001,6 @@ module Google
end
end
#
class PacketMirroringCollectorInfo
include Google::Apis::Core::Hashable
# A set of virtual machines configured as destination of the mirrored traffic.
# They must live in zones contained in the same region as this packetMirroring.
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::ComputeAlpha::PacketMirroringCollectorInfoInstanceInfo>]
attr_accessor :instances
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
end
end
#
class PacketMirroringCollectorInfoInstanceInfo
include Google::Apis::Core::Hashable
# Resource URL to the virtual machine instance configured as destination of the
# mirrored traffic.
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@url = args[:url] if args.key?(:url)
end
end
#
class PacketMirroringFilter
include Google::Apis::Core::Hashable
@ -23301,26 +23289,6 @@ module Google
end
end
#
class PacketMirroringPacketMatcher
include Google::Apis::Core::Hashable
# IP CIDR range that applies as filter on the source or destination IP in the IP
# header. Only IPv4 is supported.
# Corresponds to the JSON property `cidrRange`
# @return [String]
attr_accessor :cidr_range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cidr_range = args[:cidr_range] if args.key?(:cidr_range)
end
end
#
class PacketMirroringsScopedList
include Google::Apis::Core::Hashable
@ -23484,10 +23452,9 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::PathRule>]
attr_accessor :path_rules
# The list of ordered HTTP route rules. Use this list instead of pathRules when
# advanced route matching and routing actions are desired. The order of
# specifying routeRules matters: the first rule that matches will cause its
# specified routing action to take effect.
# The list of HTTP route rules. Use this list instead of pathRules when advanced
# route matching and routing actions are desired. routeRules are evaluated in
# order of priority, from the lowest to highest number.
# Within a given pathMatcher, only one of pathRules or routeRules must be set.
# routeRules are not supported in UrlMaps intended for External Load balancers.
# Corresponds to the JSON property `routeRules`
@ -23718,32 +23685,34 @@ module Google
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# 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**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the request,
# the resource, or both.
# **JSON example:**
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# 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**
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
# **YAML example:**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# 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](
# https://cloud.google.com/iam/docs).
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
# For a description of IAM and its features, see the [IAM documentation](https://
# cloud.google.com/iam/docs/).
class Policy
include Google::Apis::Core::Hashable
@ -23752,9 +23721,9 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::AuditConfig>]
attr_accessor :audit_configs
# Associates a list of `members` to a `role`. Optionally may specify a `
# condition` that determines when binding is in effect. `bindings` with no
# members will result in an error.
# Associates a list of `members` to a `role`. Optionally, may specify a `
# condition` that determines how and when the `bindings` are applied. Each of
# the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::ComputeAlpha::Binding>]
attr_accessor :bindings
@ -23766,10 +23735,10 @@ module Google
# returned in the response to `getIamPolicy`, and systems are expected to put
# that etag in the request to `setIamPolicy` to ensure that their change will be
# applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. 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.
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
# to overwrite a version `3` policy with a version `1` policy, and all of the
# conditions in the version `3` policy are lost.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@ -23793,15 +23762,20 @@ module Google
attr_accessor :rules
# 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 that specify an invalid value are
# rejected.
# Operations affecting conditional bindings must specify version 3. This can be
# either setting a conditional policy, modifying a conditional binding, or
# 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.
# Any operation that affects conditional role bindings must specify version `3`.
# This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding * Adding a
# conditional role binding to a policy * Changing a conditional role binding in
# a policy * Removing any role binding, with or without a condition, from a
# policy that includes conditions
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
# to overwrite a version `3` policy with a version `1` policy, and all of the
# conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -26479,32 +26453,34 @@ module Google
# @return [String]
attr_accessor :etag
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# 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**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the request,
# the resource, or both.
# **JSON example:**
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# 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**
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
# **YAML example:**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# 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](
# https://cloud.google.com/iam/docs).
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
# For a description of IAM and its features, see the [IAM documentation](https://
# cloud.google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::ComputeAlpha::Policy]
attr_accessor :policy
@ -27485,11 +27461,10 @@ module Google
# @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`
# Specifies network collocation
# Corresponds to the JSON property `collocation`
# @return [String]
attr_accessor :distribution
attr_accessor :collocation
# Specifies network locality
# Corresponds to the JSON property `locality`
@ -27513,7 +27488,7 @@ module Google
# Update properties of this object
def update!(**args)
@availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
@distribution = args[:distribution] if args.key?(:distribution)
@collocation = args[:collocation] if args.key?(:collocation)
@locality = args[:locality] if args.key?(:locality)
@style = args[:style] if args.key?(:style)
@vm_count = args[:vm_count] if args.key?(:vm_count)
@ -29633,6 +29608,12 @@ module Google
# @return [Fixnum]
attr_accessor :disk_size_gb
# [Output Only] URL of the disk type resource. For example: projects/project/
# zones/zone/diskTypes/pd-standard or pd-ssd
# Corresponds to the JSON property `diskType`
# @return [String]
attr_accessor :disk_type
# A list of features to enable on the guest operating system. Applicable only
# for bootable images. Read Enabling guest operating system features to see a
# list of available options.
@ -29703,6 +29684,7 @@ module Google
@device_name = args[:device_name] if args.key?(:device_name)
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@disk_type = args[:disk_type] if args.key?(:disk_type)
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
@index = args[:index] if args.key?(:index)
@interface = args[:interface] if args.key?(:interface)
@ -30900,6 +30882,11 @@ module Google
# @return [Fixnum]
attr_accessor :disk_size_gb
# [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
# Corresponds to the JSON property `downloadBytes`
# @return [Fixnum]
attr_accessor :download_bytes
# [Output Only] A list of features to enable on the guest operating system.
# Applicable only for bootable images. Read Enabling guest operating system
# features to see a list of available options.
@ -31028,6 +31015,7 @@ module Google
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@ -31331,7 +31319,9 @@ module Google
# This SSL certificate resource also contains a private key. You can use SSL
# keys and certificates to secure connections to a load balancer. For more
# information, read Creating and Using SSL Certificates. (== resource_for beta.
# sslCertificates ==) (== resource_for v1.sslCertificates ==)
# sslCertificates ==) (== resource_for v1.sslCertificates ==) (== resource_for
# beta.regionSslCertificates ==) (== resource_for v1.regionSslCertificates ==)
# Next ID: 17
class SslCertificate
include Google::Apis::Core::Hashable
@ -33178,11 +33168,12 @@ module Google
end
# Represents a Target HTTP Proxy resource.
# A target HTTP proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTP proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
# =)
# A target HTTP proxy is a component of GCP HTTP load balancers. Forwarding
# rules reference a target HTTP proxy, and the target proxy then references a
# URL map. For more information, read Using Target Proxies and Forwarding rule
# concepts. (== resource_for beta.targetHttpProxies ==) (== resource_for v1.
# targetHttpProxies ==) (== resource_for beta.regionTargetHttpProxies ==) (==
# resource_for v1.regionTargetHttpProxies ==)
class TargetHttpProxy
include Google::Apis::Core::Hashable
@ -33635,11 +33626,12 @@ module Google
end
# Represents a Target HTTPS Proxy resource.
# A target HTTPS proxy is a component of certain types of load balancers. Global
# forwarding rules reference a target HTTPS proxy, and the target proxy then
# references a URL map. For more information, read Using Target Proxies. (==
# resource_for beta.targetHttpsProxies ==) (== resource_for v1.
# targetHttpsProxies ==)
# A target HTTPS proxy is a component of GCP HTTPS load balancers. Forwarding
# rules reference a target HTTPS proxy, and the target proxy then references a
# URL map. For more information, read Using Target Proxies and Forwarding rule
# concepts. (== resource_for beta.targetHttpsProxies ==) (== resource_for v1.
# targetHttpsProxies ==) (== resource_for beta.regionTargetHttpsProxies ==) (==
# resource_for v1.regionTargetHttpsProxies ==)
class TargetHttpsProxy
include Google::Apis::Core::Hashable
@ -37251,7 +37243,7 @@ module Google
end
end
# Represents a VPN gateway resource.
# Represents a VPN gateway resource. Next ID: 13
class VpnGateway
include Google::Apis::Core::Hashable
@ -38868,32 +38860,34 @@ module Google
# @return [String]
attr_accessor :etag
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
# members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# 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**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the request,
# the resource, or both.
# **JSON example:**
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
# 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**
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
# **YAML example:**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
# 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](
# https://cloud.google.com/iam/docs).
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
# For a description of IAM and its features, see the [IAM documentation](https://
# cloud.google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::ComputeAlpha::Policy]
attr_accessor :policy

View File

@ -2968,18 +2968,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringCollectorInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringCollectorInfoInstanceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3034,12 +3022,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringPacketMatcher
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PacketMirroringsScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -6529,6 +6511,7 @@ module Google
property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
property :source_snapshot_id, as: 'sourceSnapshotId'
property :source_storage_object, as: 'sourceStorageObject'
property :status, as: 'status'
property :storage_type, as: 'storageType'
property :type, as: 'type'
@ -8620,6 +8603,7 @@ module Google
property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeAlpha::ReservationAffinity, decorator: Google::Apis::ComputeAlpha::ReservationAffinity::Representation
collection :resource_policies, as: 'resourcePolicies'
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
@ -10176,8 +10160,8 @@ module Google
class NodeGroupAutoscalingPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_size, as: 'maxSize'
property :min_size, as: 'minSize'
property :max_nodes, as: 'maxNodes'
property :min_nodes, as: 'minNodes'
property :mode, as: 'mode'
end
end
@ -10826,8 +10810,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :collector_ilb, as: 'collectorIlb', class: Google::Apis::ComputeAlpha::PacketMirroringForwardingRuleInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringForwardingRuleInfo::Representation
property :collectors, as: 'collectors', class: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfo::Representation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :enable, as: 'enable'
@ -10840,8 +10822,6 @@ module Google
property :name, as: 'name'
property :network, as: 'network', class: Google::Apis::ComputeAlpha::PacketMirroringNetworkInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringNetworkInfo::Representation
collection :packet_matchers, as: 'packetMatchers', class: Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher, decorator: Google::Apis::ComputeAlpha::PacketMirroringPacketMatcher::Representation
property :priority, as: 'priority'
property :region, as: 'region'
property :self_link, as: 'selfLink'
@ -10881,21 +10861,6 @@ module Google
end
end
class PacketMirroringCollectorInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfoInstanceInfo, decorator: Google::Apis::ComputeAlpha::PacketMirroringCollectorInfoInstanceInfo::Representation
end
end
class PacketMirroringCollectorInfoInstanceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :url, as: 'url'
end
end
class PacketMirroringFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -10979,13 +10944,6 @@ module Google
end
end
class PacketMirroringPacketMatcher
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cidr_range, as: 'cidrRange'
end
end
class PacketMirroringsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -12098,7 +12056,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :availability_domain_count, as: 'availabilityDomainCount'
property :distribution, as: 'distribution'
property :collocation, as: 'collocation'
property :locality, as: 'locality'
property :style, as: 'style'
property :vm_count, as: 'vmCount'
@ -12625,6 +12583,7 @@ module Google
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :disk_type, as: 'diskType'
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
property :index, as: 'index'
@ -12956,6 +12915,7 @@ module Google
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
property :id, :numeric_string => true, as: 'id'

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1348,6 +1348,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerStatusStateful
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerStatusVersionTarget
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1390,12 +1396,48 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersDeletePerInstanceConfigsReq
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersListErrorsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersListManagedInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersListPerInstanceConfigsResp
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 InstanceGroupManagersPatchPerInstanceConfigsReq
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersRecreateInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1444,6 +1486,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersUpdatePerInstanceConfigsReq
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupsAddInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1540,6 +1588,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceManagedByIgmError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceManagedByIgmErrorInstanceActionDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceManagedByIgmErrorManagedInstanceError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MoveInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2248,6 +2314,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupAutoscalingPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2674,6 +2746,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PreservedState
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PreservedStatePreservedDisk
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Project
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2806,6 +2890,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagerDeleteInstanceConfigReq
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagerList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2824,6 +2914,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagerPatchInstanceConfigReq
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagerUpdateInstanceConfigReq
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersAbandonInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2848,6 +2950,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersListErrorsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersListInstanceConfigsResp
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 RegionInstanceGroupManagersListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3646,6 +3772,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class StatefulPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StatefulPolicyPreservedState
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StatefulPolicyPreservedStateDiskDevice
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Subnetwork
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -7085,6 +7229,8 @@ module Google
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :service_account, as: 'serviceAccount'
property :stateful_policy, as: 'statefulPolicy', class: Google::Apis::ComputeBeta::StatefulPolicy, decorator: Google::Apis::ComputeBeta::StatefulPolicy::Representation
property :status, as: 'status', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatus::Representation
collection :target_pools, as: 'targetPools'
@ -7198,11 +7344,20 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_stable, as: 'isStable'
property :stateful, as: 'stateful', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful::Representation
property :version_target, as: 'versionTarget', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusVersionTarget, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusVersionTarget::Representation
end
end
class InstanceGroupManagerStatusStateful
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_stateful, as: 'isStateful'
end
end
class InstanceGroupManagerStatusVersionTarget
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7220,6 +7375,7 @@ module Google
property :min_ready_sec, as: 'minReadySec'
property :minimal_action, as: 'minimalAction'
property :replacement_method, as: 'replacementMethod'
property :type, as: 'type'
end
end
@ -7265,6 +7421,22 @@ module Google
end
end
class InstanceGroupManagersDeletePerInstanceConfigsReq
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :names, as: 'names'
end
end
class InstanceGroupManagersListErrorsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceManagedByIgmError, decorator: Google::Apis::ComputeBeta::InstanceManagedByIgmError::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class InstanceGroupManagersListManagedInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7274,6 +7446,43 @@ module Google
end
end
class InstanceGroupManagersListPerInstanceConfigsResp
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
property :next_page_token, as: 'nextPageToken'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Warning, decorator: Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::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 InstanceGroupManagersPatchPerInstanceConfigsReq
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :per_instance_configs, as: 'perInstanceConfigs', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
end
end
class InstanceGroupManagersRecreateInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7340,6 +7549,14 @@ module Google
end
end
class InstanceGroupManagersUpdatePerInstanceConfigsReq
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :per_instance_configs, as: 'perInstanceConfigs', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
end
end
class InstanceGroupsAddInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7496,6 +7713,35 @@ module Google
end
end
class InstanceManagedByIgmError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error, as: 'error', class: Google::Apis::ComputeBeta::InstanceManagedByIgmErrorManagedInstanceError, decorator: Google::Apis::ComputeBeta::InstanceManagedByIgmErrorManagedInstanceError::Representation
property :instance_action_details, as: 'instanceActionDetails', class: Google::Apis::ComputeBeta::InstanceManagedByIgmErrorInstanceActionDetails, decorator: Google::Apis::ComputeBeta::InstanceManagedByIgmErrorInstanceActionDetails::Representation
property :timestamp, as: 'timestamp'
end
end
class InstanceManagedByIgmErrorInstanceActionDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
property :instance, as: 'instance'
property :version, as: 'version', class: Google::Apis::ComputeBeta::ManagedInstanceVersion, decorator: Google::Apis::ComputeBeta::ManagedInstanceVersion::Representation
end
end
class InstanceManagedByIgmErrorManagedInstanceError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :message, as: 'message'
end
end
class MoveInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7524,6 +7770,7 @@ module Google
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeBeta::ReservationAffinity, decorator: Google::Apis::ComputeBeta::ReservationAffinity::Representation
collection :resource_policies, as: 'resourcePolicies'
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeBeta::Scheduling, decorator: Google::Apis::ComputeBeta::Scheduling::Representation
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeBeta::ServiceAccount, decorator: Google::Apis::ComputeBeta::ServiceAccount::Representation
@ -8351,6 +8598,10 @@ module Google
property :instance_status, as: 'instanceStatus'
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Representation
property :preserved_state_from_config, as: 'preservedStateFromConfig', class: Google::Apis::ComputeBeta::PreservedState, decorator: Google::Apis::ComputeBeta::PreservedState::Representation
property :preserved_state_from_policy, as: 'preservedStateFromPolicy', class: Google::Apis::ComputeBeta::PreservedState, decorator: Google::Apis::ComputeBeta::PreservedState::Representation
property :version, as: 'version', class: Google::Apis::ComputeBeta::ManagedInstanceVersion, decorator: Google::Apis::ComputeBeta::ManagedInstanceVersion::Representation
end
@ -8754,10 +9005,14 @@ module Google
class NodeGroup
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :autoscaling_policy, as: 'autoscalingPolicy', class: Google::Apis::ComputeBeta::NodeGroupAutoscalingPolicy, decorator: Google::Apis::ComputeBeta::NodeGroupAutoscalingPolicy::Representation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :fingerprint, :base64 => true, as: 'fingerprint'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :maintenance_policy, as: 'maintenancePolicy'
property :name, as: 'name'
property :node_template, as: 'nodeTemplate'
property :self_link, as: 'selfLink'
@ -8799,6 +9054,15 @@ module Google
end
end
class NodeGroupAutoscalingPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_nodes, as: 'maxNodes'
property :min_nodes, as: 'minNodes'
property :mode, as: 'mode'
end
end
class NodeGroupList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8839,6 +9103,7 @@ module Google
property :node_type, as: 'nodeType'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeBeta::ServerBinding, decorator: Google::Apis::ComputeBeta::ServerBinding::Representation
property :server_id, as: 'serverId'
property :status, as: 'status'
end
end
@ -9548,6 +9813,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :fingerprint, :base64 => true, as: 'fingerprint'
property :name, as: 'name'
property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeBeta::PreservedState, decorator: Google::Apis::ComputeBeta::PreservedState::Representation
end
end
@ -9574,6 +9841,24 @@ module Google
end
end
class PreservedState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :disks, as: 'disks', class: Google::Apis::ComputeBeta::PreservedStatePreservedDisk, decorator: Google::Apis::ComputeBeta::PreservedStatePreservedDisk::Representation
hash :metadata, as: 'metadata'
end
end
class PreservedStatePreservedDisk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_delete, as: 'autoDelete'
property :mode, as: 'mode'
property :source, as: 'source'
end
end
class Project
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9799,6 +10084,13 @@ module Google
end
end
class RegionInstanceGroupManagerDeleteInstanceConfigReq
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :names, as: 'names'
end
end
class RegionInstanceGroupManagerList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9831,6 +10123,22 @@ module Google
end
end
class RegionInstanceGroupManagerPatchInstanceConfigReq
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :per_instance_configs, as: 'perInstanceConfigs', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
end
end
class RegionInstanceGroupManagerUpdateInstanceConfigReq
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :per_instance_configs, as: 'perInstanceConfigs', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
end
end
class RegionInstanceGroupManagersAbandonInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9862,6 +10170,44 @@ module Google
end
end
class RegionInstanceGroupManagersListErrorsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceManagedByIgmError, decorator: Google::Apis::ComputeBeta::InstanceManagedByIgmError::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class RegionInstanceGroupManagersListInstanceConfigsResp
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
property :next_page_token, as: 'nextPageToken'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Warning, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Warning::Datum, decorator: Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::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 RegionInstanceGroupManagersListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -10740,6 +11086,7 @@ module Google
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :disk_type, as: 'diskType'
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
property :index, as: 'index'
@ -10758,6 +11105,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :automatic_restart, as: 'automaticRestart'
property :min_node_cpus, as: 'minNodeCpus'
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeBeta::SchedulingNodeAffinity, decorator: Google::Apis::ComputeBeta::SchedulingNodeAffinity::Representation
property :on_host_maintenance, as: 'onHostMaintenance'
@ -11297,6 +11645,29 @@ module Google
end
end
class StatefulPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeBeta::StatefulPolicyPreservedState, decorator: Google::Apis::ComputeBeta::StatefulPolicyPreservedState::Representation
end
end
class StatefulPolicyPreservedState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :disks, as: 'disks', class: Google::Apis::ComputeBeta::StatefulPolicyPreservedStateDiskDevice, decorator: Google::Apis::ComputeBeta::StatefulPolicyPreservedStateDiskDevice::Representation
end
end
class StatefulPolicyPreservedStateDiskDevice
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_delete, as: 'autoDelete'
end
end
class Subnetwork
# @private
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/
module ComputeV1
VERSION = 'V1'
REVISION = '20191025'
REVISION = '20191125'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -724,6 +724,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ExchangedPeeringRoute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExchangedPeeringRoutesList
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 Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1288,6 +1312,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerStatusVersionTarget
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerUpdatePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1306,6 +1336,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersCreateInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersDeleteInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2428,6 +2464,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PerInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2584,6 +2626,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersCreateInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersDeleteInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4580,6 +4628,7 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :recommended_size, as: 'recommendedSize'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :status, as: 'status'
@ -4702,6 +4751,7 @@ module Google
property :max_num_replicas, as: 'maxNumReplicas'
property :min_num_replicas, as: 'minNumReplicas'
property :mode, as: 'mode'
end
end
@ -5515,6 +5565,49 @@ module Google
end
end
class ExchangedPeeringRoute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dest_range, as: 'destRange'
property :imported, as: 'imported'
property :next_hop_region, as: 'nextHopRegion'
property :priority, as: 'priority'
property :type, as: 'type'
end
end
class ExchangedPeeringRoutesList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeV1::ExchangedPeeringRoute, decorator: Google::Apis::ComputeV1::ExchangedPeeringRoute::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ExchangedPeeringRoutesList::Warning, decorator: Google::Apis::ComputeV1::ExchangedPeeringRoutesList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::ExchangedPeeringRoutesList::Warning::Datum, decorator: Google::Apis::ComputeV1::ExchangedPeeringRoutesList::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 Expr
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6677,12 +6770,22 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_stable, as: 'isStable'
property :version_target, as: 'versionTarget', class: Google::Apis::ComputeV1::InstanceGroupManagerStatusVersionTarget, decorator: Google::Apis::ComputeV1::InstanceGroupManagerStatusVersionTarget::Representation
end
end
class InstanceGroupManagerStatusVersionTarget
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_reached, as: 'isReached'
end
end
class InstanceGroupManagerUpdatePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_redistribution_type, as: 'instanceRedistributionType'
property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
@ -6709,6 +6812,14 @@ module Google
end
end
class InstanceGroupManagersCreateInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeV1::PerInstanceConfig, decorator: Google::Apis::ComputeV1::PerInstanceConfig::Representation
end
end
class InstanceGroupManagersDeleteInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8713,6 +8824,14 @@ module Google
end
end
class PerInstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fingerprint, :base64 => true, as: 'fingerprint'
property :name, as: 'name'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8984,6 +9103,14 @@ module Google
end
end
class RegionInstanceGroupManagersCreateInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeV1::PerInstanceConfig, decorator: Google::Apis::ComputeV1::PerInstanceConfig::Representation
end
end
class RegionInstanceGroupManagersDeleteInstancesRequest
# @private
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/cloud-dns
module DnsV1
VERSION = 'V1'
REVISION = '20190923'
REVISION = '20191205'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -412,6 +412,12 @@ module Google
# @return [Array<String>]
attr_accessor :name_servers
# The presence of this field indicates that DNS Peering is enabled for this zone.
# The value of this field contains the network to peer with.
# Corresponds to the JSON property `peeringConfig`
# @return [Google::Apis::DnsV1::ManagedZonePeeringConfig]
attr_accessor :peering_config
# For privately visible zones, the set of Virtual Private Cloud resources that
# the zone is visible from.
# Corresponds to the JSON property `privateVisibilityConfig`
@ -441,6 +447,7 @@ module Google
@name = args[:name] if args.key?(:name)
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
@name_servers = args[:name_servers] if args.key?(:name_servers)
@peering_config = args[:peering_config] if args.key?(:peering_config)
@private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
@visibility = args[:visibility] if args.key?(:visibility)
end
@ -584,6 +591,69 @@ module Google
end
end
#
class ManagedZonePeeringConfig
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "dns#
# managedZonePeeringConfig".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The network with which to peer.
# Corresponds to the JSON property `targetNetwork`
# @return [Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork]
attr_accessor :target_network
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@target_network = args[:target_network] if args.key?(:target_network)
end
end
#
class ManagedZonePeeringConfigTargetNetwork
include Google::Apis::Core::Hashable
# The time at which the zone was deactivated, in RFC 3339 date-time format. An
# empty string indicates that the peering connection is active. The producer
# network can deactivate a zone. The zone is automatically deactivated if the
# producer network that the zone targeted is deleted. Output only.
# Corresponds to the JSON property `deactivateTime`
# @return [String]
attr_accessor :deactivate_time
# Identifies what kind of resource this is. Value: the fixed string "dns#
# managedZonePeeringConfigTargetNetwork".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The fully qualified URL of the VPC network to forward queries to. This should
# be formatted like https://www.googleapis.com/compute/v1/projects/`project`/
# global/networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@deactivate_time = args[:deactivate_time] if args.key?(:deactivate_time)
@kind = args[:kind] if args.key?(:kind)
@network_url = args[:network_url] if args.key?(:network_url)
end
end
#
class ManagedZonePrivateVisibilityConfig
include Google::Apis::Core::Hashable

View File

@ -88,6 +88,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePeeringConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePeeringConfigTargetNetwork
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePrivateVisibilityConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -287,6 +299,8 @@ module Google
property :name, as: 'name'
property :name_server_set, as: 'nameServerSet'
collection :name_servers, as: 'nameServers'
property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV1::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV1::ManagedZonePeeringConfig::Representation
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig::Representation
property :visibility, as: 'visibility'
@ -333,6 +347,24 @@ module Google
end
end
class ManagedZonePeeringConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork::Representation
end
end
class ManagedZonePeeringConfigTargetNetwork
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deactivate_time, as: 'deactivateTime'
property :kind, as: 'kind'
property :network_url, as: 'networkUrl'
end
end
class ManagedZonePrivateVisibilityConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns
module DnsV2beta1
VERSION = 'V2beta1'
REVISION = '20190923'
REVISION = '20191205'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -412,6 +412,12 @@ module Google
# @return [Array<String>]
attr_accessor :name_servers
# The presence of this field indicates that DNS Peering is enabled for this zone.
# The value of this field contains the network to peer with.
# Corresponds to the JSON property `peeringConfig`
# @return [Google::Apis::DnsV2beta1::ManagedZonePeeringConfig]
attr_accessor :peering_config
# For privately visible zones, the set of Virtual Private Cloud resources that
# the zone is visible from.
# Corresponds to the JSON property `privateVisibilityConfig`
@ -441,6 +447,7 @@ module Google
@name = args[:name] if args.key?(:name)
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
@name_servers = args[:name_servers] if args.key?(:name_servers)
@peering_config = args[:peering_config] if args.key?(:peering_config)
@private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
@visibility = args[:visibility] if args.key?(:visibility)
end
@ -584,6 +591,69 @@ module Google
end
end
#
class ManagedZonePeeringConfig
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "dns#
# managedZonePeeringConfig".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The network with which to peer.
# Corresponds to the JSON property `targetNetwork`
# @return [Google::Apis::DnsV2beta1::ManagedZonePeeringConfigTargetNetwork]
attr_accessor :target_network
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@target_network = args[:target_network] if args.key?(:target_network)
end
end
#
class ManagedZonePeeringConfigTargetNetwork
include Google::Apis::Core::Hashable
# The time at which the zone was deactivated, in RFC 3339 date-time format. An
# empty string indicates that the peering connection is active. The producer
# network can deactivate a zone. The zone is automatically deactivated if the
# producer network that the zone targeted is deleted. Output only.
# Corresponds to the JSON property `deactivateTime`
# @return [String]
attr_accessor :deactivate_time
# Identifies what kind of resource this is. Value: the fixed string "dns#
# managedZonePeeringConfigTargetNetwork".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The fully qualified URL of the VPC network to forward queries to. This should
# be formatted like https://www.googleapis.com/compute/v1/projects/`project`/
# global/networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@deactivate_time = args[:deactivate_time] if args.key?(:deactivate_time)
@kind = args[:kind] if args.key?(:kind)
@network_url = args[:network_url] if args.key?(:network_url)
end
end
#
class ManagedZonePrivateVisibilityConfig
include Google::Apis::Core::Hashable

View File

@ -88,6 +88,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePeeringConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePeeringConfigTargetNetwork
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePrivateVisibilityConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -287,6 +299,8 @@ module Google
property :name, as: 'name'
property :name_server_set, as: 'nameServerSet'
collection :name_servers, as: 'nameServers'
property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV2beta1::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV2beta1::ManagedZonePeeringConfig::Representation
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig::Representation
property :visibility, as: 'visibility'
@ -333,6 +347,24 @@ module Google
end
end
class ManagedZonePeeringConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV2beta1::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV2beta1::ManagedZonePeeringConfigTargetNetwork::Representation
end
end
class ManagedZonePeeringConfigTargetNetwork
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deactivate_time, as: 'deactivateTime'
property :kind, as: 'kind'
property :network_url, as: 'networkUrl'
end
end
class ManagedZonePrivateVisibilityConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20191107'
REVISION = '20191210'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1_1
VERSION = 'V1_1'
REVISION = '20191112'
REVISION = '20191210'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesManagementV1management
VERSION = 'V1management'
REVISION = '20191017'
REVISION = '20191205'
# Create, edit, and delete your Google Play Games activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'

View File

@ -257,8 +257,7 @@ module Google
# Resets all player progress on the event with the given ID for the currently
# authenticated player. This method is only accessible to whitelisted tester
# accounts for your application. All quests for this player that use the event
# will also be reset.
# accounts for your application.
# @param [String] event_id
# The ID of the event.
# @param [String] fields
@ -291,7 +290,7 @@ module Google
# Resets all player progress on all events for the currently authenticated
# player. This method is only accessible to whitelisted tester accounts for your
# application. All quests for this player will also be reset.
# application.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -320,8 +319,7 @@ module Google
end
# Resets all draft events for all players. This method is only available to user
# accounts for your developer console. All quests that use any of these events
# will also be reset.
# accounts for your developer console.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -351,7 +349,7 @@ module Google
# Resets the event with the given ID for all players. This method is only
# available to user accounts for your developer console. Only draft events can
# be reset. All quests that use the event will also be reset.
# be reset.
# @param [String] event_id
# The ID of the event.
# @param [String] fields
@ -384,7 +382,7 @@ module Google
# Resets events with the given IDs for all players. This method is only
# available to user accounts for your developer console. Only draft events may
# be reset. All quests that use any of the events will also be reset.
# be reset.
# @param [Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest] events_reset_multiple_for_all_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

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

View File

@ -327,6 +327,23 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For
# example, `alice@example.com?uid=123456789012345678901`. If the user is
# recovered, this value reverts to `user:`emailid`` and the recovered user
# retains the role in the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example,
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to
# `serviceAccount:`emailid`` and the undeleted service account retains the
# role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
# the group is recovered, this value reverts to `group:`emailid`` and the
# recovered group retains the role in the binding.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
@ -1233,14 +1250,17 @@ module Google
# @return [String]
attr_accessor :display_name
# Output only. The endpoint URIs based on the instance config.
# For example, instances located in a specific cloud region (or multi region)
# such as nam3, would have a nam3 specific endpoint URI.
# This URI is to be used implictly by SDK clients, with fallback to default
# URI. These endpoints are intended to optimize the network routing between
# the client and the instance's serving resources.
# If multiple endpoints are present, client may establish connections using
# any of the given URIs.
# Output only. A set of endpoint URIs based on your instance config
# that you can use instead of the global endpoint `spanner.googleapis.com`.
# For example, if your instance config is `us-central1` (a regional config
# in Iowa), then your instance specific endpoints may include
# `us-central1-spanner.googleapis.com`. By calling these endpoints instead of
# the global endpoint, you optimize network routing which could reduce
# network latency.
# The client libraries, JDBC drivers, and other SDK clients automatically
# call these instance specific endpoints.
# If you are using DNS whitelists, firewalls, or filtering to control access
# to endpoints, make sure you grant access to `*spanner.googleapis.com`.
# Corresponds to the JSON property `endpointUris`
# @return [Array<String>]
attr_accessor :endpoint_uris
@ -2142,16 +2162,18 @@ module Google
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# 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**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -2169,13 +2191,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
# ",
# `
# `
# ]
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -2190,14 +2214,16 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs).
# [IAM documentation](https://cloud.google.com/iam/docs/).
class Policy
include Google::Apis::Core::Hashable
# Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error.
# Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines how and when the `bindings` are applied. Each
# of the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::SpannerV1::Binding>]
attr_accessor :bindings
@ -2209,26 +2235,31 @@ module Google
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if the incoming policy version does not
# meet the requirements for modifying the stored policy.
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Operations affecting conditional bindings must specify version 3. This can
# be either setting a conditional policy, modifying a conditional binding,
# or removing a binding (conditional or unconditional) 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`, version compliance
# checks against the stored policy is skipped.
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
# are rejected.
# Any operation that affects conditional role bindings must specify version
# `3`. This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding
# * Adding a conditional role binding to a policy
# * Changing a conditional role binding in a policy
# * Removing any role binding, with or without a condition, from a policy
# that includes conditions
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -2662,16 +2693,18 @@ module Google
class SetIamPolicyRequest
include Google::Apis::Core::Hashable
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# 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**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -2689,13 +2722,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
# ",
# `
# `
# ]
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -2710,8 +2745,10 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs).
# [IAM documentation](https://cloud.google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::SpannerV1::Policy]
attr_accessor :policy
@ -3817,11 +3854,9 @@ module Google
class UpdateInstanceRequest
include Google::Apis::Core::Hashable
# Required. A mask specifying which fields in [][google.spanner.admin.instance.
# v1.UpdateInstanceRequest.instance] should be updated.
# Required. A mask specifying which fields in Instance should be updated.
# The field mask must always be specified; this prevents any future fields in
# [][google.spanner.admin.instance.v1.Instance] from being erased accidentally
# by clients that do not know
# Instance from being erased accidentally by clients that do not know
# about them.
# Corresponds to the JSON property `fieldMask`
# @return [String]

View File

@ -222,11 +222,9 @@ module Google
# Required. The name of the requested instance. Values are of the form
# `projects/<project>/instances/<instance>`.
# @param [String] field_mask
# If field_mask is present, specifies the subset of [][google.spanner.admin.
# instance.v1.Instance] fields that
# If field_mask is present, specifies the subset of Instance fields that
# should be returned.
# If absent, all [][google.spanner.admin.instance.v1.Instance] fields are
# returned.
# If absent, all Instance fields are returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user