diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 52850f552..970ff71b9 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -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' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index 1b857e329..6a23ef885 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -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 diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index 72ef8c948..dae954b2c 100644 --- a/generated/google/apis/compute_alpha.rb +++ b/generated/google/apis/compute_alpha.rb @@ -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' diff --git a/generated/google/apis/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb index b588a2df5..000e9d0ad 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -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] 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] 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] 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] + 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] 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] - 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] - 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] 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] 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] 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 diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index 6892f2494..a5de75f8b 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -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' diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb index 10300b454..7b43e2326 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -51,8 +51,7 @@ module Google @batch_path = 'batch/compute/alpha' end - # Retrieves an aggregated list of accelerator types. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of accelerator types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -72,6 +71,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -108,12 +114,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_accelerator_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -123,8 +130,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified accelerator type. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified accelerator type. # @param [String] project # Project ID for this request. # @param [String] zone @@ -163,8 +169,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of accelerator types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of accelerator types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -238,8 +243,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of addresses. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -259,6 +263,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -295,12 +306,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_address_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_address_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/addresses', options) command.response_representation = Google::Apis::ComputeAlpha::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -310,8 +322,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified address resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -362,8 +373,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified address resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -403,7 +413,7 @@ module Google end # Creates an address resource in the specified project by using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -454,8 +464,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of addresses contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of addresses contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -530,7 +539,7 @@ module Google end # Sets the labels on an Address. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -584,8 +593,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -627,8 +635,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of autoscalers. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of autoscalers. # @param [String] project # Project ID for this request. # @param [String] filter @@ -648,6 +655,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -684,12 +698,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_autoscaler_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_autoscaler_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/autoscalers', options) command.response_representation = Google::Apis::ComputeAlpha::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AutoscalerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -699,7 +714,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] zone @@ -751,8 +766,7 @@ module Google end # Returns the specified autoscaler resource. Gets a list of available - # autoscalers by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # autoscalers by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -792,7 +806,7 @@ module Google end # Creates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -843,8 +857,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of autoscalers contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of autoscalers contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -920,7 +933,7 @@ module Google # Updates an autoscaler in the specified project using the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -974,8 +987,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1018,7 +1030,7 @@ module Google end # Updates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1072,8 +1084,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a key for validating requests with signed URLs for this backend bucket. (= - # = suppress_warning http-rest-shadowed ==) + # Adds a key for validating requests with signed URLs for this backend bucket. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1125,8 +1136,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified BackendBucket resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified BackendBucket resource. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1175,7 +1185,6 @@ module Google end # Deletes a key for validating requests with signed URLs for this backend bucket. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1228,7 +1237,7 @@ module Google end # Returns the specified BackendBucket resource. Gets a list of available backend - # buckets by making a list() request. (== suppress_warning http-rest-shadowed ==) + # buckets by making a list() request. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1265,7 +1274,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -1305,7 +1314,7 @@ module Google end # Creates a BackendBucket resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::BackendBucket] backend_bucket_object @@ -1354,7 +1363,7 @@ module Google end # Retrieves the list of BackendBucket resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1427,7 +1436,7 @@ module Google # Updates the specified BackendBucket resource with the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1479,7 +1488,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -1518,8 +1527,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -1559,7 +1567,7 @@ module Google end # Updates the specified BackendBucket resource with the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1610,8 +1618,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a key for validating requests with signed URLs for this backend service. ( - # == suppress_warning http-rest-shadowed ==) + # Adds a key for validating requests with signed URLs for this backend service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1664,7 +1671,7 @@ module Google end # Retrieves the list of all BackendService resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -1684,6 +1691,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -1720,12 +1734,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/backendServices', options) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -1735,8 +1750,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified BackendService resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified BackendService resource. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1785,7 +1799,7 @@ module Google end # Deletes a key for validating requests with signed URLs for this backend - # service. (== suppress_warning http-rest-shadowed ==) + # service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1838,7 +1852,7 @@ module Google end # Returns the specified BackendService resource. Gets a list of available - # backend services. (== suppress_warning http-rest-shadowed ==) + # backend services. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1874,8 +1888,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for this BackendService. (== - # suppress_warning http-rest-shadowed ==) + # Gets the most recent health check results for this BackendService. # @param [String] project # @param [String] backend_service # Name of the BackendService resource to which the queried instance belongs. @@ -1916,7 +1929,7 @@ module Google # Creates a BackendService resource in the specified project using the data # included in the request. There are several restrictions and guidelines to keep # in mind when creating a backend service. Read Restrictions and Guidelines for - # more information. (== suppress_warning http-rest-shadowed ==) + # more information. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::BackendService] backend_service_object @@ -1965,7 +1978,7 @@ module Google end # Retrieves the list of BackendService resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2040,7 +2053,7 @@ module Google # request. There are several restrictions and guidelines to keep in mind when # updating a backend service. Read Restrictions and Guidelines for more # information. This method supports PATCH semantics and uses the JSON merge - # patch format and processing rules. (== suppress_warning http-rest-shadowed ==) + # patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -2091,8 +2104,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the security policy for the specified backend service. (== - # suppress_warning http-rest-shadowed ==) + # Sets the security policy for the specified backend service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -2144,8 +2156,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -2187,7 +2198,7 @@ module Google # Updates the specified BackendService resource with the data included in the # request. There are several restrictions and guidelines to keep in mind when # updating a backend service. Read Restrictions and Guidelines for more - # information. (== suppress_warning http-rest-shadowed ==) + # information. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -2238,8 +2249,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of disk types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of disk types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2259,6 +2269,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -2295,12 +2312,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_disk_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_disk_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/diskTypes', options) command.response_representation = Google::Apis::ComputeAlpha::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -2311,7 +2329,7 @@ module Google end # Returns the specified disk type. Gets a list of available disk types by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2350,8 +2368,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of disk types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2426,8 +2443,7 @@ module Google end # Adds existing resource policies to a disk. You can only add one policy which - # will be applied to this disk for scheduling snapshot creation. (== - # suppress_warning http-rest-shadowed ==) + # will be applied to this disk for scheduling snapshot creation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2481,8 +2497,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of persistent disks. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of persistent disks. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2502,6 +2517,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -2538,12 +2560,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_disk_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_disk_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/disks', options) command.response_representation = Google::Apis::ComputeAlpha::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -2553,8 +2576,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a snapshot of a specified persistent disk. (== suppress_warning http- - # rest-shadowed ==) + # Creates a snapshot of a specified persistent disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2616,7 +2638,6 @@ module Google # Deletes the specified persistent disk. Deleting a disk removes its data # permanently and is irreversible. However, deleting a disk does not delete any # snapshots previously made from the disk. You must separately delete snapshots. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] zone @@ -2668,7 +2689,7 @@ module Google end # Returns a specified persistent disk. Gets a list of available persistent disks - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2708,7 +2729,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2753,8 +2774,7 @@ module Google # Creates a persistent disk in the specified project using the data in the # request. You can create a disk with a sourceImage, a sourceSnapshot, or create # an empty 500 GB data disk by omitting all properties. You can also create a - # disk that is larger than the default size by specifying the sizeGb property. (= - # = suppress_warning http-rest-shadowed ==) + # disk that is larger than the default size by specifying the sizeGb property. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2808,8 +2828,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of persistent disks contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of persistent disks contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2883,8 +2902,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes resource policies from a disk. (== suppress_warning http-rest-shadowed - # ==) + # Removes resource policies from a disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2939,7 +2957,7 @@ module Google end # Resizes the specified persistent disk. You can only increase the size of the - # disk. (== suppress_warning http-rest-shadowed ==) + # disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2994,7 +3012,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -3037,7 +3055,7 @@ module Google end # Sets the labels on a disk. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -3091,8 +3109,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -3134,8 +3151,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified externalVpnGateway. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified externalVpnGateway. # @param [String] project # Project ID for this request. # @param [String] external_vpn_gateway @@ -3184,8 +3200,7 @@ module Google end # Returns the specified externalVpnGateway. Get a list of available - # externalVpnGateways by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # externalVpnGateways by making a list() request. # @param [String] project # Project ID for this request. # @param [String] external_vpn_gateway @@ -3222,7 +3237,7 @@ module Google end # Creates a ExternalVpnGateway in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ExternalVpnGateway] external_vpn_gateway_object @@ -3270,8 +3285,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of ExternalVpnGateway available to the specified project. (= - # = suppress_warning http-rest-shadowed ==) + # Retrieves the list of ExternalVpnGateway available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3343,7 +3357,7 @@ module Google end # Sets the labels on an ExternalVpnGateway. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3382,8 +3396,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3422,7 +3435,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified firewall. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3470,7 +3483,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified firewall. (== suppress_warning http-rest-shadowed ==) + # Returns the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3507,7 +3520,7 @@ module Google end # Creates a firewall rule in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::Firewall] firewall_object @@ -3555,8 +3568,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of firewall rules available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of firewall rules available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3629,7 +3641,7 @@ module Google # Updates the specified firewall rule with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3680,8 +3692,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3722,8 +3733,7 @@ module Google # Updates the specified firewall rule with the data included in the request. # Note that all fields will be updated if using PUT, even fields that are not - # specified. To update individual fields, please use PATCH instead. (== - # suppress_warning http-rest-shadowed ==) + # specified. To update individual fields, please use PATCH instead. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3774,8 +3784,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of forwarding rules. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of forwarding rules. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3795,6 +3804,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -3831,12 +3847,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_forwarding_rule_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_forwarding_rule_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -3846,8 +3863,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified ForwardingRule resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified ForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -3898,8 +3914,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified ForwardingRule resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified ForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -3939,7 +3954,7 @@ module Google end # Creates a ForwardingRule resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -3991,7 +4006,7 @@ module Google end # Retrieves a list of ForwardingRule resources available to the specified - # project and region. (== suppress_warning http-rest-shadowed ==) + # project and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -4067,8 +4082,7 @@ module Google # Updates the specified forwarding rule with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. Currently, you can only patch the network_tier field. (== - # suppress_warning http-rest-shadowed ==) + # processing rules. Currently, you can only patch the network_tier field. # @param [String] project # Project ID for this request. # @param [String] region @@ -4123,8 +4137,7 @@ module Google end # Sets the labels on the specified resource. To learn more about labels, read - # the Labeling Resources documentation. (== suppress_warning http-rest-shadowed = - # =) + # the Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -4179,7 +4192,7 @@ module Google end # Changes target URL for forwarding rule. The new target should be of the same - # type as the old target. (== suppress_warning http-rest-shadowed ==) + # type as the old target. # @param [String] project # Project ID for this request. # @param [String] region @@ -4233,8 +4246,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -4276,8 +4288,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified address resource. # @param [String] project # Project ID for this request. # @param [String] address @@ -4326,7 +4337,7 @@ module Google end # Returns the specified address resource. Gets a list of available addresses by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] address @@ -4363,7 +4374,7 @@ module Google end # Creates an address resource in the specified project by using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::Address] address_object @@ -4411,8 +4422,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of global addresses. (== suppress_warning http-rest-shadowed = - # =) + # Retrieves a list of global addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4484,7 +4494,7 @@ module Google end # Sets the labels on a GlobalAddress. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4523,8 +4533,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4563,8 +4572,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified GlobalForwardingRule resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified GlobalForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4613,8 +4621,7 @@ module Google end # Returns the specified GlobalForwardingRule resource. Gets a list of available - # forwarding rules by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # forwarding rules by making a list() request. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4651,7 +4658,7 @@ module Google end # Creates a GlobalForwardingRule resource in the specified project using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ForwardingRule] forwarding_rule_object @@ -4700,7 +4707,7 @@ module Google end # Retrieves a list of GlobalForwardingRule resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4773,8 +4780,7 @@ module Google # Updates the specified forwarding rule with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. Currently, you can only patch the network_tier field. (== - # suppress_warning http-rest-shadowed ==) + # processing rules. Currently, you can only patch the network_tier field. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4826,8 +4832,7 @@ module Google end # Sets the labels on the specified resource. To learn more about labels, read - # the Labeling Resources documentation. (== suppress_warning http-rest-shadowed = - # =) + # the Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4867,8 +4872,7 @@ module Google end # Changes target URL for the GlobalForwardingRule resource. The new target - # should be of the same type as the old target. (== suppress_warning http-rest- - # shadowed ==) + # should be of the same type as the old target. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4919,8 +4923,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4959,8 +4962,7 @@ module Google execute_or_queue_command(command, &block) end - # Attach a network endpoint to the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Attach a network endpoint to the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] network_endpoint_group @@ -5013,8 +5015,7 @@ module Google end # Deletes the specified network endpoint group.Note that the NEG cannot be - # deleted if there are backend services referencing it. (== suppress_warning - # http-rest-shadowed ==) + # deleted if there are backend services referencing it. # @param [String] project # Project ID for this request. # @param [String] network_endpoint_group @@ -5063,8 +5064,7 @@ module Google execute_or_queue_command(command, &block) end - # Detach the network endpoint from the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Detach the network endpoint from the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] network_endpoint_group @@ -5117,8 +5117,7 @@ module Google end # Returns the specified network endpoint group. Gets a list of available network - # endpoint groups by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # endpoint groups by making a list() request. # @param [String] project # Project ID for this request. # @param [String] network_endpoint_group @@ -5155,7 +5154,7 @@ module Google end # Creates a network endpoint group in the specified project using the parameters - # that are included in the request. (== suppress_warning http-rest-shadowed ==) + # that are included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::NetworkEndpointGroup] network_endpoint_group_object @@ -5204,7 +5203,7 @@ module Google end # Retrieves the list of network endpoint groups that are located in the - # specified project. (== suppress_warning http-rest-shadowed ==) + # specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5275,8 +5274,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the network endpoints in the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Lists the network endpoints in the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] network_endpoint_group @@ -5351,8 +5349,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of all operations. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of all operations. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5372,6 +5369,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -5408,12 +5412,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_global_operation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_global_operation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/operations', options) command.response_representation = Google::Apis::ComputeAlpha::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -5423,8 +5428,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Operations resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified Operations resource. # @param [String] project # Project ID for this request. # @param [String] operation @@ -5459,7 +5463,7 @@ module Google end # Retrieves the specified Operations resource. Gets a list of operations by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] operation @@ -5496,7 +5500,6 @@ module Google end # Retrieves a list of Operation resources contained within the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -5574,8 +5577,7 @@ module Google # operation, which may be DONE or still in progress. 3. Is best-effort: a. The # server can wait less than the default deadline or zero seconds, in overload # situations. b. There is no guarantee that the operation is actually done when - # returns. 4. User should be prepared to retry if the operation is not DONE. (== - # suppress_warning http-rest-shadowed ==) + # returns. 4. User should be prepared to retry if the operation is not DONE. # @param [String] project # Project ID for this request. # @param [String] operation @@ -5611,8 +5613,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Operations resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified Operations resource. # @param [String] operation # Name of the Operations resource to delete. # @param [String] parent_id @@ -5647,7 +5648,7 @@ module Google end # Retrieves the specified Operations resource. Gets a list of operations by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] operation # Name of the Operations resource to return. # @param [String] parent_id @@ -5684,7 +5685,7 @@ module Google end # Retrieves a list of Operation resources contained within the specified - # organization. (== suppress_warning http-rest-shadowed ==) + # organization. # @param [String] filter # A filter expression that filters resources listed in the response. The # expression must specify the field name, a comparison operator, and the value @@ -5762,8 +5763,7 @@ module Google # operation, which may be DONE or still in progress. 3. Is best-effort: a. The # server can wait less than the default deadline or zero seconds, in overload # situations. b. There is no guarantee that the operation is actually done when - # returns. 4. User should be prepared to retry if the operation is not DONE. (== - # suppress_warning http-rest-shadowed ==) + # returns. 4. User should be prepared to retry if the operation is not DONE. # @param [String] operation # Name of the Operations resource to return. # @param [String] parent_id @@ -5799,8 +5799,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified global PublicDelegatedPrefix. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified global PublicDelegatedPrefix. # @param [String] project # Project ID for this request. # @param [String] public_delegated_prefix @@ -5848,8 +5847,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified global PublicDelegatedPrefix resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns the specified global PublicDelegatedPrefix resource. # @param [String] project # Project ID for this request. # @param [String] public_delegated_prefix @@ -5886,8 +5884,7 @@ module Google end # Creates a global PublicDelegatedPrefix in the specified project using the - # parameters that are included in the request. (== suppress_warning http-rest- - # shadowed ==) + # parameters that are included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::PublicDelegatedPrefix] public_delegated_prefix_object @@ -5935,8 +5932,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the global PublicDelegatedPrefixes for a project. (== suppress_warning - # http-rest-shadowed ==) + # Lists the global PublicDelegatedPrefixes for a project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6009,8 +6005,7 @@ module Google # Patches the specified global PublicDelegatedPrefix resource with the data # included in the request. This method supports PATCH semantics and uses JSON - # merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] public_delegated_prefix @@ -6062,7 +6057,7 @@ module Google end # Retrieves the list of all HealthCheck resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -6082,6 +6077,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -6118,12 +6120,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_health_check_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/healthChecks', options) command.response_representation = Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthChecksAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -6133,8 +6136,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -6183,7 +6185,7 @@ module Google end # Returns the specified HealthCheck resource. Gets a list of available health - # checks by making a list() request. (== suppress_warning http-rest-shadowed ==) + # checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -6220,7 +6222,7 @@ module Google end # Creates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::HealthCheck] health_check_object @@ -6269,7 +6271,6 @@ module Google end # Retrieves the list of HealthCheck resources available to the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -6342,8 +6343,7 @@ module Google # Updates a HealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -6394,8 +6394,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -6435,7 +6434,7 @@ module Google end # Updates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -6486,8 +6485,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HttpHealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HttpHealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -6536,8 +6534,7 @@ module Google end # Returns the specified HttpHealthCheck resource. Gets a list of available HTTP - # health checks by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # health checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -6574,7 +6571,7 @@ module Google end # Creates a HttpHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::HttpHealthCheck] http_health_check_object @@ -6623,7 +6620,7 @@ module Google end # Retrieves the list of HttpHealthCheck resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6696,8 +6693,7 @@ module Google # Updates a HttpHealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -6748,8 +6744,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -6789,7 +6784,7 @@ module Google end # Updates a HttpHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -6840,8 +6835,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HttpsHealthCheck resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified HttpsHealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -6890,8 +6884,7 @@ module Google end # Returns the specified HttpsHealthCheck resource. Gets a list of available - # HTTPS health checks by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # HTTPS health checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -6928,7 +6921,7 @@ module Google end # Creates a HttpsHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::HttpsHealthCheck] https_health_check_object @@ -6977,7 +6970,7 @@ module Google end # Retrieves the list of HttpsHealthCheck resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -7050,8 +7043,7 @@ module Google # Updates a HttpsHealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -7102,8 +7094,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7143,7 +7134,7 @@ module Google end # Updates a HttpsHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -7194,7 +7185,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified image. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified image. # @param [String] project # Project ID for this request. # @param [String] image @@ -7243,8 +7234,7 @@ module Google end # Sets the deprecation status of an image. - # If an empty request body is given, clears the deprecation status instead. (== - # suppress_warning http-rest-shadowed ==) + # If an empty request body is given, clears the deprecation status instead. # @param [String] project # Project ID for this request. # @param [String] image @@ -7296,7 +7286,7 @@ module Google end # Returns the specified image. Gets a list of available images by making a list() - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] image @@ -7333,7 +7323,6 @@ module Google end # Returns the latest image that is part of an image family and is not deprecated. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] family @@ -7370,7 +7359,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7410,7 +7399,7 @@ module Google end # Creates an image in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::Image] image_object @@ -7466,7 +7455,7 @@ module Google # get any images that belong to other projects, including publicly-available # images, like Debian 8. If you want to get a list of publicly-available images, # use this method to make a request to the respective image project, such as - # debian-cloud or windows-cloud. (== suppress_warning http-rest-shadowed ==) + # debian-cloud or windows-cloud. # @param [String] project # Project ID for this request. # @param [String] filter @@ -7538,7 +7527,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7578,7 +7567,7 @@ module Google end # Sets the labels on an image. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7617,8 +7606,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7668,8 +7656,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7723,8 +7710,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of managed instance groups and groups them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of managed instance groups and groups them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -7744,6 +7730,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -7780,12 +7773,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_instance_group_manager_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_instance_group_manager_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -7796,8 +7790,7 @@ module Google end # Apply changes to selected instances on the managed instance group. This method - # can be used to apply new overrides and/or new versions. (== suppress_warning - # http-rest-shadowed ==) + # can be used to apply new overrides and/or new versions. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7845,7 +7838,7 @@ module Google # instances operation is marked DONE if the createInstances request is # successful. The underlying actions take additional time. You must separately # verify the status of the creating or actions with the listmanagedinstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7901,8 +7894,7 @@ module Google # Deletes the specified managed instance group and all of the instances in that # group. Note that the instance group must not belong to a backend service. Read - # Deleting an instance group for more information. (== suppress_warning http- - # rest-shadowed ==) + # Deleting an instance group for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7963,8 +7955,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8018,8 +8009,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes selected per-instance configs for the managed instance group. (== - # suppress_warning http-rest-shadowed ==) + # Deletes selected per-instance configs for the managed instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8063,8 +8053,7 @@ module Google end # Returns all of the details about the specified managed instance group. Gets a - # list of available managed instance groups by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available managed instance groups by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8110,8 +8099,7 @@ module Google # You must separately verify the status of the individual instances with the # listmanagedinstances method. # A managed instance group can have up to 1000 VM instances per group. Please - # contact Cloud Support if you need an increase in this limit. (== - # suppress_warning http-rest-shadowed ==) + # contact Cloud Support if you need an increase in this limit. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8163,7 +8151,7 @@ module Google end # Retrieves a list of managed instance groups that are contained within the - # specified project and zone. (== suppress_warning http-rest-shadowed ==) + # specified project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8238,7 +8226,7 @@ module Google end # Lists all errors thrown by actions on instances for a given managed instance - # group. (== suppress_warning http-rest-shadowed ==) + # group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8322,8 +8310,7 @@ module Google # list has a currentAction, which indicates the action that the managed instance # group is performing on the instance. For example, if the group is still # creating an instance, the currentAction is CREATING. If a previous action - # failed, the list displays the errors for that failed action. (== - # suppress_warning http-rest-shadowed ==) + # failed, the list displays the errors for that failed action. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8400,8 +8387,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all of the per-instance configs defined for the managed instance group. ( - # == suppress_warning http-rest-shadowed ==) + # Lists all of the per-instance configs defined for the managed instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8484,8 +8470,7 @@ module Google # the instances in the group are still in the process of being patched. You must # separately verify the status of the individual instances with the # listManagedInstances method. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8541,8 +8526,7 @@ module Google # Insert or patch (for the ones that already exist) per-instance configs for the # managed instance group. perInstanceConfig.instance serves as a key used to - # distinguish whether to perform insert or patch. (== suppress_warning http-rest- - # shadowed ==) + # distinguish whether to perform insert or patch. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8606,8 +8590,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8676,8 +8659,7 @@ module Google # This list is subject to change. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8744,8 +8726,7 @@ module Google # listmanagedinstances method. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8800,7 +8781,7 @@ module Google end # Modifies the autohealing policies. [Deprecated] This method is deprecated. - # Please use Patch instead. (== suppress_warning http-rest-shadowed ==) + # Please use Patch instead. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8856,7 +8837,7 @@ module Google # Specifies the instance template to use when creating new instances in this # group. The templates for existing instances in the group do not change unless - # you recreate them. (== suppress_warning http-rest-shadowed ==) + # you recreate them. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8915,8 +8896,7 @@ module Google # instances in the managed instance group. This operation is marked DONE when # you make the request even if the instances have not yet been added to their # target pools. The change might take some time to apply to all of the instances - # in the group depending on the size of the group. (== suppress_warning http- - # rest-shadowed ==) + # in the group depending on the size of the group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8970,8 +8950,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9017,7 +8996,7 @@ module Google # request. This operation is marked as DONE when the group is updated even if # the instances in the group have not yet been updated. You must separately # verify the status of the individual instances with the listManagedInstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9073,8 +9052,7 @@ module Google # Insert or update (for the ones that already exist) per-instance configs for # the managed instance group. perInstanceConfig.instance serves as a key used to - # distinguish whether to perform insert or patch. (== suppress_warning http-rest- - # shadowed ==) + # distinguish whether to perform insert or patch. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9131,7 +9109,7 @@ module Google # Adds a list of instances to the specified instance group. All of the instances # in the instance group must be in the same network/subnetwork. Read Adding - # instances for more information. (== suppress_warning http-rest-shadowed ==) + # instances for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9185,8 +9163,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instance groups and sorts them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of instance groups and sorts them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -9206,6 +9183,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -9242,12 +9226,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_instance_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_instance_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -9259,8 +9244,7 @@ module Google # Deletes the specified instance group. The instances in the group are not # deleted. Note that instance group must not belong to a backend service. Read - # Deleting an instance group for more information. (== suppress_warning http- - # rest-shadowed ==) + # Deleting an instance group for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9312,7 +9296,7 @@ module Google end # Returns the specified instance group. Gets a list of available instance groups - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9352,7 +9336,7 @@ module Google end # Creates an instance group in the specified project using the parameters that - # are included in the request. (== suppress_warning http-rest-shadowed ==) + # are included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9404,7 +9388,7 @@ module Google end # Retrieves the list of instance groups that are located in the specified - # project and zone. (== suppress_warning http-rest-shadowed ==) + # project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9478,8 +9462,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the instances in the specified instance group. (== suppress_warning http- - # rest-shadowed ==) + # Lists the instances in the specified instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9564,8 +9547,7 @@ module Google # delete those instances. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration before - # the VM instance is removed or deleted. (== suppress_warning http-rest-shadowed - # ==) + # the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9619,8 +9601,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the named ports for the specified instance group. (== suppress_warning - # http-rest-shadowed ==) + # Sets the named ports for the specified instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9674,8 +9655,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9719,8 +9699,7 @@ module Google # Deletes the specified instance template. Deleting an instance template is # permanent and cannot be undone. It is not possible to delete templates that - # are already in use by a managed instance group. (== suppress_warning http-rest- - # shadowed ==) + # are already in use by a managed instance group. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -9769,8 +9748,7 @@ module Google end # Returns the specified instance template. Gets a list of available instance - # templates by making a list() request. (== suppress_warning http-rest-shadowed = - # =) + # templates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -9807,7 +9785,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -9849,8 +9827,7 @@ module Google # Creates an instance template in the specified project using the data that is # included in the request. If you are creating a new template to update an # existing instance group, your new instance template must use the same network - # or, if applicable, the same subnetwork as the original template. (== - # suppress_warning http-rest-shadowed ==) + # or, if applicable, the same subnetwork as the original template. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::InstanceTemplate] instance_template_object @@ -9899,7 +9876,7 @@ module Google end # Retrieves a list of instance templates that are contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -9971,7 +9948,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -10010,8 +9987,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -10050,8 +10026,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds an access config to an instance's network interface. (== suppress_warning - # http-rest-shadowed ==) + # Adds an access config to an instance's network interface. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10110,7 +10085,7 @@ module Google # Adds existing resource policies to an instance. You can only add one policy # right now which will be applied to this instance for scheduling live - # migrations. (== suppress_warning http-rest-shadowed ==) + # migrations. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10165,7 +10140,7 @@ module Google end # Retrieves aggregated list of all of the instances in your project across all - # regions and zones. (== suppress_warning http-rest-shadowed ==) + # regions and zones. # @param [String] project # Project ID for this request. # @param [String] filter @@ -10185,6 +10160,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -10221,12 +10203,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instances', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -10239,7 +10222,7 @@ module Google # Attaches an existing Disk resource to an instance. You must first create the # disk before you can attach it. It is not possible to create and attach a disk # at the same time. For more information, read Adding a persistent disk to your - # instance. (== suppress_warning http-rest-shadowed ==) + # instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10298,7 +10281,7 @@ module Google end # Deletes the specified Instance resource. For more information, see Stopping or - # Deleting an Instance. (== suppress_warning http-rest-shadowed ==) + # Deleting an Instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10349,8 +10332,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an access config from an instance's network interface. (== - # suppress_warning http-rest-shadowed ==) + # Deletes an access config from an instance's network interface. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10407,7 +10389,7 @@ module Google execute_or_queue_command(command, &block) end - # Detaches a disk from an instance. (== suppress_warning http-rest-shadowed ==) + # Detaches a disk from an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10463,7 +10445,7 @@ module Google end # Returns the specified Instance resource. Gets a list of available instances by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10502,8 +10484,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns effective firewalls applied to an interface of the instance. (== - # suppress_warning http-rest-shadowed ==) + # Returns effective firewalls applied to an interface of the instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10545,8 +10526,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified guest attributes entry. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified guest attributes entry. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10592,7 +10572,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10634,8 +10614,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the last 1 MB of serial port output from the specified instance. (== - # suppress_warning http-rest-shadowed ==) + # Returns the last 1 MB of serial port output from the specified instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10683,8 +10662,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the Shielded Instance Identity of an instance (== suppress_warning - # http-rest-shadowed ==) + # Returns the Shielded Instance Identity of an instance # @param [String] project # Project ID for this request. # @param [String] zone @@ -10723,8 +10701,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the Shielded VM Identity of an instance (== suppress_warning http-rest- - # shadowed ==) + # Returns the Shielded VM Identity of an instance # @param [String] project # Project ID for this request. # @param [String] zone @@ -10764,7 +10741,7 @@ module Google end # Creates an instance resource in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10833,8 +10810,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instances contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of instances contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10909,8 +10885,7 @@ module Google end # Retrieves the list of referrers to instances contained within the specified - # zone. For more information, read Viewing Referrers to VM Instances. (== - # suppress_warning http-rest-shadowed ==) + # zone. For more information, read Viewing Referrers to VM Instances. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10988,8 +10963,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes resource policies from an instance. (== suppress_warning http-rest- - # shadowed ==) + # Removes resource policies from an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11044,8 +11018,7 @@ module Google end # Performs a reset on the instance. This is a hard reset the VM does not do a - # graceful shutdown. For more information, see Resetting an instance. (== - # suppress_warning http-rest-shadowed ==) + # graceful shutdown. For more information, see Resetting an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11096,8 +11069,7 @@ module Google execute_or_queue_command(command, &block) end - # Resumes an instance that was suspended using the instances().suspend method. (= - # = suppress_warning http-rest-shadowed ==) + # Resumes an instance that was suspended using the instances().suspend method. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11151,8 +11123,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets deletion protection on the instance. (== suppress_warning http-rest- - # shadowed ==) + # Sets deletion protection on the instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11206,8 +11177,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the auto-delete flag for a disk attached to an instance. (== - # suppress_warning http-rest-shadowed ==) + # Sets the auto-delete flag for a disk attached to an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11266,7 +11236,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11309,7 +11279,7 @@ module Google end # Sets labels on an instance. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11364,7 +11334,7 @@ module Google end # Changes the number and/or type of accelerator for a stopped instance to the - # values specified in the request. (== suppress_warning http-rest-shadowed ==) + # values specified in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11419,7 +11389,7 @@ module Google end # Changes the machine type for a stopped instance to the machine type specified - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11473,8 +11443,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets metadata for the specified instance to the data included in the request. ( - # == suppress_warning http-rest-shadowed ==) + # Sets metadata for the specified instance to the data included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11530,7 +11499,7 @@ module Google # Changes the minimum CPU platform that this instance should use. This method # can only be called on a stopped instance. For more information, read - # Specifying a Minimum CPU Platform. (== suppress_warning http-rest-shadowed ==) + # Specifying a Minimum CPU Platform. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11584,7 +11553,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets name of an instance. (== suppress_warning http-rest-shadowed ==) + # Sets name of an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11638,8 +11607,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets an instance's scheduling options. (== suppress_warning http-rest-shadowed - # ==) + # Sets an instance's scheduling options. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11694,8 +11662,7 @@ module Google end # Sets the service account on the instance. For more information, read Changing - # the service account and access scopes for an instance. (== suppress_warning - # http-rest-shadowed ==) + # the service account and access scopes for an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11751,8 +11718,7 @@ module Google # Sets the Shielded Instance integrity policy for an instance. You can only use # this method on a running instance. This method supports PATCH semantics and - # uses the JSON merge patch format and processing rules. (== suppress_warning - # http-rest-shadowed ==) + # uses the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11808,8 +11774,7 @@ module Google # Sets the Shielded VM integrity policy for a VM instance. You can only use this # method on a running VM instance. This method supports PATCH semantics and uses - # the JSON merge patch format and processing rules. (== suppress_warning http- - # rest-shadowed ==) + # the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11864,7 +11829,7 @@ module Google end # Sets network tags for the specified instance to the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11918,8 +11883,7 @@ module Google execute_or_queue_command(command, &block) end - # Simulates a maintenance event on the instance. (== suppress_warning http-rest- - # shadowed ==) + # Simulates a maintenance event on the instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11959,8 +11923,7 @@ module Google end # Starts an instance that was stopped using the instances().stop method. For - # more information, see Restart an instance. (== suppress_warning http-rest- - # shadowed ==) + # more information, see Restart an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12012,8 +11975,7 @@ module Google end # Starts an instance that was stopped using the instances().stop method. For - # more information, see Restart an instance. (== suppress_warning http-rest- - # shadowed ==) + # more information, see Restart an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12071,8 +12033,7 @@ module Google # the instance at a later time. Stopped instances do not incur VM usage charges # while they are stopped. However, resources that the VM is using, such as # persistent disks and static IP addresses, will continue to be charged until - # they are deleted. For more information, see Stopping an instance. (== - # suppress_warning http-rest-shadowed ==) + # they are deleted. For more information, see Stopping an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12132,7 +12093,7 @@ module Google # instances incur reduced per-minute, virtual machine usage charges while they # are suspended. Any resources the virtual machine is using, such as persistent # disks and static IP addresses, will continue to be charged until they are - # deleted. (== suppress_warning http-rest-shadowed ==) + # deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12187,8 +12148,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12230,10 +12190,73 @@ module Google execute_or_queue_command(command, &block) end + # Updates an instance. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] instance + # Name of the instance resource to update. + # @param [Google::Apis::ComputeAlpha::Instance] instance_object + # @param [String] minimal_action + # If specified, this action or higher level action is performed on the instance + # irrespective of what action is required for the update to take effect. If not + # specified, then Compute Engine acts based on the minimum action required. + # @param [String] most_disruptive_allowed_action + # If specified, Compute Engine returns an error if the update requires a higher + # action to be applied to the instance. If not specified, the default will be + # REFRESH. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_instance(project, zone, instance, instance_object = nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/zones/{zone}/instances/{instance}', options) + command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation + command.request_object = instance_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instance'] = instance unless instance.nil? + command.query['minimalAction'] = minimal_action unless minimal_action.nil? + command.query['mostDisruptiveAllowedAction'] = most_disruptive_allowed_action unless most_disruptive_allowed_action.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates the specified access config from an instance's network interface with # the data included in the request. This method supports PATCH semantics and - # uses the JSON merge patch format and processing rules. (== suppress_warning - # http-rest-shadowed ==) + # uses the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12292,8 +12315,7 @@ module Google # Updates the Display config for a VM instance. You can only use this method on # a stopped VM instance. This method supports PATCH semantics and uses the JSON - # merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12347,8 +12369,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates an instance's network interface. This method follows PATCH semantics. ( - # == suppress_warning http-rest-shadowed ==) + # Updates an instance's network interface. This method follows PATCH semantics. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12407,8 +12428,7 @@ module Google # Updates the Shielded Instance config for an instance. You can only use this # method on a stopped instance. This method supports PATCH semantics and uses - # the JSON merge patch format and processing rules. (== suppress_warning http- - # rest-shadowed ==) + # the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12464,8 +12484,7 @@ module Google # Updates the Shielded VM config for a VM instance. You can only use this method # on a stopped VM instance. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12519,8 +12538,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of interconnect attachments. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves an aggregated list of interconnect attachments. # @param [String] project # Project ID for this request. # @param [String] filter @@ -12540,6 +12558,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -12576,12 +12601,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_interconnect_attachment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -12591,8 +12617,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified interconnect attachment. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified interconnect attachment. # @param [String] project # Project ID for this request. # @param [String] region @@ -12643,8 +12668,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified interconnect attachment. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified interconnect attachment. # @param [String] project # Project ID for this request. # @param [String] region @@ -12684,7 +12708,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -12727,7 +12751,7 @@ module Google end # Creates an InterconnectAttachment in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -12782,7 +12806,7 @@ module Google end # Retrieves the list of interconnect attachments contained within the specified - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -12858,7 +12882,7 @@ module Google # Updates the specified interconnect attachment with the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -12913,7 +12937,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -12956,8 +12980,7 @@ module Google end # Sets the labels on an InterconnectAttachment. To learn more about labels, read - # the Labeling Resources documentation. (== suppress_warning http-rest-shadowed = - # =) + # the Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -13011,8 +13034,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -13055,8 +13077,7 @@ module Google end # Returns the details for the specified interconnect location. Gets a list of - # available interconnect locations by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # available interconnect locations by making a list() request. # @param [String] project # Project ID for this request. # @param [String] interconnect_location @@ -13093,7 +13114,7 @@ module Google end # Retrieves the list of interconnect locations available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -13164,8 +13185,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13204,7 +13224,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified interconnect. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified interconnect. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -13253,7 +13273,7 @@ module Google end # Returns the specified interconnect. Get a list of available interconnects by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -13289,8 +13309,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the interconnectDiagnostics for the specified interconnect. (== - # suppress_warning http-rest-shadowed ==) + # Returns the interconnectDiagnostics for the specified interconnect. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -13327,7 +13346,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13367,7 +13386,7 @@ module Google end # Creates a Interconnect in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::Interconnect] interconnect_object @@ -13415,8 +13434,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of interconnect available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of interconnect available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -13489,7 +13507,7 @@ module Google # Updates the specified interconnect with the data included in the request. This # method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -13541,7 +13559,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13581,7 +13599,7 @@ module Google end # Sets the labels on an Interconnect. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13620,8 +13638,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13661,8 +13678,7 @@ module Google end # Return a specified license code. License codes are mirrored across all - # projects that have permissions to read the License Code. (== suppress_warning - # http-rest-shadowed ==) + # projects that have permissions to read the License Code. # @param [String] project # Project ID for this request. # @param [String] license_code @@ -13699,7 +13715,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13739,7 +13755,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13778,8 +13794,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13818,7 +13833,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified license. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified license. # @param [String] project # Project ID for this request. # @param [String] license @@ -13866,8 +13881,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified License resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified License resource. # @param [String] project # Project ID for this request. # @param [String] license @@ -13904,7 +13918,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13943,8 +13957,7 @@ module Google execute_or_queue_command(command, &block) end - # Create a License resource in the specified project. (== suppress_warning http- - # rest-shadowed ==) + # Create a License resource in the specified project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::License] license_object @@ -13996,8 +14009,7 @@ module Google # does not get any licenses that belong to other projects, including licenses # attached to publicly-available images, like Debian 9. If you want to get a # list of publicly-available licenses, use this method to make a request to the - # respective image project, such as debian-cloud or windows-cloud. (== - # suppress_warning http-rest-shadowed ==) + # respective image project, such as debian-cloud or windows-cloud. # @param [String] project # Project ID for this request. # @param [String] filter @@ -14069,7 +14081,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -14108,8 +14120,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -14149,7 +14160,7 @@ module Google end # Deletes the specified machine image. Deleting a machine image is permanent and - # cannot be undone. (== suppress_warning http-rest-shadowed ==) + # cannot be undone. # @param [String] project # Project ID for this request. # @param [String] machine_image @@ -14198,7 +14209,7 @@ module Google end # Returns the specified machine image. Gets a list of available machine images - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] machine_image @@ -14235,7 +14246,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -14277,8 +14288,7 @@ module Google # Creates a machine image in the specified project using the data that is # included in the request. If you are creating a new machine image to update an # existing instance, your new machine image should use the same network or, if - # applicable, the same subnetwork as the original instance. (== suppress_warning - # http-rest-shadowed ==) + # applicable, the same subnetwork as the original instance. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::MachineImage] machine_image_object @@ -14330,7 +14340,7 @@ module Google end # Retrieves a list of machine images that are contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -14402,7 +14412,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -14441,8 +14451,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -14481,8 +14490,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of machine types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of machine types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -14502,6 +14510,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -14538,12 +14553,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_machine_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_machine_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/machineTypes', options) command.response_representation = Google::Apis::ComputeAlpha::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -14554,7 +14570,7 @@ module Google end # Returns the specified machine type. Gets a list of available machine types by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14593,8 +14609,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of machine types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of machine types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14668,8 +14683,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of network endpoint groups and sorts them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of network endpoint groups and sorts them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -14689,6 +14703,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -14725,12 +14746,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -14740,8 +14762,7 @@ module Google execute_or_queue_command(command, &block) end - # Attach a list of network endpoints to the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Attach a list of network endpoints to the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14800,7 +14821,7 @@ module Google # Deletes the specified network endpoint group. The network endpoints in the NEG # and the VM instances they belong to are not terminated when the NEG is deleted. # Note that the NEG cannot be deleted if there are backend services referencing - # it. (== suppress_warning http-rest-shadowed ==) + # it. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14853,8 +14874,7 @@ module Google execute_or_queue_command(command, &block) end - # Detach a list of network endpoints from the specified network endpoint group. ( - # == suppress_warning http-rest-shadowed ==) + # Detach a list of network endpoints from the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14911,8 +14931,7 @@ module Google end # Returns the specified network endpoint group. Gets a list of available network - # endpoint groups by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # endpoint groups by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14953,7 +14972,7 @@ module Google end # Creates a network endpoint group in the specified project using the parameters - # that are included in the request. (== suppress_warning http-rest-shadowed ==) + # that are included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -15006,7 +15025,7 @@ module Google end # Retrieves the list of network endpoint groups that are located in the - # specified project and zone. (== suppress_warning http-rest-shadowed ==) + # specified project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -15081,8 +15100,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the network endpoints in the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Lists the network endpoints in the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -15164,8 +15182,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -15207,8 +15224,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a peering to the specified network. (== suppress_warning http-rest- - # shadowed ==) + # Adds a peering to the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -15259,7 +15275,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified network. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -15308,7 +15324,7 @@ module Google end # Returns the specified network. Gets a list of available networks by making a - # list() request. (== suppress_warning http-rest-shadowed ==) + # list() request. # @param [String] project # Project ID for this request. # @param [String] network @@ -15344,8 +15360,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the effective firewalls on a given network. (== suppress_warning http- - # rest-shadowed ==) + # Returns the effective firewalls on a given network. # @param [String] project # Project ID for this request. # @param [String] network @@ -15382,7 +15397,7 @@ module Google end # Creates a network in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::Network] network_object @@ -15430,8 +15445,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of networks available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of networks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -15502,8 +15516,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the internal IP addresses in the specified network. (== suppress_warning - # http-rest-shadowed ==) + # Lists the internal IP addresses in the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -15581,8 +15594,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the internal IP owners in the specified network. (== suppress_warning - # http-rest-shadowed ==) + # Lists the internal IP owners in the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -15671,8 +15683,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the peering routes exchanged over peering connection. (== - # suppress_warning http-rest-shadowed ==) + # Lists the peering routes exchanged over peering connection. # @param [String] project # Project ID for this request. # @param [String] network @@ -15757,8 +15768,7 @@ module Google end # Patches the specified network with the data included in the request. Only the - # following fields can be modified: routingConfig.routingMode. (== - # suppress_warning http-rest-shadowed ==) + # following fields can be modified: routingConfig.routingMode. # @param [String] project # Project ID for this request. # @param [String] network @@ -15809,8 +15819,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes a peering from the specified network. (== suppress_warning http-rest- - # shadowed ==) + # Removes a peering from the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -15861,8 +15870,7 @@ module Google execute_or_queue_command(command, &block) end - # Switches the network mode from auto subnet mode to custom subnet mode. (== - # suppress_warning http-rest-shadowed ==) + # Switches the network mode from auto subnet mode to custom subnet mode. # @param [String] project # Project ID for this request. # @param [String] network @@ -15910,8 +15918,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -15952,8 +15959,7 @@ module Google # Updates the specified network peering with the data included in the request # Only the following fields can be modified: NetworkPeering.export_custom_routes, - # and NetworkPeering.import_custom_routes (== suppress_warning http-rest- - # shadowed ==) + # and NetworkPeering.import_custom_routes # @param [String] project # Project ID for this request. # @param [String] network @@ -16004,8 +16010,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds specified number of nodes to the node group. (== suppress_warning http- - # rest-shadowed ==) + # Adds specified number of nodes to the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16060,7 +16065,7 @@ module Google end # Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes - # for more details about each group. (== suppress_warning http-rest-shadowed ==) + # for more details about each group. # @param [String] project # Project ID for this request. # @param [String] filter @@ -16080,6 +16085,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -16116,12 +16128,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_node_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -16131,8 +16144,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified NodeGroup resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified NodeGroup resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16183,8 +16195,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes specified nodes from the node group. (== suppress_warning http-rest- - # shadowed ==) + # Deletes specified nodes from the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16240,7 +16251,7 @@ module Google # Returns the specified NodeGroup. Get a list of available NodeGroups by making # a list() request. Note: the "nodes" field should not be used. Use nodeGroups. - # listNodes instead. (== suppress_warning http-rest-shadowed ==) + # listNodes instead. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16280,7 +16291,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16323,7 +16334,7 @@ module Google end # Creates a NodeGroup resource in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16378,8 +16389,7 @@ module Google end # Retrieves a list of node groups available to the specified project. Note: use - # nodeGroups.listNodes for more details about each group. (== suppress_warning - # http-rest-shadowed ==) + # nodeGroups.listNodes for more details about each group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16453,7 +16463,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists nodes in the node group. (== suppress_warning http-rest-shadowed ==) + # Lists nodes in the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16530,7 +16540,7 @@ module Google execute_or_queue_command(command, &block) end - # Patch the node group. (== suppress_warning http-rest-shadowed ==) + # Patch the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16584,8 +16594,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the autoscaling policy of the node group. (== suppress_warning http-rest- - # shadowed ==) + # Sets the autoscaling policy of the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16640,7 +16649,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16682,8 +16691,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the node template of the node group. (== suppress_warning http-rest- - # shadowed ==) + # Updates the node template of the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16737,8 +16745,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -16780,8 +16787,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of node templates. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of node templates. # @param [String] project # Project ID for this request. # @param [String] filter @@ -16801,6 +16807,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -16837,12 +16850,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_node_template_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options) command.response_representation = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -16852,8 +16866,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified NodeTemplate resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified NodeTemplate resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16905,7 +16918,7 @@ module Google end # Returns the specified node template. Gets a list of available node templates - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -16945,7 +16958,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -16988,7 +17001,7 @@ module Google end # Creates a NodeTemplate resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17039,8 +17052,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of node templates available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of node templates available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -17115,7 +17127,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -17157,8 +17169,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -17200,8 +17211,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of node types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of node types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -17221,6 +17231,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -17257,12 +17274,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_node_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options) command.response_representation = Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -17273,7 +17291,7 @@ module Google end # Returns the specified node type. Gets a list of available node types by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -17312,8 +17330,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of node types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of node types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -17387,8 +17404,7 @@ module Google execute_or_queue_command(command, &block) end - # Inserts an association for the specified security policy. (== suppress_warning - # http-rest-shadowed ==) + # Inserts an association for the specified security policy. # @param [String] security_policy # Name of the security policy to update. # @param [Google::Apis::ComputeAlpha::SecurityPolicyAssociation] security_policy_association_object @@ -17441,8 +17457,7 @@ module Google execute_or_queue_command(command, &block) end - # Inserts a rule into a security policy. (== suppress_warning http-rest-shadowed - # ==) + # Inserts a rule into a security policy. # @param [String] security_policy # Name of the security policy to update. # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object @@ -17490,8 +17505,7 @@ module Google execute_or_queue_command(command, &block) end - # Copies rules to the specified security policy. (== suppress_warning http-rest- - # shadowed ==) + # Copies rules to the specified security policy. # @param [String] security_policy # Name of the security policy to update. # @param [String] request_id @@ -17539,7 +17553,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified policy. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified policy. # @param [String] security_policy # Name of the security policy to delete. # @param [String] request_id @@ -17584,8 +17598,7 @@ module Google execute_or_queue_command(command, &block) end - # List all of the ordered rules present in a single specified policy. (== - # suppress_warning http-rest-shadowed ==) + # List all of the ordered rules present in a single specified policy. # @param [String] security_policy # Name of the security policy to get. # @param [String] fields @@ -17618,8 +17631,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets an association with the specified name. (== suppress_warning http-rest- - # shadowed ==) + # Gets an association with the specified name. # @param [String] security_policy # Name of the security policy to which the queried rule belongs. # @param [String] name @@ -17655,8 +17667,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets a rule at the specified priority. (== suppress_warning http-rest-shadowed - # ==) + # Gets a rule at the specified priority. # @param [String] security_policy # Name of the security policy to which the queried rule belongs. # @param [Fixnum] priority @@ -17693,7 +17704,7 @@ module Google end # Creates a new policy in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [Google::Apis::ComputeAlpha::SecurityPolicy] security_policy_object # @param [String] parent_id # Parent ID for this request. @@ -17741,8 +17752,7 @@ module Google execute_or_queue_command(command, &block) end - # List all the policies that have been configured for the specified project. (== - # suppress_warning http-rest-shadowed ==) + # List all the policies that have been configured for the specified project. # @param [String] filter # A filter expression that filters resources listed in the response. The # expression must specify the field name, a comparison operator, and the value @@ -17813,8 +17823,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists associations of a specified target, i.e., organization or folder. (== - # suppress_warning http-rest-shadowed ==) + # Lists associations of a specified target, i.e., organization or folder. # @param [String] target_resource # The target resource to list associations. It is an organization, or a folder. # @param [String] fields @@ -17847,8 +17856,7 @@ module Google execute_or_queue_command(command, &block) end - # Moves the specified security policy. (== suppress_warning http-rest-shadowed == - # ) + # Moves the specified security policy. # @param [String] security_policy # Name of the security policy to update. # @param [String] parent_id @@ -17896,8 +17904,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches the specified policy with the data included in the request. (== - # suppress_warning http-rest-shadowed ==) + # Patches the specified policy with the data included in the request. # @param [String] security_policy # Name of the security policy to update. # @param [Google::Apis::ComputeAlpha::SecurityPolicy] security_policy_object @@ -17945,8 +17952,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Patches a rule at the specified priority. # @param [String] security_policy # Name of the security policy to update. # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object @@ -17997,8 +18003,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes an association for the specified security policy. (== suppress_warning - # http-rest-shadowed ==) + # Removes an association for the specified security policy. # @param [String] security_policy # Name of the security policy to update. # @param [String] name @@ -18046,8 +18051,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Deletes a rule at the specified priority. # @param [String] security_policy # Name of the security policy to update. # @param [Fixnum] priority @@ -18095,8 +18099,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of packetMirrorings. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of packetMirrorings. # @param [String] project # Project ID for this request. # @param [String] filter @@ -18116,6 +18119,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -18152,12 +18162,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_packet_mirroring_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options) command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -18167,8 +18178,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified PacketMirroring resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified PacketMirroring resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -18219,8 +18229,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified PacketMirroring resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified PacketMirroring resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -18260,7 +18269,7 @@ module Google end # Creates a PacketMirroring resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18312,7 +18321,7 @@ module Google end # Retrieves a list of PacketMirroring resources available to the specified - # project and region. (== suppress_warning http-rest-shadowed ==) + # project and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -18388,7 +18397,7 @@ module Google # Patches the specified PacketMirroring resource with the data included in the # request. This method supports PATCH semantics and uses JSON merge patch format - # and processing rules. (== suppress_warning http-rest-shadowed ==) + # and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -18442,8 +18451,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -18485,8 +18493,7 @@ module Google execute_or_queue_command(command, &block) end - # Disable this project as a shared VPC host project. (== suppress_warning http- - # rest-shadowed ==) + # Disable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -18532,7 +18539,7 @@ module Google end # Disable a service resource (also known as service project) associated with - # this host project. (== suppress_warning http-rest-shadowed ==) + # this host project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object @@ -18580,8 +18587,7 @@ module Google execute_or_queue_command(command, &block) end - # Enable this project as a shared VPC host project. (== suppress_warning http- - # rest-shadowed ==) + # Enable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -18627,8 +18633,7 @@ module Google end # Enable service resource (a.k.a service project) for a host project, so that - # subnets in the host project can be used by instances in the service project. (= - # = suppress_warning http-rest-shadowed ==) + # subnets in the host project can be used by instances in the service project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object @@ -18676,8 +18681,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified Project resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified Project resource. # @param [String] project # Project ID for this request. # @param [String] fields @@ -18711,7 +18715,7 @@ module Google end # Gets the shared VPC host project that this project links to. May be empty if - # no link exists. (== suppress_warning http-rest-shadowed ==) + # no link exists. # @param [String] project # Project ID for this request. # @param [String] fields @@ -18745,7 +18749,7 @@ module Google end # Gets service resources (a.k.a service project) associated with this host - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -18816,8 +18820,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all shared VPC host projects visible to the user in an organization. (== - # suppress_warning http-rest-shadowed ==) + # Lists all shared VPC host projects visible to the user in an organization. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object @@ -18891,8 +18894,7 @@ module Google execute_or_queue_command(command, &block) end - # Moves a persistent disk from one zone to another. (== suppress_warning http- - # rest-shadowed ==) + # Moves a persistent disk from one zone to another. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::DiskMoveRequest] disk_move_request_object @@ -18940,8 +18942,7 @@ module Google execute_or_queue_command(command, &block) end - # Moves an instance and its attached persistent disks from one zone to another. ( - # == suppress_warning http-rest-shadowed ==) + # Moves an instance and its attached persistent disks from one zone to another. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::InstanceMoveRequest] instance_move_request_object @@ -18990,7 +18991,7 @@ module Google end # Sets metadata common to all instances within the specified project using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::Metadata] metadata_object @@ -19040,7 +19041,7 @@ module Google # Sets the default network tier of the project. The default network tier is used # when an address/forwardingRule/instance is created without specifying the - # network tier field. (== suppress_warning http-rest-shadowed ==) + # network tier field. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest] projects_set_default_network_tier_request_object @@ -19090,7 +19091,7 @@ module Google # Sets the default service account of the project. The default service account # is used when a VM instance is created with the service account email address - # set to "default". (== suppress_warning http-rest-shadowed ==) + # set to "default". # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::ProjectsSetDefaultServiceAccountRequest] projects_set_default_service_account_request_object @@ -19140,8 +19141,7 @@ module Google # Enables the usage export feature and sets the usage export bucket where # reports are stored. If you provide an empty request body using this method, - # the usage export feature will be disabled. (== suppress_warning http-rest- - # shadowed ==) + # the usage export feature will be disabled. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::UsageExportLocation] usage_export_location_object @@ -19189,8 +19189,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified PublicAdvertisedPrefix (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified PublicAdvertisedPrefix # @param [String] project # Project ID for this request. # @param [String] public_advertised_prefix @@ -19238,8 +19237,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified PublicAdvertisedPrefix resource. (== suppress_warning - # http-rest-shadowed ==) + # Returns the specified PublicAdvertisedPrefix resource. # @param [String] project # Project ID for this request. # @param [String] public_advertised_prefix @@ -19276,7 +19274,7 @@ module Google end # Creates a PublicAdvertisedPrefix in the specified project using the parameters - # that are included in the request. (== suppress_warning http-rest-shadowed ==) + # that are included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::PublicAdvertisedPrefix] public_advertised_prefix_object @@ -19324,8 +19322,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the PublicAdvertisedPrefixes for a project. (== suppress_warning http- - # rest-shadowed ==) + # Lists the PublicAdvertisedPrefixes for a project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -19398,7 +19395,7 @@ module Google # Patches the specified Router resource with the data included in the request. # This method supports PATCH semantics and uses JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] public_advertised_prefix @@ -19450,7 +19447,7 @@ module Google end # Lists all PublicDelegatedPrefix resources owned by the specific project across - # all scopes. (== suppress_warning http-rest-shadowed ==) + # all scopes. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -19470,6 +19467,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -19506,12 +19510,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_public_delegated_prefix_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/publicDelegatedPrefixes', options) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -19521,8 +19526,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified PublicDelegatedPrefix in the given region. (== - # suppress_warning http-rest-shadowed ==) + # Deletes the specified PublicDelegatedPrefix in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -19573,8 +19577,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified PublicDelegatedPrefix resource in the given region. (== - # suppress_warning http-rest-shadowed ==) + # Returns the specified PublicDelegatedPrefix resource in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -19614,8 +19617,7 @@ module Google end # Creates a PublicDelegatedPrefix in the specified project in the given region - # using the parameters that are included in the request. (== suppress_warning - # http-rest-shadowed ==) + # using the parameters that are included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -19666,8 +19668,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the PublicDelegatedPrefixes for a project in the given region. (== - # suppress_warning http-rest-shadowed ==) + # Lists the PublicDelegatedPrefixes for a project in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -19743,7 +19744,7 @@ module Google # Patches the specified PublicDelegatedPrefix resource with the data included in # the request. This method supports PATCH semantics and uses JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -19797,7 +19798,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] region @@ -19848,7 +19849,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Returns the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] region @@ -19888,7 +19889,7 @@ module Google end # Creates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -19939,8 +19940,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of autoscalers contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of autoscalers contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -20016,7 +20016,7 @@ module Google # Updates an autoscaler in the specified project using the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -20070,8 +20070,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20114,7 +20113,7 @@ module Google end # Updates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20168,8 +20167,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified regional BackendService resource. (== suppress_warning - # http-rest-shadowed ==) + # Deletes the specified regional BackendService resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20220,8 +20218,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified regional BackendService resource. (== suppress_warning - # http-rest-shadowed ==) + # Returns the specified regional BackendService resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20260,8 +20257,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for this regional BackendService. (== - # suppress_warning http-rest-shadowed ==) + # Gets the most recent health check results for this regional BackendService. # @param [String] project # @param [String] region # Name of the region scoping this request. @@ -20305,7 +20301,7 @@ module Google # Creates a regional BackendService resource in the specified project using the # data included in the request. There are several restrictions and guidelines to # keep in mind when creating a regional backend service. Read Restrictions and - # Guidelines for more information. (== suppress_warning http-rest-shadowed ==) + # Guidelines for more information. # @param [String] project # Project ID for this request. # @param [String] region @@ -20357,8 +20353,7 @@ module Google end # Retrieves the list of regional BackendService resources available to the - # specified project in the given region. (== suppress_warning http-rest-shadowed - # ==) + # specified project in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -20436,7 +20431,7 @@ module Google # in the request. There are several restrictions and guidelines to keep in mind # when updating a backend service. Read Restrictions and Guidelines for more # information. This method supports PATCH semantics and uses the JSON merge - # patch format and processing rules. (== suppress_warning http-rest-shadowed ==) + # patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -20490,8 +20485,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20536,7 +20530,7 @@ module Google # Updates the specified regional BackendService resource with the data included # in the request. There are several restrictions and guidelines to keep in mind # when updating a backend service. Read Restrictions and Guidelines for more - # information. (== suppress_warning http-rest-shadowed ==) + # information. # @param [String] project # Project ID for this request. # @param [String] region @@ -20590,8 +20584,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of commitments. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of commitments. # @param [String] project # Project ID for this request. # @param [String] filter @@ -20611,6 +20604,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -20647,12 +20647,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_region_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/commitments', options) command.response_representation = Google::Apis::ComputeAlpha::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::CommitmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -20663,8 +20664,7 @@ module Google end # Returns the specified commitment resource. Gets a list of available - # commitments by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # commitments by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20704,7 +20704,7 @@ module Google end # Creates a commitment in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20755,8 +20755,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of commitments contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of commitments contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -20830,8 +20829,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20874,7 +20872,7 @@ module Google end # Update the shape of reservations for GPUS/Local SSDs of reservations within - # the commitments. (== suppress_warning http-rest-shadowed ==) + # the commitments. # @param [String] project # Project ID for this request. # @param [String] region @@ -20929,7 +20927,7 @@ module Google end # Returns the specified regional disk type. Gets a list of available disk types - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20968,8 +20966,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of regional disk types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of regional disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -21044,8 +21041,7 @@ module Google end # Adds existing resource policies to a regional disk. You can only add one - # policy which will be applied to this disk for scheduling snapshot creation. (== - # suppress_warning http-rest-shadowed ==) + # policy which will be applied to this disk for scheduling snapshot creation. # @param [String] project # Project ID for this request. # @param [String] region @@ -21099,8 +21095,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a snapshot of this regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Creates a snapshot of this regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -21162,8 +21157,7 @@ module Google # Deletes the specified regional persistent disk. Deleting a regional disk # removes all the replicas of its data permanently and is irreversible. However, # deleting a disk does not delete any snapshots previously made from the disk. - # You must separately delete snapshots. (== suppress_warning http-rest-shadowed = - # =) + # You must separately delete snapshots. # @param [String] project # Project ID for this request. # @param [String] region @@ -21214,8 +21208,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns a specified regional persistent disk. (== suppress_warning http-rest- - # shadowed ==) + # Returns a specified regional persistent disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -21255,7 +21248,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -21298,7 +21291,7 @@ module Google end # Creates a persistent regional disk in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -21352,8 +21345,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of persistent disks contained within the specified region. ( - # == suppress_warning http-rest-shadowed ==) + # Retrieves the list of persistent disks contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -21427,8 +21419,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes resource policies from a regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Removes resource policies from a regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -21482,8 +21473,7 @@ module Google execute_or_queue_command(command, &block) end - # Resizes the specified regional persistent disk. (== suppress_warning http-rest- - # shadowed ==) + # Resizes the specified regional persistent disk. # @param [String] project # The project ID for this request. # @param [String] region @@ -21538,7 +21528,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -21580,8 +21570,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the labels on the target regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Sets the labels on the target regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -21635,8 +21624,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -21678,8 +21666,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified regional HealthCheckService. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified regional HealthCheckService. # @param [String] project # Project ID for this request. # @param [String] region @@ -21731,8 +21718,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified regional HealthCheckService resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns the specified regional HealthCheckService resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -21773,8 +21759,7 @@ module Google end # Creates a regional HealthCheckService resource in the specified project and - # region using the data included in the request. (== suppress_warning http-rest- - # shadowed ==) + # region using the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -21826,8 +21811,7 @@ module Google end # Lists all the HealthCheckService resources that have been configured for the - # specified project in the given region. (== suppress_warning http-rest-shadowed - # ==) + # specified project in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -21901,8 +21885,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -21944,8 +21927,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -21997,7 +21979,7 @@ module Google end # Returns the specified HealthCheck resource. Gets a list of available health - # checks by making a list() request. (== suppress_warning http-rest-shadowed ==) + # checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -22037,7 +22019,7 @@ module Google end # Creates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -22089,7 +22071,6 @@ module Google end # Retrieves the list of HealthCheck resources available to the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -22165,8 +22146,7 @@ module Google # Updates a HealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -22220,8 +22200,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -22264,7 +22243,7 @@ module Google end # Updates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -22329,8 +22308,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -22384,8 +22362,7 @@ module Google execute_or_queue_command(command, &block) end - # Apply updates to selected instances the managed instance group. (== - # suppress_warning http-rest-shadowed ==) + # Apply updates to selected instances the managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -22432,7 +22409,7 @@ module Google # instances operation is marked DONE if the createInstances request is # successful. The underlying actions take additional time. You must separately # verify the status of the creating or actions with the listmanagedinstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] region @@ -22487,7 +22464,7 @@ module Google end # Deletes the specified managed instance group and all of the instances in that - # group. (== suppress_warning http-rest-shadowed ==) + # group. # @param [String] project # Project ID for this request. # @param [String] region @@ -22548,8 +22525,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -22603,8 +22579,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes selected per-instance configs for the managed instance group. (== - # suppress_warning http-rest-shadowed ==) + # Deletes selected per-instance configs for the managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -22646,8 +22621,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns all of the details about the specified managed instance group. (== - # suppress_warning http-rest-shadowed ==) + # Returns all of the details about the specified managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -22692,8 +22666,7 @@ module Google # group is created even if the instances in the group have not yet been created. # You must separately verify the status of the individual instances with the # listmanagedinstances method. - # A regional managed instance group can contain up to 2000 instances. (== - # suppress_warning http-rest-shadowed ==) + # A regional managed instance group can contain up to 2000 instances. # @param [String] project # Project ID for this request. # @param [String] region @@ -22745,7 +22718,7 @@ module Google end # Retrieves the list of managed instance groups that are contained within the - # specified region. (== suppress_warning http-rest-shadowed ==) + # specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -22820,7 +22793,7 @@ module Google end # Lists all errors thrown by actions on instances for a given regional managed - # instance group. (== suppress_warning http-rest-shadowed ==) + # instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -22901,7 +22874,7 @@ module Google # Lists the instances in the managed instance group and instances that are # scheduled to be created. The list includes any current actions that the group - # has scheduled for its instances. (== suppress_warning http-rest-shadowed ==) + # has scheduled for its instances. # @param [String] project # Project ID for this request. # @param [String] region @@ -22978,8 +22951,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all of the per-instance configs defined for the managed instance group. ( - # == suppress_warning http-rest-shadowed ==) + # Lists all of the per-instance configs defined for the managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -23061,8 +23033,7 @@ module Google # the instances in the group are still in the process of being patched. You must # separately verify the status of the individual instances with the # listmanagedinstances method. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -23118,8 +23089,7 @@ module Google # Insert or patch (for the ones that already exist) per-instance configs for the # managed instance group. perInstanceConfig.instance serves as a key used to - # distinguish whether to perform insert or patch. (== suppress_warning http-rest- - # shadowed ==) + # distinguish whether to perform insert or patch. # @param [String] project # Project ID for this request. # @param [String] region @@ -23182,8 +23152,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -23245,8 +23214,7 @@ module Google # of the creating or deleting actions with the listmanagedinstances method. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] region @@ -23301,8 +23269,7 @@ module Google end # Modifies the autohealing policy for the instances in this managed instance - # group. [Deprecated] This method is deprecated. Please use Patch instead. (== - # suppress_warning http-rest-shadowed ==) + # group. [Deprecated] This method is deprecated. Please use Patch instead. # @param [String] project # Project ID for this request. # @param [String] region @@ -23357,8 +23324,7 @@ module Google end # Sets the instance template to use when creating new instances or recreating - # instances in this group. Existing instances are not affected. (== - # suppress_warning http-rest-shadowed ==) + # instances in this group. Existing instances are not affected. # @param [String] project # Project ID for this request. # @param [String] region @@ -23413,8 +23379,7 @@ module Google end # Modifies the target pools to which all new instances in this group are - # assigned. Existing instances in the group are not affected. (== - # suppress_warning http-rest-shadowed ==) + # assigned. Existing instances in the group are not affected. # @param [String] project # Project ID for this request. # @param [String] region @@ -23468,8 +23433,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -23515,7 +23479,7 @@ module Google # request. This operation is marked as DONE when the group is updated even if # the instances in the group have not yet been updated. You must separately # verify the status of the individual instances with the listmanagedinstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] region @@ -23571,8 +23535,7 @@ module Google # Insert or update (for the ones that already exist) per-instance configs for # the managed instance group. perInstanceConfig.instance serves as a key used to - # distinguish whether to perform insert or patch. (== suppress_warning http-rest- - # shadowed ==) + # distinguish whether to perform insert or patch. # @param [String] project # Project ID for this request. # @param [String] region @@ -23626,8 +23589,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified instance group resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified instance group resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -23667,7 +23629,7 @@ module Google end # Retrieves the list of instance group resources contained within the specified - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -23743,8 +23705,7 @@ module Google # Lists the instances in the specified instance group and displays information # about the named ports. Depending on the specified options, this method can - # list all instances or only the instances that are running. (== - # suppress_warning http-rest-shadowed ==) + # list all instances or only the instances that are running. # @param [String] project # Project ID for this request. # @param [String] region @@ -23824,8 +23785,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the named ports for the specified regional instance group. (== - # suppress_warning http-rest-shadowed ==) + # Sets the named ports for the specified regional instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -23879,8 +23839,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -23922,8 +23881,231 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified NotificationEndpoint in the given region (== - # suppress_warning http-rest-shadowed ==) + # Deletes the specified network endpoint group. Note that the NEG cannot be + # deleted if it is configured as a backend of a backend service. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region where the network endpoint group is located. It should + # comply with RFC1035. + # @param [String] network_endpoint_group + # The name of the network endpoint group to delete. It should comply with + # RFC1035. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options) + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified network endpoint group. Gets a list of available network + # endpoint groups by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region where the network endpoint group is located. It should + # comply with RFC1035. + # @param [String] network_endpoint_group + # The name of the network endpoint group. It should comply with RFC1035. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options) + command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation + command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a network endpoint group in the specified project using the parameters + # that are included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region where you want to create the network endpoint group. It + # should comply with RFC1035. + # @param [Google::Apis::ComputeAlpha::NetworkEndpointGroup] network_endpoint_group_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/networkEndpointGroups', options) + command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation + command.request_object = network_endpoint_group_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of regional network endpoint groups available to the + # specified project in the given region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region where the network endpoint group is located. It should + # comply with RFC1035. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/networkEndpointGroups', options) + command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation + command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified NotificationEndpoint in the given region # @param [String] project # Project ID for this request. # @param [String] region @@ -23974,8 +24156,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified NotificationEndpoint resource in the given region. (== - # suppress_warning http-rest-shadowed ==) + # Returns the specified NotificationEndpoint resource in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -24015,8 +24196,7 @@ module Google end # Create a NotificationEndpoint in the specified project in the given region - # using the parameters that are included in the request. (== suppress_warning - # http-rest-shadowed ==) + # using the parameters that are included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24067,8 +24247,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the NotificationEndpoints for a project in the given region. (== - # suppress_warning http-rest-shadowed ==) + # Lists the NotificationEndpoints for a project in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -24142,8 +24321,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -24185,8 +24363,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified region-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Deletes the specified region-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -24223,8 +24400,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the specified region-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the specified region-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -24264,7 +24440,6 @@ module Google end # Retrieves a list of Operation resources contained within the specified region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -24346,7 +24521,7 @@ module Google # effort: a. The server can wait less than the default deadline or zero seconds, # in overload situations. b. There is no guarantee that the operation is # actually done when returns. 4. User should be prepared to retry if the - # operation is not DONE. (== suppress_warning http-rest-shadowed ==) + # operation is not DONE. # @param [String] project # Project ID for this request. # @param [String] region @@ -24385,8 +24560,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified SslCertificate resource in the region. (== - # suppress_warning http-rest-shadowed ==) + # Deletes the specified SslCertificate resource in the region. # @param [String] project # Project ID for this request. # @param [String] region @@ -24438,8 +24612,7 @@ module Google end # Returns the specified SslCertificate resource in the specified region. Get a - # list of available SSL certificates by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available SSL certificates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24479,7 +24652,7 @@ module Google end # Creates a SslCertificate resource in the specified project and region using - # the data included in the request (== suppress_warning http-rest-shadowed ==) + # the data included in the request # @param [String] project # Project ID for this request. # @param [String] region @@ -24531,7 +24704,7 @@ module Google end # Retrieves the list of SslCertificate resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -24605,8 +24778,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource and region. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -24648,8 +24820,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetHttpProxy resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -24701,8 +24872,7 @@ module Google end # Returns the specified TargetHttpProxy resource in the specified region. Gets a - # list of available target HTTP proxies by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24742,7 +24912,7 @@ module Google end # Creates a TargetHttpProxy resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24794,7 +24964,7 @@ module Google end # Retrieves the list of TargetHttpProxy resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -24868,8 +25038,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -24923,8 +25092,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -24966,8 +25134,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpsProxy resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified TargetHttpsProxy resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -25019,8 +25186,7 @@ module Google end # Returns the specified TargetHttpsProxy resource in the specified region. Gets - # a list of available target HTTP proxies by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # a list of available target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25060,7 +25226,7 @@ module Google end # Creates a TargetHttpsProxy resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25112,7 +25278,7 @@ module Google end # Retrieves the list of TargetHttpsProxy resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -25186,8 +25352,7 @@ module Google execute_or_queue_command(command, &block) end - # Replaces SslCertificates for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Replaces SslCertificates for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -25241,8 +25406,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -25296,8 +25460,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -25339,8 +25502,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified UrlMap resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified UrlMap resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -25383,7 +25545,7 @@ module Google end # Returns the specified UrlMap resource. Gets a list of available URL maps by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25423,7 +25585,7 @@ module Google end # Creates a UrlMap resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25466,7 +25628,7 @@ module Google end # Initiates a cache invalidation operation, invalidating the specified path, - # scoped to the specified UrlMap. (== suppress_warning http-rest-shadowed ==) + # scoped to the specified UrlMap. # @param [String] project # Project ID for this request. # @param [String] region @@ -25512,7 +25674,7 @@ module Google end # Retrieves the list of UrlMap resources available to the specified project in - # the specified region. (== suppress_warning http-rest-shadowed ==) + # the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -25588,7 +25750,7 @@ module Google # Patches the specified UrlMap resource with the data included in the request. # This method supports PATCH semantics and uses JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -25633,8 +25795,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -25676,8 +25837,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified UrlMap resource with the data included in the request. (= - # = suppress_warning http-rest-shadowed ==) + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25723,8 +25883,7 @@ module Google end # Runs static validation for the UrlMap. In particular, the tests of the - # provided UrlMap will be run. Calling this method does NOT create the UrlMap. (= - # = suppress_warning http-rest-shadowed ==) + # provided UrlMap will be run. Calling this method does NOT create the UrlMap. # @param [String] project # Project ID for this request. # @param [String] region @@ -25767,7 +25926,7 @@ module Google end # Returns the specified Region resource. Gets a list of available regions by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25803,8 +25962,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of region resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of region resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -25875,8 +26033,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of reservations. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of reservations. # @param [String] project # Project ID for this request. # @param [String] filter @@ -25896,6 +26053,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -25932,12 +26096,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_reservation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/reservations', options) command.response_representation = Google::Apis::ComputeAlpha::ReservationAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ReservationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -25947,7 +26112,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified reservation. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified reservation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -25998,8 +26163,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves information about the specified reservation. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves information about the specified reservation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26039,7 +26203,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26082,7 +26246,7 @@ module Google end # Creates a new reservation. For more information, read Reserving zonal - # resources. (== suppress_warning http-rest-shadowed ==) + # resources. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26134,7 +26298,7 @@ module Google end # A list of all the reservations that have been configured for the specified - # project in specified zone. (== suppress_warning http-rest-shadowed ==) + # project in specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26209,8 +26373,7 @@ module Google end # Resizes the reservation (applicable to standalone reservations only). For more - # information, read Modifying reservations. (== suppress_warning http-rest- - # shadowed ==) + # information, read Modifying reservations. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26265,7 +26428,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26307,8 +26470,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26350,8 +26512,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of resource policies. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of resource policies. # @param [String] project # Project ID for this request. # @param [String] filter @@ -26371,6 +26532,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -26407,12 +26575,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_resource_policy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/resourcePolicies', options) command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -26422,8 +26591,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified resource policy. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -26474,8 +26642,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves all information of the specified resource policy. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves all information of the specified resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -26515,7 +26682,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -26557,7 +26724,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new resource policy. (== suppress_warning http-rest-shadowed ==) + # Creates a new resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -26609,7 +26776,7 @@ module Google end # A list all the resource policies that have been configured for the specified - # project in specified region. (== suppress_warning http-rest-shadowed ==) + # project in specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -26684,7 +26851,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -26726,8 +26893,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -26769,8 +26935,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of routers. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of routers. # @param [String] project # Project ID for this request. # @param [String] filter @@ -26790,6 +26955,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -26826,12 +26998,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_router_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_router_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/routers', options) command.response_representation = Google::Apis::ComputeAlpha::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::RouterAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -26841,8 +27014,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Router resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified Router resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -26894,7 +27066,7 @@ module Google end # Returns the specified Router resource. Gets a list of available routers by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -26933,8 +27105,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves runtime Nat mapping information of VM endpoints. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves runtime Nat mapping information of VM endpoints. # @param [String] project # Project ID for this request. # @param [String] region @@ -27017,8 +27188,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves runtime information of the specified router. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves runtime information of the specified router. # @param [String] project # Project ID for this request. # @param [String] region @@ -27058,7 +27228,7 @@ module Google end # Creates a Router resource in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -27109,8 +27279,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of Router resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of Router resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -27186,7 +27355,7 @@ module Google # Patches the specified Router resource with the data included in the request. # This method supports PATCH semantics and uses JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -27241,8 +27410,7 @@ module Google end # Preview fields auto-generated during router create and update operations. - # Calling this method does NOT create or update the router. (== suppress_warning - # http-rest-shadowed ==) + # Calling this method does NOT create or update the router. # @param [String] project # Project ID for this request. # @param [String] region @@ -27284,8 +27452,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -27330,8 +27497,7 @@ module Google # Updates the specified Router resource with the data included in the request. # This method conforms to PUT semantics, which requests that the state of the # target resource be created or replaced with the state defined by the - # representation enclosed in the request message payload. (== suppress_warning - # http-rest-shadowed ==) + # representation enclosed in the request message payload. # @param [String] project # Project ID for this request. # @param [String] region @@ -27385,8 +27551,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Route resource. (== suppress_warning http-rest-shadowed = - # =) + # Deletes the specified Route resource. # @param [String] project # Project ID for this request. # @param [String] route @@ -27435,7 +27600,7 @@ module Google end # Returns the specified Route resource. Gets a list of available routes by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] route @@ -27472,7 +27637,7 @@ module Google end # Creates a Route resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::Route] route_object @@ -27520,8 +27685,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of Route resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of Route resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -27592,8 +27756,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -27632,8 +27795,7 @@ module Google execute_or_queue_command(command, &block) end - # Inserts a rule into a security policy. (== suppress_warning http-rest-shadowed - # ==) + # Inserts a rule into a security policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -27675,7 +27837,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified policy. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -27723,8 +27885,7 @@ module Google execute_or_queue_command(command, &block) end - # List all of the ordered rules present in a single specified policy. (== - # suppress_warning http-rest-shadowed ==) + # List all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -27760,8 +27921,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets a rule at the specified priority. (== suppress_warning http-rest-shadowed - # ==) + # Gets a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -27801,7 +27961,7 @@ module Google end # Creates a new policy in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::SecurityPolicy] security_policy_object @@ -27852,8 +28012,7 @@ module Google execute_or_queue_command(command, &block) end - # List all the policies that have been configured for the specified project. (== - # suppress_warning http-rest-shadowed ==) + # List all the policies that have been configured for the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -27925,7 +28084,7 @@ module Google end # Gets the current list of preconfigured Web Application Firewall (WAF) - # expressions. (== suppress_warning http-rest-shadowed ==) + # expressions. # @param [String] project # Project ID for this request. # @param [String] filter @@ -27996,8 +28155,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches the specified policy with the data included in the request. (== - # suppress_warning http-rest-shadowed ==) + # Patches the specified policy with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -28048,8 +28206,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Patches a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -28094,8 +28251,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Deletes a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -28135,7 +28291,7 @@ module Google end # Sets the labels on a security policy. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28174,8 +28330,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28218,8 +28373,7 @@ module Google # snapshot might not necessarily delete all the data on that snapshot. If any # data on the snapshot that is marked for deletion is needed for subsequent # snapshots, the data will be moved to the next corresponding snapshot. - # For more information, see Deleting snapshots. (== suppress_warning http-rest- - # shadowed ==) + # For more information, see Deleting snapshots. # @param [String] project # Project ID for this request. # @param [String] snapshot @@ -28268,7 +28422,7 @@ module Google end # Returns the specified Snapshot resource. Gets a list of available snapshots by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] snapshot @@ -28305,7 +28459,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28345,7 +28499,7 @@ module Google end # Retrieves the list of Snapshot resources contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -28417,7 +28571,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28457,7 +28611,7 @@ module Google end # Sets the labels on a snapshot. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28496,8 +28650,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28537,7 +28690,7 @@ module Google end # Retrieves the list of all SslCertificate resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -28557,6 +28710,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -28593,12 +28753,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_ssl_certificate_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -28608,8 +28769,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified SslCertificate resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified SslCertificate resource. # @param [String] project # Project ID for this request. # @param [String] ssl_certificate @@ -28658,8 +28818,7 @@ module Google end # Returns the specified SslCertificate resource. Gets a list of available SSL - # certificates by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # certificates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] ssl_certificate @@ -28696,7 +28855,7 @@ module Google end # Creates a SslCertificate resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::SslCertificate] ssl_certificate_object @@ -28745,7 +28904,7 @@ module Google end # Retrieves the list of SslCertificate resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -28816,8 +28975,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28857,8 +29015,7 @@ module Google end # Deletes the specified SSL policy. The SSL policy resource can be deleted only - # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. (== - # suppress_warning http-rest-shadowed ==) + # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -28907,8 +29064,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all of the ordered rules present in a single specified policy. (== - # suppress_warning http-rest-shadowed ==) + # Lists all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -28946,8 +29102,7 @@ module Google end # Returns the specified SSL policy resource. Gets a list of available SSL - # policies by making a list() request. (== suppress_warning http-rest-shadowed == - # ) + # policies by making a list() request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object @@ -28996,7 +29151,6 @@ module Google end # Lists all the SSL policies that have been configured for the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -29068,7 +29222,7 @@ module Google end # Lists all features that can be specified in the SSL policy when using custom - # profile. (== suppress_warning http-rest-shadowed ==) + # profile. # @param [String] project # Project ID for this request. # @param [String] filter @@ -29139,8 +29293,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches the specified SSL policy with the data included in the request. (== - # suppress_warning http-rest-shadowed ==) + # Patches the specified SSL policy with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -29192,8 +29345,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -29232,8 +29384,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of subnetworks. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of subnetworks. # @param [String] project # Project ID for this request. # @param [String] filter @@ -29253,6 +29404,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -29289,12 +29447,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_subnetwork_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/subnetworks', options) command.response_representation = Google::Apis::ComputeAlpha::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SubnetworkAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -29304,7 +29463,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified subnetwork. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified subnetwork. # @param [String] project # Project ID for this request. # @param [String] region @@ -29355,8 +29514,7 @@ module Google execute_or_queue_command(command, &block) end - # Expands the IP CIDR range of the subnetwork to a specified value. (== - # suppress_warning http-rest-shadowed ==) + # Expands the IP CIDR range of the subnetwork to a specified value. # @param [String] project # Project ID for this request. # @param [String] region @@ -29411,7 +29569,7 @@ module Google end # Returns the specified subnetwork. Gets a list of available subnetworks list() - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -29451,7 +29609,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -29494,7 +29652,7 @@ module Google end # Creates a subnetwork in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -29545,8 +29703,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of subnetworks available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of subnetworks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -29622,8 +29779,7 @@ module Google # Retrieves an aggregated list of all usable subnetworks in the project. The # list contains all of the subnetworks in the project and the subnetworks that - # were shared by a Shared VPC host project. (== suppress_warning http-rest- - # shadowed ==) + # were shared by a Shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -29697,7 +29853,7 @@ module Google # Patches the specified subnetwork with the data included in the request. Only # certain fields can up updated with a patch request as indicated in the field # descriptions. You must specify the current fingeprint of the subnetwork - # resource being patched. (== suppress_warning http-rest-shadowed ==) + # resource being patched. # @param [String] project # Project ID for this request. # @param [String] region @@ -29761,7 +29917,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -29804,8 +29960,7 @@ module Google end # Set whether VMs in this subnet can access Google services without assigning - # external IP addresses through Private Google Access. (== suppress_warning http- - # rest-shadowed ==) + # external IP addresses through Private Google Access. # @param [String] project # Project ID for this request. # @param [String] region @@ -29859,8 +30014,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -29903,7 +30057,7 @@ module Google end # Retrieves the list of all TargetHttpProxy resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -29923,6 +30077,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -29959,12 +30120,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_target_http_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -29974,8 +30136,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetHttpProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -30024,8 +30185,7 @@ module Google end # Returns the specified TargetHttpProxy resource. Gets a list of available - # target HTTP proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -30062,7 +30222,7 @@ module Google end # Creates a TargetHttpProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::TargetHttpProxy] target_http_proxy_object @@ -30111,7 +30271,7 @@ module Google end # Retrieves the list of TargetHttpProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -30182,8 +30342,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpProxy. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -30234,8 +30393,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -30275,7 +30433,7 @@ module Google end # Retrieves the list of all TargetHttpsProxy resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -30295,6 +30453,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -30331,12 +30496,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_target_https_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -30346,8 +30512,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpsProxy resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified TargetHttpsProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -30396,8 +30561,7 @@ module Google end # Returns the specified TargetHttpsProxy resource. Gets a list of available - # target HTTPS proxies by making a list() request. (== suppress_warning http- - # rest-shadowed ==) + # target HTTPS proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -30434,7 +30598,7 @@ module Google end # Creates a TargetHttpsProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::TargetHttpsProxy] target_https_proxy_object @@ -30483,7 +30647,7 @@ module Google end # Retrieves the list of TargetHttpsProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -30554,8 +30718,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the QUIC override policy for TargetHttpsProxy. (== suppress_warning http- - # rest-shadowed ==) + # Sets the QUIC override policy for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -30607,8 +30770,7 @@ module Google execute_or_queue_command(command, &block) end - # Replaces SslCertificates for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Replaces SslCertificates for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -30662,7 +30824,7 @@ module Google # Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server- # side support for SSL features. This affects connections between clients and # the HTTPS proxy load balancer. They do not affect the connection between the - # load balancer and the backends. (== suppress_warning http-rest-shadowed ==) + # load balancer and the backends. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -30714,8 +30876,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -30766,8 +30927,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -30806,8 +30966,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target instances. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of target instances. # @param [String] project # Project ID for this request. # @param [String] filter @@ -30827,6 +30986,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -30863,12 +31029,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_target_instance_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_target_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetInstances', options) command.response_representation = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -30878,8 +31045,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetInstance resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetInstance resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -30931,8 +31097,7 @@ module Google end # Returns the specified TargetInstance resource. Gets a list of available target - # instances by making a list() request. (== suppress_warning http-rest-shadowed = - # =) + # instances by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -30972,7 +31137,7 @@ module Google end # Creates a TargetInstance resource in the specified project and zone using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -31024,7 +31189,7 @@ module Google end # Retrieves a list of TargetInstance resources available to the specified - # project and zone. (== suppress_warning http-rest-shadowed ==) + # project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -31098,8 +31263,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -31141,8 +31305,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds health check URLs to a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Adds health check URLs to a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -31196,7 +31359,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds an instance to a target pool. (== suppress_warning http-rest-shadowed ==) + # Adds an instance to a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -31250,8 +31413,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target pools. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of target pools. # @param [String] project # Project ID for this request. # @param [String] filter @@ -31271,6 +31433,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -31307,12 +31476,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_target_pool_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_target_pool_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetPools', options) command.response_representation = Google::Apis::ComputeAlpha::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -31322,7 +31492,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified target pool. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -31374,7 +31544,7 @@ module Google end # Returns the specified target pool. Gets a list of available target pools by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -31414,8 +31584,7 @@ module Google end # Gets the most recent health check results for each IP for the instance that is - # referenced by the given target pool. (== suppress_warning http-rest-shadowed == - # ) + # referenced by the given target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -31458,7 +31627,7 @@ module Google end # Creates a target pool in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -31510,7 +31679,6 @@ module Google end # Retrieves a list of target pools available to the specified project and region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -31584,8 +31752,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes health check URL from a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Removes health check URL from a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -31639,8 +31806,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes instance URL from a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Removes instance URL from a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -31694,8 +31860,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes a backup target pool's configurations. (== suppress_warning http-rest- - # shadowed ==) + # Changes a backup target pool's configurations. # @param [String] project # Project ID for this request. # @param [String] region @@ -31752,8 +31917,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -31795,8 +31959,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetSslProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetSslProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -31845,8 +32008,7 @@ module Google end # Returns the specified TargetSslProxy resource. Gets a list of available target - # SSL proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # SSL proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -31883,7 +32045,7 @@ module Google end # Creates a TargetSslProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::TargetSslProxy] target_ssl_proxy_object @@ -31932,7 +32094,7 @@ module Google end # Retrieves the list of TargetSslProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -32003,8 +32165,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the BackendService for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the BackendService for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -32055,8 +32216,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the ProxyHeaderType for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the ProxyHeaderType for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -32107,8 +32267,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes SslCertificates for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes SslCertificates for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -32162,7 +32321,7 @@ module Google # Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server- # side support for SSL features. This affects connections between clients and # the SSL proxy load balancer. They do not affect the connection between the - # load balancer and the backends. (== suppress_warning http-rest-shadowed ==) + # load balancer and the backends. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -32214,8 +32373,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -32254,8 +32412,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetTcpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetTcpProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -32304,8 +32461,7 @@ module Google end # Returns the specified TargetTcpProxy resource. Gets a list of available target - # TCP proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # TCP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -32342,7 +32498,7 @@ module Google end # Creates a TargetTcpProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::TargetTcpProxy] target_tcp_proxy_object @@ -32391,7 +32547,7 @@ module Google end # Retrieves the list of TargetTcpProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -32462,8 +32618,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the BackendService for TargetTcpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the BackendService for TargetTcpProxy. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -32514,8 +32669,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the ProxyHeaderType for TargetTcpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the ProxyHeaderType for TargetTcpProxy. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -32566,8 +32720,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -32606,8 +32759,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target VPN gateways. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of target VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -32627,6 +32779,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -32663,12 +32822,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_target_vpn_gateway_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_target_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -32678,8 +32838,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified target VPN gateway. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified target VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -32731,8 +32890,7 @@ module Google end # Returns the specified target VPN gateway. Gets a list of available target VPN - # gateways by making a list() request. (== suppress_warning http-rest-shadowed == - # ) + # gateways by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -32772,7 +32930,7 @@ module Google end # Creates a target VPN gateway in the specified project and region using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -32824,7 +32982,7 @@ module Google end # Retrieves a list of target VPN gateways available to the specified project and - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -32899,7 +33057,7 @@ module Google end # Sets the labels on a TargetVpnGateway. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -32953,8 +33111,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -32997,7 +33154,7 @@ module Google end # Retrieves the list of all UrlMap resources, regional and global, available to - # the specified project. (== suppress_warning http-rest-shadowed ==) + # the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -33017,6 +33174,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -33053,12 +33217,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_url_map_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/urlMaps', options) command.response_representation = Google::Apis::ComputeAlpha::UrlMapsAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapsAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -33068,8 +33233,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified UrlMap resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified UrlMap resource. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -33118,7 +33282,7 @@ module Google end # Returns the specified UrlMap resource. Gets a list of available URL maps by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -33155,7 +33319,7 @@ module Google end # Creates a UrlMap resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeAlpha::UrlMap] url_map_object @@ -33204,7 +33368,7 @@ module Google end # Initiates a cache invalidation operation, invalidating the specified path, - # scoped to the specified UrlMap. (== suppress_warning http-rest-shadowed ==) + # scoped to the specified UrlMap. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -33255,8 +33419,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of UrlMap resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of UrlMap resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -33329,7 +33492,7 @@ module Google # Patches the specified UrlMap resource with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -33380,8 +33543,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -33420,8 +33582,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified UrlMap resource with the data included in the request. (= - # = suppress_warning http-rest-shadowed ==) + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -33473,8 +33634,7 @@ module Google end # Runs static validation for the UrlMap. In particular, the tests of the - # provided UrlMap will be run. Calling this method does NOT create the UrlMap. (= - # = suppress_warning http-rest-shadowed ==) + # provided UrlMap will be run. Calling this method does NOT create the UrlMap. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -33513,8 +33673,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of VPN gateways. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -33534,6 +33693,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -33570,12 +33736,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_vpn_gateway_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/vpnGateways', options) command.response_representation = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -33585,7 +33752,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified VPN gateway. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -33637,7 +33804,7 @@ module Google end # Returns the specified VPN gateway. Gets a list of available VPN gateways by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -33676,8 +33843,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the status for the specified VPN gateway. (== suppress_warning http- - # rest-shadowed ==) + # Returns the status for the specified VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -33717,7 +33883,7 @@ module Google end # Creates a VPN gateway in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -33769,7 +33935,6 @@ module Google end # Retrieves a list of VPN gateways available to the specified project and region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -33844,7 +34009,7 @@ module Google end # Sets the labels on a VpnGateway. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -33898,8 +34063,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -33941,8 +34105,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of VPN tunnels. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of VPN tunnels. # @param [String] project # Project ID for this request. # @param [String] filter @@ -33962,6 +34125,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -33998,12 +34168,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_vpn_tunnel_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_vpn_tunnel_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -34013,8 +34184,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified VpnTunnel resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified VpnTunnel resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -34066,7 +34236,7 @@ module Google end # Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -34106,7 +34276,7 @@ module Google end # Creates a VpnTunnel resource in the specified project and region using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -34158,7 +34328,7 @@ module Google end # Retrieves a list of VpnTunnel resources contained in the specified project and - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -34233,7 +34403,7 @@ module Google end # Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -34287,8 +34457,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -34330,8 +34499,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified zone-specific Operations resource. (== suppress_warning - # http-rest-shadowed ==) + # Deletes the specified zone-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -34368,8 +34536,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the specified zone-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the specified zone-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -34408,8 +34575,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of Operation resources contained within the specified zone. (= - # = suppress_warning http-rest-shadowed ==) + # Retrieves a list of Operation resources contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -34491,7 +34657,7 @@ module Google # effort: a. The server can wait less than the default deadline or zero seconds, # in overload situations. b. There is no guarantee that the operation is # actually done when returns. 4. User should be prepared to retry if the - # operation is not DONE. (== suppress_warning http-rest-shadowed ==) + # operation is not DONE. # @param [String] project # Project ID for this request. # @param [String] zone @@ -34531,7 +34697,7 @@ module Google end # Returns the specified Zone resource. Gets a list of available zones by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -34567,8 +34733,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of Zone resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of Zone resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 31bea2a37..e89ed4019 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -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' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index a87529e7a..ad14b0d63 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -1306,9 +1306,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 @@ -2772,6 +2773,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 @@ -2858,8 +2861,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 @@ -3705,6 +3709,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` @@ -6858,8 +6878,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) @@ -6984,15 +7004,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. @@ -7028,23 +7050,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, @@ -7052,16 +7067,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] attr_accessor :ports @@ -7553,32 +7572,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::ComputeBeta::Policy] attr_accessor :policy @@ -7606,7 +7627,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 @@ -8714,7 +8735,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` @@ -9030,7 +9051,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 @@ -9043,7 +9064,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 @@ -9052,7 +9073,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 @@ -9321,7 +9342,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::ComputeBeta::HttpRouteAction] attr_accessor :route_action @@ -9364,10 +9386,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] @@ -9381,30 +9403,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] 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. @@ -9418,7 +9440,7 @@ module Google # @return [Array] 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 @@ -10446,14 +10468,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 @@ -10927,6 +10952,11 @@ module Google # @return [String] attr_accessor :service_account + # Stateful configuration for this Instanced Group Manager + # Corresponds to the JSON property `statefulPolicy` + # @return [Google::Apis::ComputeBeta::StatefulPolicy] + attr_accessor :stateful_policy + # [Output Only] The status of this managed instance group. # Corresponds to the JSON property `status` # @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatus] @@ -10993,6 +11023,7 @@ module Google @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @service_account = args[:service_account] if args.key?(:service_account) + @stateful_policy = args[:stateful_policy] if args.key?(:stateful_policy) @status = args[:status] if args.key?(:status) @target_pools = args[:target_pools] if args.key?(:target_pools) @target_size = args[:target_size] if args.key?(:target_size) @@ -11420,6 +11451,11 @@ module Google attr_accessor :is_stable alias_method :is_stable?, :is_stable + # [Output Only] Stateful status of the given Instance Group Manager. + # Corresponds to the JSON property `stateful` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful] + attr_accessor :stateful + # [Output Only] A status of consistency of Instances' versions with their target # version specified by version field on Instance Group Manager. # Corresponds to the JSON property `versionTarget` @@ -11433,10 +11469,34 @@ module Google # Update properties of this object def update!(**args) @is_stable = args[:is_stable] if args.key?(:is_stable) + @stateful = args[:stateful] if args.key?(:stateful) @version_target = args[:version_target] if args.key?(:version_target) end end + # + class InstanceGroupManagerStatusStateful + include Google::Apis::Core::Hashable + + # [Output Only] A bit indicating whether the managed instance group is stateful, + # i.e. has any disks in Stateful Policy or at least one per-instance config. + # This is determined based on the user intent, the group may be reported as not + # stateful even when there is still some preserved state on managed instances. + # Corresponds to the JSON property `isStateful` + # @return [Boolean] + attr_accessor :is_stateful + alias_method :is_stateful?, :is_stateful + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_stateful = args[:is_stateful] if args.key?(:is_stateful) + end + end + # class InstanceGroupManagerStatusVersionTarget include Google::Apis::Core::Hashable @@ -11499,6 +11559,11 @@ module Google # @return [String] attr_accessor :minimal_action + # What action should be used to replace instances. See minimal_action.REPLACE + # Corresponds to the JSON property `replacementMethod` + # @return [String] + attr_accessor :replacement_method + # The type of update process. You can specify either PROACTIVE so that the # instance group manager proactively executes actions in order to bring # instances to their target versions or OPPORTUNISTIC so that no action is @@ -11519,6 +11584,7 @@ module Google @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable) @min_ready_sec = args[:min_ready_sec] if args.key?(:min_ready_sec) @minimal_action = args[:minimal_action] if args.key?(:minimal_action) + @replacement_method = args[:replacement_method] if args.key?(:replacement_method) @type = args[:type] if args.key?(:type) end end @@ -11663,6 +11729,55 @@ module Google end end + # InstanceGroupManagers.deletePerInstanceConfigs + class InstanceGroupManagersDeletePerInstanceConfigsReq + include Google::Apis::Core::Hashable + + # The list of instance names for which we want to delete per-instance configs on + # this managed instance group. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @names = args[:names] if args.key?(:names) + end + end + + # + class InstanceGroupManagersListErrorsResponse + include Google::Apis::Core::Hashable + + # [Output Only] The list of errors of the managed instance group. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # class InstanceGroupManagersListManagedInstancesResponse include Google::Apis::Core::Hashable @@ -11692,6 +11807,125 @@ module Google end end + # + class InstanceGroupManagersListPerInstanceConfigsResp + include Google::Apis::Core::Hashable + + # [Output Only] The list of PerInstanceConfig. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + + # InstanceGroupManagers.patchPerInstanceConfigs + class InstanceGroupManagersPatchPerInstanceConfigsReq + include Google::Apis::Core::Hashable + + # The list of per-instance configs to insert or patch on this managed instance + # group. + # Corresponds to the JSON property `perInstanceConfigs` + # @return [Array] + attr_accessor :per_instance_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @per_instance_configs = args[:per_instance_configs] if args.key?(:per_instance_configs) + end + end + # class InstanceGroupManagersRecreateInstancesRequest include Google::Apis::Core::Hashable @@ -11920,6 +12154,26 @@ module Google end end + # InstanceGroupManagers.updatePerInstanceConfigs + class InstanceGroupManagersUpdatePerInstanceConfigsReq + include Google::Apis::Core::Hashable + + # The list of per-instance configs to insert or patch on this managed instance + # group. + # Corresponds to the JSON property `perInstanceConfigs` + # @return [Array] + attr_accessor :per_instance_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @per_instance_configs = args[:per_instance_configs] if args.key?(:per_instance_configs) + end + end + # class InstanceGroupsAddInstancesRequest include Google::Apis::Core::Hashable @@ -12457,6 +12711,101 @@ module Google end end + # + class InstanceManagedByIgmError + include Google::Apis::Core::Hashable + + # [Output Only] Contents of the error. + # Corresponds to the JSON property `error` + # @return [Google::Apis::ComputeBeta::InstanceManagedByIgmErrorManagedInstanceError] + attr_accessor :error + + # [Output Only] Details of the instance action that triggered this error. May be + # null, if the error was not caused by an action on an instance. This field is + # optional. + # Corresponds to the JSON property `instanceActionDetails` + # @return [Google::Apis::ComputeBeta::InstanceManagedByIgmErrorInstanceActionDetails] + attr_accessor :instance_action_details + + # [Output Only] The time that this error occurred. This value is in RFC3339 text + # format. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error = args[:error] if args.key?(:error) + @instance_action_details = args[:instance_action_details] if args.key?(:instance_action_details) + @timestamp = args[:timestamp] if args.key?(:timestamp) + end + end + + # + class InstanceManagedByIgmErrorInstanceActionDetails + include Google::Apis::Core::Hashable + + # [Output Only] Action that managed instance group was executing on the instance + # when the error occurred. Possible values: + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # [Output Only] The URL of the instance. The URL can be set even if the instance + # has not yet been created. + # Corresponds to the JSON property `instance` + # @return [String] + attr_accessor :instance + + # [Output Only] Version this instance was created from, or was being created + # from, but the creation failed. Corresponds to one of the versions that were + # set on the Instance Group Manager resource at the time this instance was being + # created. + # Corresponds to the JSON property `version` + # @return [Google::Apis::ComputeBeta::ManagedInstanceVersion] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @instance = args[:instance] if args.key?(:instance) + @version = args[:version] if args.key?(:version) + end + end + + # + class InstanceManagedByIgmErrorManagedInstanceError + include Google::Apis::Core::Hashable + + # [Output Only] Error code. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Error message. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + end + end + # class MoveInstanceRequest include Google::Apis::Core::Hashable @@ -12563,6 +12912,12 @@ module Google # @return [Google::Apis::ComputeBeta::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] + attr_accessor :resource_policies + # Sets the scheduling options for an Instance. NextID: 9 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeBeta::Scheduling] @@ -12607,6 +12962,7 @@ module Google @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces) @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) @@ -15929,6 +16285,16 @@ module Google # @return [Google::Apis::ComputeBeta::ManagedInstanceLastAttempt] attr_accessor :last_attempt + # Preserved state for a given instance. + # Corresponds to the JSON property `preservedStateFromConfig` + # @return [Google::Apis::ComputeBeta::PreservedState] + attr_accessor :preserved_state_from_config + + # Preserved state for a given instance. + # Corresponds to the JSON property `preservedStateFromPolicy` + # @return [Google::Apis::ComputeBeta::PreservedState] + attr_accessor :preserved_state_from_policy + # [Output Only] Intended version of this instance. # Corresponds to the JSON property `version` # @return [Google::Apis::ComputeBeta::ManagedInstanceVersion] @@ -15946,6 +16312,8 @@ module Google @instance_health = args[:instance_health] if args.key?(:instance_health) @instance_status = args[:instance_status] if args.key?(:instance_status) @last_attempt = args[:last_attempt] if args.key?(:last_attempt) + @preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config) + @preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy) @version = args[:version] if args.key?(:version) end end @@ -16147,12 +16515,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 @@ -16300,7 +16668,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` @@ -16351,7 +16719,7 @@ module Google end end - # The network endpoint. + # The network endpoint. Next ID: 7 class NetworkEndpoint include Google::Apis::Core::Hashable @@ -16394,7 +16762,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 @@ -17048,7 +17416,7 @@ module Google # @return [Array] attr_accessor :healths - # The network endpoint. + # The network endpoint. Next ID: 7 # Corresponds to the JSON property `networkEndpoint` # @return [Google::Apis::ComputeBeta::NetworkEndpoint] attr_accessor :network_endpoint @@ -17477,10 +17845,15 @@ 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::ComputeBeta::NodeGroupAutoscalingPolicy] + attr_accessor :autoscaling_policy + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -17492,6 +17865,12 @@ module Google # @return [String] attr_accessor :description + # + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -17504,6 +17883,12 @@ 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 + # The name of the resource, provided by the client when initially creating the # resource. The resource name must be 1-63 characters long, and comply with # RFC1035. Specifically, the name must be 1-63 characters long and match the @@ -17547,10 +17932,13 @@ module Google # Update properties of this object def update!(**args) + @autoscaling_policy = args[:autoscaling_policy] if args.key?(:autoscaling_policy) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy) @name = args[:name] if args.key?(:name) @node_template = args[:node_template] if args.key?(:node_template) @self_link = args[:self_link] if args.key?(:self_link) @@ -17678,6 +18066,37 @@ module Google end end + # + class NodeGroupAutoscalingPolicy + include Google::Apis::Core::Hashable + + # The maximum number of nodes that the group should have. + # Corresponds to the JSON property `maxNodes` + # @return [Fixnum] + attr_accessor :max_nodes + + # The minimum number of nodes that the group should have. + # Corresponds to the JSON property `minNodes` + # @return [Fixnum] + attr_accessor :min_nodes + + # The autoscaling mode. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @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 + # Contains a list of nodeGroups. class NodeGroupList include Google::Apis::Core::Hashable @@ -17820,6 +18239,11 @@ module Google # @return [Google::Apis::ComputeBeta::ServerBinding] attr_accessor :server_binding + # Server ID associated with this node. + # Corresponds to the JSON property `serverId` + # @return [String] + attr_accessor :server_id + # # Corresponds to the JSON property `status` # @return [String] @@ -17835,6 +18259,7 @@ module Google @name = args[:name] if args.key?(:name) @node_type = args[:node_type] if args.key?(:node_type) @server_binding = args[:server_binding] if args.key?(:server_binding) + @server_id = args[:server_id] if args.key?(:server_id) @status = args[:status] if args.key?(:status) end end @@ -18109,7 +18534,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 @@ -20464,10 +20889,9 @@ module Google # @return [Array] 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` @@ -20567,6 +20991,11 @@ module Google # @return [String] attr_accessor :name + # Preserved state for a given instance. + # Corresponds to the JSON property `preservedState` + # @return [Google::Apis::ComputeBeta::PreservedState] + attr_accessor :preserved_state + def initialize(**args) update!(**args) end @@ -20575,35 +21004,38 @@ module Google def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) + @preserved_state = args[:preserved_state] if args.key?(:preserved_state) 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 @@ -20612,9 +21044,9 @@ module Google # @return [Array] 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] attr_accessor :bindings @@ -20626,10 +21058,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] @@ -20653,15 +21085,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 @@ -20700,6 +21137,69 @@ module Google end end + # Preserved state for a given instance. + class PreservedState + include Google::Apis::Core::Hashable + + # Preserved disks defined for this instance. This map is keyed with the device + # names of the disks. + # Corresponds to the JSON property `disks` + # @return [Hash] + attr_accessor :disks + + # Preserved metadata defined for this instance. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disks = args[:disks] if args.key?(:disks) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # + class PreservedStatePreservedDisk + include Google::Apis::Core::Hashable + + # These stateful disks will never be deleted during autohealing, update, + # instance recreate operations. This flag is used to configure if the disk + # should be deleted after it is no longer used by the group, e.g. when the given + # instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode + # cannot be auto-deleted. + # Corresponds to the JSON property `autoDelete` + # @return [String] + attr_accessor :auto_delete + + # The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not + # specified, the default is to attach the disk in READ_WRITE mode. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + # The URL of the disk resource that is stateful and should be attached to the VM + # instance. + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_delete = args[:auto_delete] if args.key?(:auto_delete) + @mode = args[:mode] if args.key?(:mode) + @source = args[:source] if args.key?(:source) + end + end + # Represents a Project resource. # A project is used to organize resources in a Google Cloud Platform environment. # For more information, read about the Resource Hierarchy. (== resource_for v1. @@ -21499,6 +21999,26 @@ module Google end end + # RegionInstanceGroupManagers.deletePerInstanceConfigs + class RegionInstanceGroupManagerDeleteInstanceConfigReq + include Google::Apis::Core::Hashable + + # The list of instance names for which we want to delete per-instance configs on + # this managed instance group. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @names = args[:names] if args.key?(:names) + end + end + # Contains a list of managed instance groups. class RegionInstanceGroupManagerList include Google::Apis::Core::Hashable @@ -21618,6 +22138,46 @@ module Google end end + # RegionInstanceGroupManagers.patchPerInstanceConfigs + class RegionInstanceGroupManagerPatchInstanceConfigReq + include Google::Apis::Core::Hashable + + # The list of per-instance configs to insert or patch on this managed instance + # group. + # Corresponds to the JSON property `perInstanceConfigs` + # @return [Array] + attr_accessor :per_instance_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @per_instance_configs = args[:per_instance_configs] if args.key?(:per_instance_configs) + end + end + + # RegionInstanceGroupManagers.updatePerInstanceConfigs + class RegionInstanceGroupManagerUpdateInstanceConfigReq + include Google::Apis::Core::Hashable + + # The list of per-instance configs to insert or patch on this managed instance + # group. + # Corresponds to the JSON property `perInstanceConfigs` + # @return [Array] + attr_accessor :per_instance_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @per_instance_configs = args[:per_instance_configs] if args.key?(:per_instance_configs) + end + end + # class RegionInstanceGroupManagersAbandonInstancesRequest include Google::Apis::Core::Hashable @@ -21724,6 +22284,134 @@ module Google end end + # + class RegionInstanceGroupManagersListErrorsResponse + include Google::Apis::Core::Hashable + + # [Output Only] The list of errors of the managed instance group. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class RegionInstanceGroupManagersListInstanceConfigsResp + include Google::Apis::Core::Hashable + + # [Output Only] The list of PerInstanceConfig. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class RegionInstanceGroupManagersListInstancesResponse include Google::Apis::Core::Hashable @@ -22182,32 +22870,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::ComputeBeta::Policy] attr_accessor :policy @@ -25138,6 +25828,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. @@ -25208,6 +25904,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) @@ -25236,6 +25933,12 @@ module Google attr_accessor :automatic_restart alias_method :automatic_restart?, :automatic_restart + # The minimum number of virtual CPUs this instance will consume when running on + # a sole-tenant node. + # Corresponds to the JSON property `minNodeCpus` + # @return [Fixnum] + attr_accessor :min_node_cpus + # A set of node affinity and anti-affinity configurations. Refer to Configuring # node affinity for more information. # Corresponds to the JSON property `nodeAffinities` @@ -25265,6 +25968,7 @@ module Google # Update properties of this object def update!(**args) @automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart) + @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus) @node_affinities = args[:node_affinities] if args.key?(:node_affinities) @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance) @preemptible = args[:preemptible] if args.key?(:preemptible) @@ -26489,7 +27193,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 @@ -27319,6 +28025,68 @@ module Google end end + # + class StatefulPolicy + include Google::Apis::Core::Hashable + + # Configuration of preserved resources. + # Corresponds to the JSON property `preservedState` + # @return [Google::Apis::ComputeBeta::StatefulPolicyPreservedState] + attr_accessor :preserved_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @preserved_state = args[:preserved_state] if args.key?(:preserved_state) + end + end + + # Configuration of preserved resources. + class StatefulPolicyPreservedState + include Google::Apis::Core::Hashable + + # Disks created on the instances that will be preserved on instance delete, + # update, etc. This map is keyed with the device names of the disks. + # Corresponds to the JSON property `disks` + # @return [Hash] + attr_accessor :disks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disks = args[:disks] if args.key?(:disks) + end + end + + # + class StatefulPolicyPreservedStateDiskDevice + include Google::Apis::Core::Hashable + + # These stateful disks will never be deleted during autohealing, update or VM + # instance recreate operations. This flag is used to configure if the disk + # should be deleted after it is no longer used by the group, e.g. when the given + # instance or the whole group is deleted. Note: disks attached in READ_ONLY mode + # cannot be auto-deleted. + # Corresponds to the JSON property `autoDelete` + # @return [String] + attr_accessor :auto_delete + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_delete = args[:auto_delete] if args.key?(:auto_delete) + end + end + # Represents a Subnetwork resource. # A subnetwork (also known as a subnet) is a logical partition of a Virtual # Private Cloud network with one primary IP range and zero or more secondary IP @@ -28174,11 +28942,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 @@ -28616,11 +29385,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 @@ -32035,7 +32805,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 @@ -33652,32 +34422,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::ComputeBeta::Policy] attr_accessor :policy diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index daa69b29d..4abda1267 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -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 diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index c83d3a26e..18a29b2e3 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -51,8 +51,7 @@ module Google @batch_path = 'batch/compute/beta' end - # Retrieves an aggregated list of accelerator types. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of accelerator types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -123,8 +122,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified accelerator type. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified accelerator type. # @param [String] project # Project ID for this request. # @param [String] zone @@ -163,8 +161,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of accelerator types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of accelerator types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -238,8 +235,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of addresses. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -310,8 +306,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified address resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -362,8 +357,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified address resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -403,7 +397,7 @@ module Google end # Creates an address resource in the specified project by using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -454,8 +448,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of addresses contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of addresses contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -530,7 +523,7 @@ module Google end # Sets the labels on an Address. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -584,8 +577,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -627,8 +619,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of autoscalers. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of autoscalers. # @param [String] project # Project ID for this request. # @param [String] filter @@ -699,7 +690,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] zone @@ -751,8 +742,7 @@ module Google end # Returns the specified autoscaler resource. Gets a list of available - # autoscalers by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # autoscalers by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -792,7 +782,7 @@ module Google end # Creates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -843,8 +833,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of autoscalers contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of autoscalers contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -920,7 +909,7 @@ module Google # Updates an autoscaler in the specified project using the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -974,8 +963,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1018,7 +1006,7 @@ module Google end # Updates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1072,8 +1060,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a key for validating requests with signed URLs for this backend bucket. (= - # = suppress_warning http-rest-shadowed ==) + # Adds a key for validating requests with signed URLs for this backend bucket. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1125,8 +1112,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified BackendBucket resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified BackendBucket resource. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1175,7 +1161,6 @@ module Google end # Deletes a key for validating requests with signed URLs for this backend bucket. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1228,7 +1213,7 @@ module Google end # Returns the specified BackendBucket resource. Gets a list of available backend - # buckets by making a list() request. (== suppress_warning http-rest-shadowed ==) + # buckets by making a list() request. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1265,7 +1250,7 @@ module Google end # Creates a BackendBucket resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::BackendBucket] backend_bucket_object @@ -1314,7 +1299,7 @@ module Google end # Retrieves the list of BackendBucket resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1387,7 +1372,7 @@ module Google # Updates the specified BackendBucket resource with the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1439,7 +1424,7 @@ module Google end # Updates the specified BackendBucket resource with the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1490,8 +1475,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a key for validating requests with signed URLs for this backend service. ( - # == suppress_warning http-rest-shadowed ==) + # Adds a key for validating requests with signed URLs for this backend service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1544,7 +1528,7 @@ module Google end # Retrieves the list of all BackendService resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -1615,8 +1599,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified BackendService resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified BackendService resource. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1665,7 +1648,7 @@ module Google end # Deletes a key for validating requests with signed URLs for this backend - # service. (== suppress_warning http-rest-shadowed ==) + # service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1718,7 +1701,7 @@ module Google end # Returns the specified BackendService resource. Gets a list of available - # backend services. (== suppress_warning http-rest-shadowed ==) + # backend services. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1754,8 +1737,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for this BackendService. (== - # suppress_warning http-rest-shadowed ==) + # Gets the most recent health check results for this BackendService. # @param [String] project # @param [String] backend_service # Name of the BackendService resource to which the queried instance belongs. @@ -1796,7 +1778,7 @@ module Google # Creates a BackendService resource in the specified project using the data # included in the request. There are several restrictions and guidelines to keep # in mind when creating a backend service. Read Restrictions and Guidelines for - # more information. (== suppress_warning http-rest-shadowed ==) + # more information. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::BackendService] backend_service_object @@ -1845,7 +1827,7 @@ module Google end # Retrieves the list of BackendService resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1920,7 +1902,7 @@ module Google # request. There are several restrictions and guidelines to keep in mind when # updating a backend service. Read Restrictions and Guidelines for more # information. This method supports PATCH semantics and uses the JSON merge - # patch format and processing rules. (== suppress_warning http-rest-shadowed ==) + # patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1971,8 +1953,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the security policy for the specified backend service. (== - # suppress_warning http-rest-shadowed ==) + # Sets the security policy for the specified backend service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -2024,8 +2005,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -2067,7 +2047,7 @@ module Google # Updates the specified BackendService resource with the data included in the # request. There are several restrictions and guidelines to keep in mind when # updating a backend service. Read Restrictions and Guidelines for more - # information. (== suppress_warning http-rest-shadowed ==) + # information. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -2118,8 +2098,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of disk types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of disk types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2191,7 +2170,7 @@ module Google end # Returns the specified disk type. Gets a list of available disk types by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2230,8 +2209,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of disk types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2306,8 +2284,7 @@ module Google end # Adds existing resource policies to a disk. You can only add one policy which - # will be applied to this disk for scheduling snapshot creation. (== - # suppress_warning http-rest-shadowed ==) + # will be applied to this disk for scheduling snapshot creation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2361,8 +2338,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of persistent disks. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of persistent disks. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2433,8 +2409,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a snapshot of a specified persistent disk. (== suppress_warning http- - # rest-shadowed ==) + # Creates a snapshot of a specified persistent disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2496,7 +2471,6 @@ module Google # Deletes the specified persistent disk. Deleting a disk removes its data # permanently and is irreversible. However, deleting a disk does not delete any # snapshots previously made from the disk. You must separately delete snapshots. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] zone @@ -2548,7 +2522,7 @@ module Google end # Returns a specified persistent disk. Gets a list of available persistent disks - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2588,7 +2562,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2633,8 +2607,7 @@ module Google # Creates a persistent disk in the specified project using the data in the # request. You can create a disk with a sourceImage, a sourceSnapshot, or create # an empty 500 GB data disk by omitting all properties. You can also create a - # disk that is larger than the default size by specifying the sizeGb property. (= - # = suppress_warning http-rest-shadowed ==) + # disk that is larger than the default size by specifying the sizeGb property. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2688,8 +2661,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of persistent disks contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of persistent disks contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2763,8 +2735,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes resource policies from a disk. (== suppress_warning http-rest-shadowed - # ==) + # Removes resource policies from a disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2819,7 +2790,7 @@ module Google end # Resizes the specified persistent disk. You can only increase the size of the - # disk. (== suppress_warning http-rest-shadowed ==) + # disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2874,7 +2845,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2917,7 +2888,7 @@ module Google end # Sets the labels on a disk. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2971,8 +2942,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -3014,8 +2984,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified externalVpnGateway. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified externalVpnGateway. # @param [String] project # Project ID for this request. # @param [String] external_vpn_gateway @@ -3064,8 +3033,7 @@ module Google end # Returns the specified externalVpnGateway. Get a list of available - # externalVpnGateways by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # externalVpnGateways by making a list() request. # @param [String] project # Project ID for this request. # @param [String] external_vpn_gateway @@ -3102,7 +3070,7 @@ module Google end # Creates a ExternalVpnGateway in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ExternalVpnGateway] external_vpn_gateway_object @@ -3150,8 +3118,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of ExternalVpnGateway available to the specified project. (= - # = suppress_warning http-rest-shadowed ==) + # Retrieves the list of ExternalVpnGateway available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3223,7 +3190,7 @@ module Google end # Sets the labels on an ExternalVpnGateway. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3262,8 +3229,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3302,7 +3268,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified firewall. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3350,7 +3316,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified firewall. (== suppress_warning http-rest-shadowed ==) + # Returns the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3387,7 +3353,7 @@ module Google end # Creates a firewall rule in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Firewall] firewall_object @@ -3435,8 +3401,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of firewall rules available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of firewall rules available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3509,7 +3474,7 @@ module Google # Updates the specified firewall rule with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3560,8 +3525,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3602,8 +3566,7 @@ module Google # Updates the specified firewall rule with the data included in the request. # Note that all fields will be updated if using PUT, even fields that are not - # specified. To update individual fields, please use PATCH instead. (== - # suppress_warning http-rest-shadowed ==) + # specified. To update individual fields, please use PATCH instead. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3654,8 +3617,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of forwarding rules. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of forwarding rules. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3726,8 +3688,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified ForwardingRule resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified ForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -3778,8 +3739,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified ForwardingRule resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified ForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -3819,7 +3779,7 @@ module Google end # Creates a ForwardingRule resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -3871,7 +3831,7 @@ module Google end # Retrieves a list of ForwardingRule resources available to the specified - # project and region. (== suppress_warning http-rest-shadowed ==) + # project and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -3947,8 +3907,7 @@ module Google # Updates the specified forwarding rule with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. Currently, you can only patch the network_tier field. (== - # suppress_warning http-rest-shadowed ==) + # processing rules. Currently, you can only patch the network_tier field. # @param [String] project # Project ID for this request. # @param [String] region @@ -4003,8 +3962,7 @@ module Google end # Sets the labels on the specified resource. To learn more about labels, read - # the Labeling Resources documentation. (== suppress_warning http-rest-shadowed = - # =) + # the Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -4059,7 +4017,7 @@ module Google end # Changes target URL for forwarding rule. The new target should be of the same - # type as the old target. (== suppress_warning http-rest-shadowed ==) + # type as the old target. # @param [String] project # Project ID for this request. # @param [String] region @@ -4113,8 +4071,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -4156,8 +4113,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified address resource. # @param [String] project # Project ID for this request. # @param [String] address @@ -4206,7 +4162,7 @@ module Google end # Returns the specified address resource. Gets a list of available addresses by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] address @@ -4243,7 +4199,7 @@ module Google end # Creates an address resource in the specified project by using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Address] address_object @@ -4291,8 +4247,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of global addresses. (== suppress_warning http-rest-shadowed = - # =) + # Retrieves a list of global addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4364,7 +4319,7 @@ module Google end # Sets the labels on a GlobalAddress. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4403,8 +4358,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4443,8 +4397,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified GlobalForwardingRule resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified GlobalForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4493,8 +4446,7 @@ module Google end # Returns the specified GlobalForwardingRule resource. Gets a list of available - # forwarding rules by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # forwarding rules by making a list() request. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4531,7 +4483,7 @@ module Google end # Creates a GlobalForwardingRule resource in the specified project using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ForwardingRule] forwarding_rule_object @@ -4580,7 +4532,7 @@ module Google end # Retrieves a list of GlobalForwardingRule resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4653,8 +4605,7 @@ module Google # Updates the specified forwarding rule with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. Currently, you can only patch the network_tier field. (== - # suppress_warning http-rest-shadowed ==) + # processing rules. Currently, you can only patch the network_tier field. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4706,8 +4657,7 @@ module Google end # Sets the labels on the specified resource. To learn more about labels, read - # the Labeling Resources documentation. (== suppress_warning http-rest-shadowed = - # =) + # the Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4747,8 +4697,7 @@ module Google end # Changes target URL for the GlobalForwardingRule resource. The new target - # should be of the same type as the old target. (== suppress_warning http-rest- - # shadowed ==) + # should be of the same type as the old target. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4799,8 +4748,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -4839,8 +4787,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of all operations. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of all operations. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4911,8 +4858,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Operations resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified Operations resource. # @param [String] project # Project ID for this request. # @param [String] operation @@ -4947,7 +4893,7 @@ module Google end # Retrieves the specified Operations resource. Gets a list of operations by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] operation @@ -4984,7 +4930,6 @@ module Google end # Retrieves a list of Operation resources contained within the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -5055,8 +5000,51 @@ module Google execute_or_queue_command(command, &block) end + # Waits for the specified Operations resource until it is done or timeout, and + # retrieves the specified Operations resource. 1. Immediately returns when the + # operation is already done. 2. Waits for no more than the default deadline (2 + # minutes, subject to change) and then returns the current state of the + # operation, which may be DONE or still in progress. 3. Is best-effort: a. The + # server can wait less than the default deadline or zero seconds, in overload + # situations. b. There is no guarantee that the operation is actually done when + # returns. 4. User should be prepared to retry if the operation is not DONE. + # @param [String] project + # Project ID for this request. + # @param [String] operation + # Name of the Operations resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/operations/{operation}/wait', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['operation'] = operation unless operation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves the list of all HealthCheck resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -5127,8 +5115,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -5177,7 +5164,7 @@ module Google end # Returns the specified HealthCheck resource. Gets a list of available health - # checks by making a list() request. (== suppress_warning http-rest-shadowed ==) + # checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -5214,7 +5201,7 @@ module Google end # Creates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::HealthCheck] health_check_object @@ -5263,7 +5250,6 @@ module Google end # Retrieves the list of HealthCheck resources available to the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -5336,8 +5322,7 @@ module Google # Updates a HealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -5388,8 +5373,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -5429,7 +5413,7 @@ module Google end # Updates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -5480,8 +5464,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HttpHealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HttpHealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -5530,8 +5513,7 @@ module Google end # Returns the specified HttpHealthCheck resource. Gets a list of available HTTP - # health checks by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # health checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -5568,7 +5550,7 @@ module Google end # Creates a HttpHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::HttpHealthCheck] http_health_check_object @@ -5617,7 +5599,7 @@ module Google end # Retrieves the list of HttpHealthCheck resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5690,8 +5672,7 @@ module Google # Updates a HttpHealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -5742,8 +5723,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -5783,7 +5763,7 @@ module Google end # Updates a HttpHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -5834,8 +5814,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HttpsHealthCheck resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified HttpsHealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -5884,8 +5863,7 @@ module Google end # Returns the specified HttpsHealthCheck resource. Gets a list of available - # HTTPS health checks by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # HTTPS health checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -5922,7 +5900,7 @@ module Google end # Creates a HttpsHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::HttpsHealthCheck] https_health_check_object @@ -5971,7 +5949,7 @@ module Google end # Retrieves the list of HttpsHealthCheck resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6044,8 +6022,7 @@ module Google # Updates a HttpsHealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -6096,8 +6073,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -6137,7 +6113,7 @@ module Google end # Updates a HttpsHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -6188,7 +6164,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified image. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified image. # @param [String] project # Project ID for this request. # @param [String] image @@ -6237,8 +6213,7 @@ module Google end # Sets the deprecation status of an image. - # If an empty request body is given, clears the deprecation status instead. (== - # suppress_warning http-rest-shadowed ==) + # If an empty request body is given, clears the deprecation status instead. # @param [String] project # Project ID for this request. # @param [String] image @@ -6290,7 +6265,7 @@ module Google end # Returns the specified image. Gets a list of available images by making a list() - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] image @@ -6327,7 +6302,6 @@ module Google end # Returns the latest image that is part of an image family and is not deprecated. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] family @@ -6364,7 +6338,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -6404,7 +6378,7 @@ module Google end # Creates an image in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Image] image_object @@ -6460,7 +6434,7 @@ module Google # get any images that belong to other projects, including publicly-available # images, like Debian 8. If you want to get a list of publicly-available images, # use this method to make a request to the respective image project, such as - # debian-cloud or windows-cloud. (== suppress_warning http-rest-shadowed ==) + # debian-cloud or windows-cloud. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6532,7 +6506,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -6572,7 +6546,7 @@ module Google end # Sets the labels on an image. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -6611,8 +6585,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -6662,8 +6635,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6717,8 +6689,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of managed instance groups and groups them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of managed instance groups and groups them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6790,8 +6761,7 @@ module Google end # Apply changes to selected instances on the managed instance group. This method - # can be used to apply new overrides and/or new versions. (== suppress_warning - # http-rest-shadowed ==) + # can be used to apply new overrides and/or new versions. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6839,7 +6809,7 @@ module Google # instances operation is marked DONE if the createInstances request is # successful. The underlying actions take additional time. You must separately # verify the status of the creating or actions with the listmanagedinstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6895,8 +6865,7 @@ module Google # Deletes the specified managed instance group and all of the instances in that # group. Note that the instance group must not belong to a backend service. Read - # Deleting an instance group for more information. (== suppress_warning http- - # rest-shadowed ==) + # Deleting an instance group for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6957,8 +6926,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7012,9 +6980,51 @@ module Google execute_or_queue_command(command, &block) end + # Deletes selected per-instance configs for the managed instance group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::InstanceGroupManagersDeletePerInstanceConfigsReq] instance_group_managers_delete_per_instance_configs_req_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersDeletePerInstanceConfigsReq::Representation + command.request_object = instance_group_managers_delete_per_instance_configs_req_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns all of the details about the specified managed instance group. Gets a - # list of available managed instance groups by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available managed instance groups by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7060,8 +7070,7 @@ module Google # You must separately verify the status of the individual instances with the # listmanagedinstances method. # A managed instance group can have up to 1000 VM instances per group. Please - # contact Cloud Support if you need an increase in this limit. (== - # suppress_warning http-rest-shadowed ==) + # contact Cloud Support if you need an increase in this limit. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7113,7 +7122,7 @@ module Google end # Retrieves a list of managed instance groups that are contained within the - # specified project and zone. (== suppress_warning http-rest-shadowed ==) + # specified project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7187,12 +7196,92 @@ module Google execute_or_queue_command(command, &block) end + # Lists all errors thrown by actions on instances for a given managed instance + # group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It must be a string that meets the + # requirements in RFC1035, or an unsigned long integer: must match regexp + # pattern: (?:[a-z](?:[-a-z0-9]`0,61`[a-z0-9])?)|[1-9][0-9]`0,19`. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse::Representation + command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Lists all of the instances in the managed instance group. Each instance in the # list has a currentAction, which indicates the action that the managed instance # group is performing on the instance. For example, if the group is still # creating an instance, the currentAction is CREATING. If a previous action - # failed, the list displays the errors for that failed action. (== - # suppress_warning http-rest-shadowed ==) + # failed, the list displays the errors for that failed action. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7269,13 +7358,90 @@ module Google execute_or_queue_command(command, &block) end + # Lists all of the per-instance configs defined for the managed instance group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Representation + command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates a managed instance group using the information that you specify in the # request. This operation is marked as DONE when the group is patched even if # the instances in the group are still in the process of being patched. You must # separately verify the status of the individual instances with the # listManagedInstances method. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7329,6 +7495,63 @@ module Google execute_or_queue_command(command, &block) end + # Insert or patch (for the ones that already exist) per-instance configs for the + # managed instance group. perInstanceConfig.instance serves as a key used to + # distinguish whether to perform insert or patch. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::InstanceGroupManagersPatchPerInstanceConfigsReq] instance_group_managers_patch_per_instance_configs_req_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_patch_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersPatchPerInstanceConfigsReq::Representation + command.request_object = instance_group_managers_patch_per_instance_configs_req_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Flags the specified instances in the managed instance group to be immediately # recreated. The instances are deleted and recreated using the current instance # template for the managed instance group. This operation is marked as DONE when @@ -7338,8 +7561,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7408,8 +7630,7 @@ module Google # This list is subject to change. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7476,8 +7697,7 @@ module Google # listmanagedinstances method. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7532,7 +7752,7 @@ module Google end # Modifies the autohealing policies. [Deprecated] This method is deprecated. - # Please use Patch instead. (== suppress_warning http-rest-shadowed ==) + # Please use Patch instead. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7588,7 +7808,7 @@ module Google # Specifies the instance template to use when creating new instances in this # group. The templates for existing instances in the group do not change unless - # you recreate them. (== suppress_warning http-rest-shadowed ==) + # you recreate them. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7647,8 +7867,7 @@ module Google # instances in the managed instance group. This operation is marked DONE when # you make the request even if the instances have not yet been added to their # target pools. The change might take some time to apply to all of the instances - # in the group depending on the size of the group. (== suppress_warning http- - # rest-shadowed ==) + # in the group depending on the size of the group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7702,8 +7921,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7749,7 +7967,7 @@ module Google # request. This operation is marked as DONE when the group is updated even if # the instances in the group have not yet been updated. You must separately # verify the status of the individual instances with the listManagedInstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7803,9 +8021,66 @@ module Google execute_or_queue_command(command, &block) end + # Insert or update (for the ones that already exist) per-instance configs for + # the managed instance group. perInstanceConfig.instance serves as a key used to + # distinguish whether to perform insert or patch. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::InstanceGroupManagersUpdatePerInstanceConfigsReq] instance_group_managers_update_per_instance_configs_req_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation + command.request_object = instance_group_managers_update_per_instance_configs_req_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Adds a list of instances to the specified instance group. All of the instances # in the instance group must be in the same network/subnetwork. Read Adding - # instances for more information. (== suppress_warning http-rest-shadowed ==) + # instances for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7859,8 +8134,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instance groups and sorts them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of instance groups and sorts them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -7933,8 +8207,7 @@ module Google # Deletes the specified instance group. The instances in the group are not # deleted. Note that instance group must not belong to a backend service. Read - # Deleting an instance group for more information. (== suppress_warning http- - # rest-shadowed ==) + # Deleting an instance group for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7986,7 +8259,7 @@ module Google end # Returns the specified instance group. Gets a list of available instance groups - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8026,7 +8299,7 @@ module Google end # Creates an instance group in the specified project using the parameters that - # are included in the request. (== suppress_warning http-rest-shadowed ==) + # are included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8078,7 +8351,7 @@ module Google end # Retrieves the list of instance groups that are located in the specified - # project and zone. (== suppress_warning http-rest-shadowed ==) + # project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8152,8 +8425,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the instances in the specified instance group. (== suppress_warning http- - # rest-shadowed ==) + # Lists the instances in the specified instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8238,8 +8510,7 @@ module Google # delete those instances. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration before - # the VM instance is removed or deleted. (== suppress_warning http-rest-shadowed - # ==) + # the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8293,8 +8564,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the named ports for the specified instance group. (== suppress_warning - # http-rest-shadowed ==) + # Sets the named ports for the specified instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8348,8 +8618,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8393,8 +8662,7 @@ module Google # Deletes the specified instance template. Deleting an instance template is # permanent and cannot be undone. It is not possible to delete templates that - # are already in use by a managed instance group. (== suppress_warning http-rest- - # shadowed ==) + # are already in use by a managed instance group. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -8443,8 +8711,7 @@ module Google end # Returns the specified instance template. Gets a list of available instance - # templates by making a list() request. (== suppress_warning http-rest-shadowed = - # =) + # templates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -8481,7 +8748,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -8523,8 +8790,7 @@ module Google # Creates an instance template in the specified project using the data that is # included in the request. If you are creating a new template to update an # existing instance group, your new instance template must use the same network - # or, if applicable, the same subnetwork as the original template. (== - # suppress_warning http-rest-shadowed ==) + # or, if applicable, the same subnetwork as the original template. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::InstanceTemplate] instance_template_object @@ -8573,7 +8839,7 @@ module Google end # Retrieves a list of instance templates that are contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -8645,7 +8911,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -8684,8 +8950,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -8724,8 +8989,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds an access config to an instance's network interface. (== suppress_warning - # http-rest-shadowed ==) + # Adds an access config to an instance's network interface. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8783,7 +9047,7 @@ module Google end # Retrieves aggregated list of all of the instances in your project across all - # regions and zones. (== suppress_warning http-rest-shadowed ==) + # regions and zones. # @param [String] project # Project ID for this request. # @param [String] filter @@ -8857,7 +9121,7 @@ module Google # Attaches an existing Disk resource to an instance. You must first create the # disk before you can attach it. It is not possible to create and attach a disk # at the same time. For more information, read Adding a persistent disk to your - # instance. (== suppress_warning http-rest-shadowed ==) + # instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8916,7 +9180,7 @@ module Google end # Deletes the specified Instance resource. For more information, see Stopping or - # Deleting an Instance. (== suppress_warning http-rest-shadowed ==) + # Deleting an Instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8967,8 +9231,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an access config from an instance's network interface. (== - # suppress_warning http-rest-shadowed ==) + # Deletes an access config from an instance's network interface. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9025,7 +9288,7 @@ module Google execute_or_queue_command(command, &block) end - # Detaches a disk from an instance. (== suppress_warning http-rest-shadowed ==) + # Detaches a disk from an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9081,7 +9344,7 @@ module Google end # Returns the specified Instance resource. Gets a list of available instances by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9120,8 +9383,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified guest attributes entry. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified guest attributes entry. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9167,7 +9429,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9209,8 +9471,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the last 1 MB of serial port output from the specified instance. (== - # suppress_warning http-rest-shadowed ==) + # Returns the last 1 MB of serial port output from the specified instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9258,8 +9519,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the Shielded Instance Identity of an instance (== suppress_warning - # http-rest-shadowed ==) + # Returns the Shielded Instance Identity of an instance # @param [String] project # Project ID for this request. # @param [String] zone @@ -9298,8 +9558,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the Shielded VM Identity of an instance (== suppress_warning http-rest- - # shadowed ==) + # Returns the Shielded VM Identity of an instance # @param [String] project # Project ID for this request. # @param [String] zone @@ -9339,7 +9598,7 @@ module Google end # Creates an instance resource in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9408,8 +9667,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instances contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of instances contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9484,8 +9742,7 @@ module Google end # Retrieves the list of referrers to instances contained within the specified - # zone. For more information, read Viewing Referrers to VM Instances. (== - # suppress_warning http-rest-shadowed ==) + # zone. For more information, read Viewing Referrers to VM Instances. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9564,8 +9821,7 @@ module Google end # Performs a reset on the instance. This is a hard reset the VM does not do a - # graceful shutdown. For more information, see Resetting an instance. (== - # suppress_warning http-rest-shadowed ==) + # graceful shutdown. For more information, see Resetting an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9616,8 +9872,7 @@ module Google execute_or_queue_command(command, &block) end - # Resumes an instance that was suspended using the instances().suspend method. (= - # = suppress_warning http-rest-shadowed ==) + # Resumes an instance that was suspended using the instances().suspend method. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9671,8 +9926,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets deletion protection on the instance. (== suppress_warning http-rest- - # shadowed ==) + # Sets deletion protection on the instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9726,8 +9980,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the auto-delete flag for a disk attached to an instance. (== - # suppress_warning http-rest-shadowed ==) + # Sets the auto-delete flag for a disk attached to an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9786,7 +10039,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9829,7 +10082,7 @@ module Google end # Sets labels on an instance. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9884,7 +10137,7 @@ module Google end # Changes the number and/or type of accelerator for a stopped instance to the - # values specified in the request. (== suppress_warning http-rest-shadowed ==) + # values specified in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9939,7 +10192,7 @@ module Google end # Changes the machine type for a stopped instance to the machine type specified - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9993,8 +10246,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets metadata for the specified instance to the data included in the request. ( - # == suppress_warning http-rest-shadowed ==) + # Sets metadata for the specified instance to the data included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10050,7 +10302,7 @@ module Google # Changes the minimum CPU platform that this instance should use. This method # can only be called on a stopped instance. For more information, read - # Specifying a Minimum CPU Platform. (== suppress_warning http-rest-shadowed ==) + # Specifying a Minimum CPU Platform. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10104,8 +10356,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets an instance's scheduling options. (== suppress_warning http-rest-shadowed - # ==) + # Sets an instance's scheduling options. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10160,8 +10411,7 @@ module Google end # Sets the service account on the instance. For more information, read Changing - # the service account and access scopes for an instance. (== suppress_warning - # http-rest-shadowed ==) + # the service account and access scopes for an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10217,8 +10467,7 @@ module Google # Sets the Shielded Instance integrity policy for an instance. You can only use # this method on a running instance. This method supports PATCH semantics and - # uses the JSON merge patch format and processing rules. (== suppress_warning - # http-rest-shadowed ==) + # uses the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10274,8 +10523,7 @@ module Google # Sets the Shielded VM integrity policy for a VM instance. You can only use this # method on a running VM instance. This method supports PATCH semantics and uses - # the JSON merge patch format and processing rules. (== suppress_warning http- - # rest-shadowed ==) + # the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10330,7 +10578,7 @@ module Google end # Sets network tags for the specified instance to the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10384,8 +10632,7 @@ module Google execute_or_queue_command(command, &block) end - # Simulates a maintenance event on the instance. (== suppress_warning http-rest- - # shadowed ==) + # Simulates a maintenance event on the instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10425,8 +10672,7 @@ module Google end # Starts an instance that was stopped using the instances().stop method. For - # more information, see Restart an instance. (== suppress_warning http-rest- - # shadowed ==) + # more information, see Restart an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10478,8 +10724,7 @@ module Google end # Starts an instance that was stopped using the instances().stop method. For - # more information, see Restart an instance. (== suppress_warning http-rest- - # shadowed ==) + # more information, see Restart an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10537,8 +10782,7 @@ module Google # the instance at a later time. Stopped instances do not incur VM usage charges # while they are stopped. However, resources that the VM is using, such as # persistent disks and static IP addresses, will continue to be charged until - # they are deleted. For more information, see Stopping an instance. (== - # suppress_warning http-rest-shadowed ==) + # they are deleted. For more information, see Stopping an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10594,7 +10838,7 @@ module Google # instances incur reduced per-minute, virtual machine usage charges while they # are suspended. Any resources the virtual machine is using, such as persistent # disks and static IP addresses, will continue to be charged until they are - # deleted. (== suppress_warning http-rest-shadowed ==) + # deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10649,8 +10893,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10694,8 +10937,7 @@ module Google # Updates the specified access config from an instance's network interface with # the data included in the request. This method supports PATCH semantics and - # uses the JSON merge patch format and processing rules. (== suppress_warning - # http-rest-shadowed ==) + # uses the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10754,8 +10996,7 @@ module Google # Updates the Display config for a VM instance. You can only use this method on # a stopped VM instance. This method supports PATCH semantics and uses the JSON - # merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10809,8 +11050,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates an instance's network interface. This method follows PATCH semantics. ( - # == suppress_warning http-rest-shadowed ==) + # Updates an instance's network interface. This method follows PATCH semantics. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10869,8 +11109,7 @@ module Google # Updates the Shielded Instance config for an instance. You can only use this # method on a stopped instance. This method supports PATCH semantics and uses - # the JSON merge patch format and processing rules. (== suppress_warning http- - # rest-shadowed ==) + # the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10926,8 +11165,7 @@ module Google # Updates the Shielded VM config for a VM instance. You can only use this method # on a stopped VM instance. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10981,8 +11219,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of interconnect attachments. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves an aggregated list of interconnect attachments. # @param [String] project # Project ID for this request. # @param [String] filter @@ -11053,8 +11290,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified interconnect attachment. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified interconnect attachment. # @param [String] project # Project ID for this request. # @param [String] region @@ -11105,8 +11341,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified interconnect attachment. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified interconnect attachment. # @param [String] project # Project ID for this request. # @param [String] region @@ -11146,7 +11381,7 @@ module Google end # Creates an InterconnectAttachment in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -11163,6 +11398,8 @@ module Google # accidentally creating duplicate commitments. # The request ID must be a valid UUID with the exception that zero UUID is not # supported (00000000-0000-0000-0000-000000000000). + # @param [Boolean] validate_only + # If true, the request will not be committed. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11182,7 +11419,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options) command.request_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object @@ -11191,6 +11428,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -11198,7 +11436,7 @@ module Google end # Retrieves the list of interconnect attachments contained within the specified - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -11274,7 +11512,7 @@ module Google # Updates the specified interconnect attachment with the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -11329,8 +11567,7 @@ module Google end # Sets the labels on an InterconnectAttachment. To learn more about labels, read - # the Labeling Resources documentation. (== suppress_warning http-rest-shadowed = - # =) + # the Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -11384,8 +11621,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -11428,8 +11664,7 @@ module Google end # Returns the details for the specified interconnect location. Gets a list of - # available interconnect locations by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # available interconnect locations by making a list() request. # @param [String] project # Project ID for this request. # @param [String] interconnect_location @@ -11466,7 +11701,7 @@ module Google end # Retrieves the list of interconnect locations available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -11537,7 +11772,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified interconnect. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified interconnect. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -11586,7 +11821,7 @@ module Google end # Returns the specified interconnect. Get a list of available interconnects by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -11622,8 +11857,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the interconnectDiagnostics for the specified interconnect. (== - # suppress_warning http-rest-shadowed ==) + # Returns the interconnectDiagnostics for the specified interconnect. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -11660,7 +11894,7 @@ module Google end # Creates a Interconnect in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Interconnect] interconnect_object @@ -11708,8 +11942,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of interconnect available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of interconnect available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -11782,7 +12015,7 @@ module Google # Updates the specified interconnect with the data included in the request. This # method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -11834,7 +12067,7 @@ module Google end # Sets the labels on an Interconnect. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -11873,8 +12106,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -11914,8 +12146,7 @@ module Google end # Return a specified license code. License codes are mirrored across all - # projects that have permissions to read the License Code. (== suppress_warning - # http-rest-shadowed ==) + # projects that have permissions to read the License Code. # @param [String] project # Project ID for this request. # @param [String] license_code @@ -11951,7 +12182,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified license. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified license. # @param [String] project # Project ID for this request. # @param [String] license @@ -11999,8 +12230,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified License resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified License resource. # @param [String] project # Project ID for this request. # @param [String] license @@ -12037,7 +12267,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -12076,8 +12306,7 @@ module Google execute_or_queue_command(command, &block) end - # Create a License resource in the specified project. (== suppress_warning http- - # rest-shadowed ==) + # Create a License resource in the specified project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::License] license_object @@ -12129,8 +12358,7 @@ module Google # does not get any licenses that belong to other projects, including licenses # attached to publicly-available images, like Debian 9. If you want to get a # list of publicly-available licenses, use this method to make a request to the - # respective image project, such as debian-cloud or windows-cloud. (== - # suppress_warning http-rest-shadowed ==) + # respective image project, such as debian-cloud or windows-cloud. # @param [String] project # Project ID for this request. # @param [String] filter @@ -12202,7 +12430,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -12242,7 +12470,7 @@ module Google end # Deletes the specified machine image. Deleting a machine image is permanent and - # cannot be undone. (== suppress_warning http-rest-shadowed ==) + # cannot be undone. # @param [String] project # Project ID for this request. # @param [String] machine_image @@ -12291,7 +12519,7 @@ module Google end # Returns the specified machine image. Gets a list of available machine images - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] machine_image @@ -12328,7 +12556,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -12370,8 +12598,7 @@ module Google # Creates a machine image in the specified project using the data that is # included in the request. If you are creating a new machine image to update an # existing instance, your new machine image should use the same network or, if - # applicable, the same subnetwork as the original instance. (== suppress_warning - # http-rest-shadowed ==) + # applicable, the same subnetwork as the original instance. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::MachineImage] machine_image_object @@ -12423,7 +12650,7 @@ module Google end # Retrieves a list of machine images that are contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -12495,7 +12722,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -12534,8 +12761,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -12574,8 +12800,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of machine types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of machine types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -12647,7 +12872,7 @@ module Google end # Returns the specified machine type. Gets a list of available machine types by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12686,8 +12911,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of machine types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of machine types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12761,8 +12985,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of network endpoint groups and sorts them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of network endpoint groups and sorts them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -12833,8 +13056,7 @@ module Google execute_or_queue_command(command, &block) end - # Attach a list of network endpoints to the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Attach a list of network endpoints to the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12893,7 +13115,7 @@ module Google # Deletes the specified network endpoint group. The network endpoints in the NEG # and the VM instances they belong to are not terminated when the NEG is deleted. # Note that the NEG cannot be deleted if there are backend services referencing - # it. (== suppress_warning http-rest-shadowed ==) + # it. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12946,8 +13168,7 @@ module Google execute_or_queue_command(command, &block) end - # Detach a list of network endpoints from the specified network endpoint group. ( - # == suppress_warning http-rest-shadowed ==) + # Detach a list of network endpoints from the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13004,8 +13225,7 @@ module Google end # Returns the specified network endpoint group. Gets a list of available network - # endpoint groups by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # endpoint groups by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13046,7 +13266,7 @@ module Google end # Creates a network endpoint group in the specified project using the parameters - # that are included in the request. (== suppress_warning http-rest-shadowed ==) + # that are included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13099,7 +13319,7 @@ module Google end # Retrieves the list of network endpoint groups that are located in the - # specified project and zone. (== suppress_warning http-rest-shadowed ==) + # specified project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13174,8 +13394,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the network endpoints in the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Lists the network endpoints in the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13257,8 +13476,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13300,8 +13518,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a peering to the specified network. (== suppress_warning http-rest- - # shadowed ==) + # Adds a peering to the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -13352,7 +13569,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified network. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -13401,7 +13618,7 @@ module Google end # Returns the specified network. Gets a list of available networks by making a - # list() request. (== suppress_warning http-rest-shadowed ==) + # list() request. # @param [String] project # Project ID for this request. # @param [String] network @@ -13438,7 +13655,7 @@ module Google end # Creates a network in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Network] network_object @@ -13486,8 +13703,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of networks available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of networks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -13558,8 +13774,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the peering routes exchanged over peering connection. (== - # suppress_warning http-rest-shadowed ==) + # Lists the peering routes exchanged over peering connection. # @param [String] project # Project ID for this request. # @param [String] network @@ -13644,8 +13859,7 @@ module Google end # Patches the specified network with the data included in the request. Only the - # following fields can be modified: routingConfig.routingMode. (== - # suppress_warning http-rest-shadowed ==) + # following fields can be modified: routingConfig.routingMode. # @param [String] project # Project ID for this request. # @param [String] network @@ -13696,8 +13910,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes a peering from the specified network. (== suppress_warning http-rest- - # shadowed ==) + # Removes a peering from the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -13748,8 +13961,7 @@ module Google execute_or_queue_command(command, &block) end - # Switches the network mode from auto subnet mode to custom subnet mode. (== - # suppress_warning http-rest-shadowed ==) + # Switches the network mode from auto subnet mode to custom subnet mode. # @param [String] project # Project ID for this request. # @param [String] network @@ -13797,8 +14009,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -13839,8 +14050,7 @@ module Google # Updates the specified network peering with the data included in the request # Only the following fields can be modified: NetworkPeering.export_custom_routes, - # and NetworkPeering.import_custom_routes (== suppress_warning http-rest- - # shadowed ==) + # and NetworkPeering.import_custom_routes # @param [String] project # Project ID for this request. # @param [String] network @@ -13891,8 +14101,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds specified number of nodes to the node group. (== suppress_warning http- - # rest-shadowed ==) + # Adds specified number of nodes to the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13947,7 +14156,7 @@ module Google end # Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes - # for more details about each group. (== suppress_warning http-rest-shadowed ==) + # for more details about each group. # @param [String] project # Project ID for this request. # @param [String] filter @@ -14018,8 +14227,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified NodeGroup resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified NodeGroup resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14070,8 +14278,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes specified nodes from the node group. (== suppress_warning http-rest- - # shadowed ==) + # Deletes specified nodes from the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14127,7 +14334,7 @@ module Google # Returns the specified NodeGroup. Get a list of available NodeGroups by making # a list() request. Note: the "nodes" field should not be used. Use nodeGroups. - # listNodes instead. (== suppress_warning http-rest-shadowed ==) + # listNodes instead. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14167,7 +14374,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14210,7 +14417,7 @@ module Google end # Creates a NodeGroup resource in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14265,8 +14472,7 @@ module Google end # Retrieves a list of node groups available to the specified project. Note: use - # nodeGroups.listNodes for more details about each group. (== suppress_warning - # http-rest-shadowed ==) + # nodeGroups.listNodes for more details about each group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14340,7 +14546,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists nodes in the node group. (== suppress_warning http-rest-shadowed ==) + # Lists nodes in the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14417,8 +14623,62 @@ module Google execute_or_queue_command(command, &block) end + # Patch the node group. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] node_group + # Name of the NodeGroup resource to update. + # @param [Google::Apis::ComputeBeta::NodeGroup] node_group_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_node_group(project, zone, node_group, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command.request_representation = Google::Apis::ComputeBeta::NodeGroup::Representation + command.request_object = node_group_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['nodeGroup'] = node_group unless node_group.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14460,8 +14720,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the node template of the node group. (== suppress_warning http-rest- - # shadowed ==) + # Updates the node template of the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14515,8 +14774,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -14558,8 +14816,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of node templates. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of node templates. # @param [String] project # Project ID for this request. # @param [String] filter @@ -14630,8 +14887,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified NodeTemplate resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified NodeTemplate resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -14683,7 +14939,7 @@ module Google end # Returns the specified node template. Gets a list of available node templates - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -14723,7 +14979,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -14766,7 +15022,7 @@ module Google end # Creates a NodeTemplate resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -14817,8 +15073,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of node templates available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of node templates available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -14893,7 +15148,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -14935,8 +15190,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -14978,8 +15232,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of node types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of node types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -15051,7 +15304,7 @@ module Google end # Returns the specified node type. Gets a list of available node types by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -15090,8 +15343,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of node types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of node types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -15165,8 +15417,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of packetMirrorings. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of packetMirrorings. # @param [String] project # Project ID for this request. # @param [String] filter @@ -15237,8 +15488,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified PacketMirroring resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified PacketMirroring resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -15289,8 +15539,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified PacketMirroring resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified PacketMirroring resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -15330,7 +15579,7 @@ module Google end # Creates a PacketMirroring resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -15382,7 +15631,7 @@ module Google end # Retrieves a list of PacketMirroring resources available to the specified - # project and region. (== suppress_warning http-rest-shadowed ==) + # project and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -15458,7 +15707,7 @@ module Google # Patches the specified PacketMirroring resource with the data included in the # request. This method supports PATCH semantics and uses JSON merge patch format - # and processing rules. (== suppress_warning http-rest-shadowed ==) + # and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -15512,8 +15761,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -15555,8 +15803,7 @@ module Google execute_or_queue_command(command, &block) end - # Disable this project as a shared VPC host project. (== suppress_warning http- - # rest-shadowed ==) + # Disable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -15602,7 +15849,7 @@ module Google end # Disable a service resource (also known as service project) associated with - # this host project. (== suppress_warning http-rest-shadowed ==) + # this host project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object @@ -15650,8 +15897,7 @@ module Google execute_or_queue_command(command, &block) end - # Enable this project as a shared VPC host project. (== suppress_warning http- - # rest-shadowed ==) + # Enable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -15697,8 +15943,7 @@ module Google end # Enable service resource (a.k.a service project) for a host project, so that - # subnets in the host project can be used by instances in the service project. (= - # = suppress_warning http-rest-shadowed ==) + # subnets in the host project can be used by instances in the service project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object @@ -15746,8 +15991,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified Project resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified Project resource. # @param [String] project # Project ID for this request. # @param [String] fields @@ -15781,7 +16025,7 @@ module Google end # Gets the shared VPC host project that this project links to. May be empty if - # no link exists. (== suppress_warning http-rest-shadowed ==) + # no link exists. # @param [String] project # Project ID for this request. # @param [String] fields @@ -15815,7 +16059,7 @@ module Google end # Gets service resources (a.k.a service project) associated with this host - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -15886,8 +16130,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all shared VPC host projects visible to the user in an organization. (== - # suppress_warning http-rest-shadowed ==) + # Lists all shared VPC host projects visible to the user in an organization. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object @@ -15961,8 +16204,7 @@ module Google execute_or_queue_command(command, &block) end - # Moves a persistent disk from one zone to another. (== suppress_warning http- - # rest-shadowed ==) + # Moves a persistent disk from one zone to another. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::DiskMoveRequest] disk_move_request_object @@ -16010,8 +16252,7 @@ module Google execute_or_queue_command(command, &block) end - # Moves an instance and its attached persistent disks from one zone to another. ( - # == suppress_warning http-rest-shadowed ==) + # Moves an instance and its attached persistent disks from one zone to another. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::MoveInstanceRequest] move_instance_request_object @@ -16060,7 +16301,7 @@ module Google end # Sets metadata common to all instances within the specified project using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Metadata] metadata_object @@ -16110,7 +16351,7 @@ module Google # Sets the default network tier of the project. The default network tier is used # when an address/forwardingRule/instance is created without specifying the - # network tier field. (== suppress_warning http-rest-shadowed ==) + # network tier field. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsSetDefaultNetworkTierRequest] projects_set_default_network_tier_request_object @@ -16160,8 +16401,7 @@ module Google # Enables the usage export feature and sets the usage export bucket where # reports are stored. If you provide an empty request body using this method, - # the usage export feature will be disabled. (== suppress_warning http-rest- - # shadowed ==) + # the usage export feature will be disabled. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::UsageExportLocation] usage_export_location_object @@ -16209,7 +16449,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] region @@ -16260,7 +16500,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Returns the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] region @@ -16300,7 +16540,7 @@ module Google end # Creates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -16351,8 +16591,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of autoscalers contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of autoscalers contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -16428,7 +16667,7 @@ module Google # Updates an autoscaler in the specified project using the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -16482,8 +16721,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16526,7 +16764,7 @@ module Google end # Updates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -16580,8 +16818,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified regional BackendService resource. (== suppress_warning - # http-rest-shadowed ==) + # Deletes the specified regional BackendService resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16632,8 +16869,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified regional BackendService resource. (== suppress_warning - # http-rest-shadowed ==) + # Returns the specified regional BackendService resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16672,8 +16908,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for this regional BackendService. (== - # suppress_warning http-rest-shadowed ==) + # Gets the most recent health check results for this regional BackendService. # @param [String] project # @param [String] region # Name of the region scoping this request. @@ -16717,7 +16952,7 @@ module Google # Creates a regional BackendService resource in the specified project using the # data included in the request. There are several restrictions and guidelines to # keep in mind when creating a regional backend service. Read Restrictions and - # Guidelines for more information. (== suppress_warning http-rest-shadowed ==) + # Guidelines for more information. # @param [String] project # Project ID for this request. # @param [String] region @@ -16769,8 +17004,7 @@ module Google end # Retrieves the list of regional BackendService resources available to the - # specified project in the given region. (== suppress_warning http-rest-shadowed - # ==) + # specified project in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -16848,7 +17082,7 @@ module Google # in the request. There are several restrictions and guidelines to keep in mind # when updating a backend service. Read Restrictions and Guidelines for more # information. This method supports PATCH semantics and uses the JSON merge - # patch format and processing rules. (== suppress_warning http-rest-shadowed ==) + # patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -16902,8 +17136,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16948,7 +17181,7 @@ module Google # Updates the specified regional BackendService resource with the data included # in the request. There are several restrictions and guidelines to keep in mind # when updating a backend service. Read Restrictions and Guidelines for more - # information. (== suppress_warning http-rest-shadowed ==) + # information. # @param [String] project # Project ID for this request. # @param [String] region @@ -17002,8 +17235,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of commitments. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of commitments. # @param [String] project # Project ID for this request. # @param [String] filter @@ -17075,8 +17307,7 @@ module Google end # Returns the specified commitment resource. Gets a list of available - # commitments by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # commitments by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17116,7 +17347,7 @@ module Google end # Creates a commitment in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17167,8 +17398,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of commitments contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of commitments contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -17243,7 +17473,7 @@ module Google end # Update the shape of reservations for GPUS/Local SSDs of reservations within - # the commitments. (== suppress_warning http-rest-shadowed ==) + # the commitments. # @param [String] project # Project ID for this request. # @param [String] region @@ -17298,7 +17528,7 @@ module Google end # Returns the specified regional disk type. Gets a list of available disk types - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17337,8 +17567,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of regional disk types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of regional disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -17413,8 +17642,7 @@ module Google end # Adds existing resource policies to a regional disk. You can only add one - # policy which will be applied to this disk for scheduling snapshot creation. (== - # suppress_warning http-rest-shadowed ==) + # policy which will be applied to this disk for scheduling snapshot creation. # @param [String] project # Project ID for this request. # @param [String] region @@ -17468,8 +17696,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a snapshot of this regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Creates a snapshot of this regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -17526,8 +17753,7 @@ module Google # Deletes the specified regional persistent disk. Deleting a regional disk # removes all the replicas of its data permanently and is irreversible. However, # deleting a disk does not delete any snapshots previously made from the disk. - # You must separately delete snapshots. (== suppress_warning http-rest-shadowed = - # =) + # You must separately delete snapshots. # @param [String] project # Project ID for this request. # @param [String] region @@ -17578,8 +17804,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns a specified regional persistent disk. (== suppress_warning http-rest- - # shadowed ==) + # Returns a specified regional persistent disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -17619,7 +17844,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -17662,7 +17887,7 @@ module Google end # Creates a persistent regional disk in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17716,8 +17941,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of persistent disks contained within the specified region. ( - # == suppress_warning http-rest-shadowed ==) + # Retrieves the list of persistent disks contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -17791,8 +18015,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes resource policies from a regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Removes resource policies from a regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -17846,8 +18069,7 @@ module Google execute_or_queue_command(command, &block) end - # Resizes the specified regional persistent disk. (== suppress_warning http-rest- - # shadowed ==) + # Resizes the specified regional persistent disk. # @param [String] project # The project ID for this request. # @param [String] region @@ -17902,7 +18124,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -17944,8 +18166,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the labels on the target regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Sets the labels on the target regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -17999,8 +18220,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -18042,8 +18262,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -18095,7 +18314,7 @@ module Google end # Returns the specified HealthCheck resource. Gets a list of available health - # checks by making a list() request. (== suppress_warning http-rest-shadowed ==) + # checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18135,7 +18354,7 @@ module Google end # Creates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18187,7 +18406,6 @@ module Google end # Retrieves the list of HealthCheck resources available to the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -18263,8 +18481,7 @@ module Google # Updates a HealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -18319,7 +18536,7 @@ module Google end # Updates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18384,8 +18601,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18439,8 +18655,7 @@ module Google execute_or_queue_command(command, &block) end - # Apply updates to selected instances the managed instance group. (== - # suppress_warning http-rest-shadowed ==) + # Apply updates to selected instances the managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -18487,7 +18702,7 @@ module Google # instances operation is marked DONE if the createInstances request is # successful. The underlying actions take additional time. You must separately # verify the status of the creating or actions with the listmanagedinstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] region @@ -18542,7 +18757,7 @@ module Google end # Deletes the specified managed instance group and all of the instances in that - # group. (== suppress_warning http-rest-shadowed ==) + # group. # @param [String] project # Project ID for this request. # @param [String] region @@ -18603,8 +18818,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18658,8 +18872,49 @@ module Google execute_or_queue_command(command, &block) end - # Returns all of the details about the specified managed instance group. (== - # suppress_warning http-rest-shadowed ==) + # Deletes selected per-instance configs for the managed instance group. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request, should conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagerDeleteInstanceConfigReq] region_instance_group_manager_delete_instance_config_req_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation + command.request_object = region_instance_group_manager_delete_instance_config_req_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns all of the details about the specified managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -18704,8 +18959,7 @@ module Google # group is created even if the instances in the group have not yet been created. # You must separately verify the status of the individual instances with the # listmanagedinstances method. - # A regional managed instance group can contain up to 2000 instances. (== - # suppress_warning http-rest-shadowed ==) + # A regional managed instance group can contain up to 2000 instances. # @param [String] project # Project ID for this request. # @param [String] region @@ -18757,7 +19011,7 @@ module Google end # Retrieves the list of managed instance groups that are contained within the - # specified region. (== suppress_warning http-rest-shadowed ==) + # specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -18831,9 +19085,89 @@ module Google execute_or_queue_command(command, &block) end + # Lists all errors thrown by actions on instances for a given regional managed + # instance group. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. This should conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It must be a string that meets the + # requirements in RFC1035, or an unsigned long integer: must match regexp + # pattern: (?:[a-z](?:[-a-z0-9]`0,61`[a-z0-9])?)|[1-9][0-9]`0,19`. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse::Representation + command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Lists the instances in the managed instance group and instances that are # scheduled to be created. The list includes any current actions that the group - # has scheduled for its instances. (== suppress_warning http-rest-shadowed ==) + # has scheduled for its instances. # @param [String] project # Project ID for this request. # @param [String] region @@ -18910,13 +19244,89 @@ module Google execute_or_queue_command(command, &block) end + # Lists all of the per-instance configs defined for the managed instance group. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request, should conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Representation + command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates a managed instance group using the information that you specify in the # request. This operation is marked as DONE when the group is patched even if # the instances in the group are still in the process of being patched. You must # separately verify the status of the individual instances with the # listmanagedinstances method. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -18970,6 +19380,62 @@ module Google execute_or_queue_command(command, &block) end + # Insert or patch (for the ones that already exist) per-instance configs for the + # managed instance group. perInstanceConfig.instance serves as a key used to + # distinguish whether to perform insert or patch. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request, should conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagerPatchInstanceConfigReq] region_instance_group_manager_patch_instance_config_req_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_patch_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerPatchInstanceConfigReq::Representation + command.request_object = region_instance_group_manager_patch_instance_config_req_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Flags the specified instances in the managed instance group to be immediately # recreated. The instances are deleted and recreated using the current instance # template for the managed instance group. This operation is marked as DONE when @@ -18979,8 +19445,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -19042,8 +19507,7 @@ module Google # of the creating or deleting actions with the listmanagedinstances method. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] region @@ -19098,8 +19562,7 @@ module Google end # Modifies the autohealing policy for the instances in this managed instance - # group. [Deprecated] This method is deprecated. Please use Patch instead. (== - # suppress_warning http-rest-shadowed ==) + # group. [Deprecated] This method is deprecated. Please use Patch instead. # @param [String] project # Project ID for this request. # @param [String] region @@ -19154,8 +19617,7 @@ module Google end # Sets the instance template to use when creating new instances or recreating - # instances in this group. Existing instances are not affected. (== - # suppress_warning http-rest-shadowed ==) + # instances in this group. Existing instances are not affected. # @param [String] project # Project ID for this request. # @param [String] region @@ -19210,8 +19672,7 @@ module Google end # Modifies the target pools to which all new instances in this group are - # assigned. Existing instances in the group are not affected. (== - # suppress_warning http-rest-shadowed ==) + # assigned. Existing instances in the group are not affected. # @param [String] project # Project ID for this request. # @param [String] region @@ -19265,8 +19726,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -19312,7 +19772,7 @@ module Google # request. This operation is marked as DONE when the group is updated even if # the instances in the group have not yet been updated. You must separately # verify the status of the individual instances with the listmanagedinstances - # method. (== suppress_warning http-rest-shadowed ==) + # method. # @param [String] project # Project ID for this request. # @param [String] region @@ -19366,8 +19826,63 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified instance group resource. (== suppress_warning http-rest- - # shadowed ==) + # Insert or update (for the ones that already exist) per-instance configs for + # the managed instance group. perInstanceConfig.instance serves as a key used to + # distinguish whether to perform insert or patch. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request, should conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagerUpdateInstanceConfigReq] region_instance_group_manager_update_instance_config_req_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation + command.request_object = region_instance_group_manager_update_instance_config_req_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified instance group resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -19407,7 +19922,7 @@ module Google end # Retrieves the list of instance group resources contained within the specified - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -19483,8 +19998,7 @@ module Google # Lists the instances in the specified instance group and displays information # about the named ports. Depending on the specified options, this method can - # list all instances or only the instances that are running. (== - # suppress_warning http-rest-shadowed ==) + # list all instances or only the instances that are running. # @param [String] project # Project ID for this request. # @param [String] region @@ -19564,8 +20078,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the named ports for the specified regional instance group. (== - # suppress_warning http-rest-shadowed ==) + # Sets the named ports for the specified regional instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -19619,8 +20132,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -19662,8 +20174,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified region-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Deletes the specified region-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -19700,8 +20211,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the specified region-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the specified region-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -19741,7 +20251,6 @@ module Google end # Retrieves a list of Operation resources contained within the specified region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -19815,8 +20324,54 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified SslCertificate resource in the region. (== - # suppress_warning http-rest-shadowed ==) + # Waits for the specified region-specific Operations resource until it is done + # or timeout, and retrieves the specified Operations resource. 1. Immediately + # returns when the operation is already done. 2. Waits for no more than the + # default deadline (2 minutes, subject to change) and then returns the current + # state of the operation, which may be DONE or still in progress. 3. Is best- + # effort: a. The server can wait less than the default deadline or zero seconds, + # in overload situations. b. There is no guarantee that the operation is + # actually done when returns. 4. User should be prepared to retry if the + # operation is not DONE. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] operation + # Name of the Operations resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/operations/{operation}/wait', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['operation'] = operation unless operation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified SslCertificate resource in the region. # @param [String] project # Project ID for this request. # @param [String] region @@ -19868,8 +20423,7 @@ module Google end # Returns the specified SslCertificate resource in the specified region. Get a - # list of available SSL certificates by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available SSL certificates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -19909,7 +20463,7 @@ module Google end # Creates a SslCertificate resource in the specified project and region using - # the data included in the request (== suppress_warning http-rest-shadowed ==) + # the data included in the request # @param [String] project # Project ID for this request. # @param [String] region @@ -19961,7 +20515,7 @@ module Google end # Retrieves the list of SslCertificate resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -20035,8 +20589,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetHttpProxy resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20088,8 +20641,7 @@ module Google end # Returns the specified TargetHttpProxy resource in the specified region. Gets a - # list of available target HTTP proxies by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20129,7 +20681,7 @@ module Google end # Creates a TargetHttpProxy resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20181,7 +20733,7 @@ module Google end # Retrieves the list of TargetHttpProxy resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -20255,8 +20807,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -20310,8 +20861,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpsProxy resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified TargetHttpsProxy resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20363,8 +20913,7 @@ module Google end # Returns the specified TargetHttpsProxy resource in the specified region. Gets - # a list of available target HTTP proxies by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # a list of available target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20404,7 +20953,7 @@ module Google end # Creates a TargetHttpsProxy resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20456,7 +21005,7 @@ module Google end # Retrieves the list of TargetHttpsProxy resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -20530,8 +21079,7 @@ module Google execute_or_queue_command(command, &block) end - # Replaces SslCertificates for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Replaces SslCertificates for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -20585,8 +21133,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -20640,8 +21187,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified UrlMap resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified UrlMap resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -20684,7 +21230,7 @@ module Google end # Returns the specified UrlMap resource. Gets a list of available URL maps by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20724,7 +21270,7 @@ module Google end # Creates a UrlMap resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20767,7 +21313,7 @@ module Google end # Initiates a cache invalidation operation, invalidating the specified path, - # scoped to the specified UrlMap. (== suppress_warning http-rest-shadowed ==) + # scoped to the specified UrlMap. # @param [String] project # Project ID for this request. # @param [String] region @@ -20813,7 +21359,7 @@ module Google end # Retrieves the list of UrlMap resources available to the specified project in - # the specified region. (== suppress_warning http-rest-shadowed ==) + # the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -20889,7 +21435,7 @@ module Google # Patches the specified UrlMap resource with the data included in the request. # This method supports PATCH semantics and uses JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -20934,8 +21480,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified UrlMap resource with the data included in the request. (= - # = suppress_warning http-rest-shadowed ==) + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -20981,8 +21526,7 @@ module Google end # Runs static validation for the UrlMap. In particular, the tests of the - # provided UrlMap will be run. Calling this method does NOT create the UrlMap. (= - # = suppress_warning http-rest-shadowed ==) + # provided UrlMap will be run. Calling this method does NOT create the UrlMap. # @param [String] project # Project ID for this request. # @param [String] region @@ -21025,7 +21569,7 @@ module Google end # Returns the specified Region resource. Gets a list of available regions by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -21061,8 +21605,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of region resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of region resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -21133,8 +21676,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of reservations. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of reservations. # @param [String] project # Project ID for this request. # @param [String] filter @@ -21205,7 +21747,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified reservation. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified reservation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21256,8 +21798,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves information about the specified reservation. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves information about the specified reservation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21297,7 +21838,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21340,7 +21881,7 @@ module Google end # Creates a new reservation. For more information, read Reserving zonal - # resources. (== suppress_warning http-rest-shadowed ==) + # resources. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21392,7 +21933,7 @@ module Google end # A list of all the reservations that have been configured for the specified - # project in specified zone. (== suppress_warning http-rest-shadowed ==) + # project in specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21467,8 +22008,7 @@ module Google end # Resizes the reservation (applicable to standalone reservations only). For more - # information, read Modifying reservations. (== suppress_warning http-rest- - # shadowed ==) + # information, read Modifying reservations. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21523,7 +22063,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21565,8 +22105,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -21608,8 +22147,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of resource policies. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of resource policies. # @param [String] project # Project ID for this request. # @param [String] filter @@ -21680,8 +22218,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified resource policy. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -21732,8 +22269,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves all information of the specified resource policy. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves all information of the specified resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -21773,7 +22309,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -21815,7 +22351,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new resource policy. (== suppress_warning http-rest-shadowed ==) + # Creates a new resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -21867,7 +22403,7 @@ module Google end # A list all the resource policies that have been configured for the specified - # project in specified region. (== suppress_warning http-rest-shadowed ==) + # project in specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -21942,7 +22478,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -21984,8 +22520,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -22027,8 +22562,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of routers. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of routers. # @param [String] project # Project ID for this request. # @param [String] filter @@ -22099,8 +22633,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Router resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified Router resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -22152,7 +22685,7 @@ module Google end # Returns the specified Router resource. Gets a list of available routers by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -22191,8 +22724,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves runtime Nat mapping information of VM endpoints. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves runtime Nat mapping information of VM endpoints. # @param [String] project # Project ID for this request. # @param [String] region @@ -22275,8 +22807,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves runtime information of the specified router. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves runtime information of the specified router. # @param [String] project # Project ID for this request. # @param [String] region @@ -22316,7 +22847,7 @@ module Google end # Creates a Router resource in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -22367,8 +22898,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of Router resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of Router resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -22444,7 +22974,7 @@ module Google # Patches the specified Router resource with the data included in the request. # This method supports PATCH semantics and uses JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -22499,8 +23029,7 @@ module Google end # Preview fields auto-generated during router create and update operations. - # Calling this method does NOT create or update the router. (== suppress_warning - # http-rest-shadowed ==) + # Calling this method does NOT create or update the router. # @param [String] project # Project ID for this request. # @param [String] region @@ -22542,8 +23071,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -22588,8 +23116,7 @@ module Google # Updates the specified Router resource with the data included in the request. # This method conforms to PUT semantics, which requests that the state of the # target resource be created or replaced with the state defined by the - # representation enclosed in the request message payload. (== suppress_warning - # http-rest-shadowed ==) + # representation enclosed in the request message payload. # @param [String] project # Project ID for this request. # @param [String] region @@ -22643,8 +23170,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Route resource. (== suppress_warning http-rest-shadowed = - # =) + # Deletes the specified Route resource. # @param [String] project # Project ID for this request. # @param [String] route @@ -22693,7 +23219,7 @@ module Google end # Returns the specified Route resource. Gets a list of available routes by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] route @@ -22730,7 +23256,7 @@ module Google end # Creates a Route resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Route] route_object @@ -22778,8 +23304,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of Route resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of Route resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -22850,8 +23375,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -22890,8 +23414,7 @@ module Google execute_or_queue_command(command, &block) end - # Inserts a rule into a security policy. (== suppress_warning http-rest-shadowed - # ==) + # Inserts a rule into a security policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -22933,7 +23456,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified policy. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -22981,8 +23504,7 @@ module Google execute_or_queue_command(command, &block) end - # List all of the ordered rules present in a single specified policy. (== - # suppress_warning http-rest-shadowed ==) + # List all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -23018,8 +23540,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets a rule at the specified priority. (== suppress_warning http-rest-shadowed - # ==) + # Gets a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -23059,7 +23580,7 @@ module Google end # Creates a new policy in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::SecurityPolicy] security_policy_object @@ -23110,8 +23631,7 @@ module Google execute_or_queue_command(command, &block) end - # List all the policies that have been configured for the specified project. (== - # suppress_warning http-rest-shadowed ==) + # List all the policies that have been configured for the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -23183,7 +23703,7 @@ module Google end # Gets the current list of preconfigured Web Application Firewall (WAF) - # expressions. (== suppress_warning http-rest-shadowed ==) + # expressions. # @param [String] project # Project ID for this request. # @param [String] filter @@ -23254,8 +23774,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches the specified policy with the data included in the request. (== - # suppress_warning http-rest-shadowed ==) + # Patches the specified policy with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -23306,8 +23825,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Patches a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -23352,8 +23870,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Deletes a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -23393,7 +23910,7 @@ module Google end # Sets the labels on a security policy. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -23432,8 +23949,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -23476,8 +23992,7 @@ module Google # snapshot might not necessarily delete all the data on that snapshot. If any # data on the snapshot that is marked for deletion is needed for subsequent # snapshots, the data will be moved to the next corresponding snapshot. - # For more information, see Deleting snapshots. (== suppress_warning http-rest- - # shadowed ==) + # For more information, see Deleting snapshots. # @param [String] project # Project ID for this request. # @param [String] snapshot @@ -23526,7 +24041,7 @@ module Google end # Returns the specified Snapshot resource. Gets a list of available snapshots by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] snapshot @@ -23563,7 +24078,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -23603,7 +24118,7 @@ module Google end # Retrieves the list of Snapshot resources contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -23675,7 +24190,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -23715,7 +24230,7 @@ module Google end # Sets the labels on a snapshot. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -23754,8 +24269,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -23795,7 +24309,7 @@ module Google end # Retrieves the list of all SslCertificate resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -23866,8 +24380,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified SslCertificate resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified SslCertificate resource. # @param [String] project # Project ID for this request. # @param [String] ssl_certificate @@ -23916,8 +24429,7 @@ module Google end # Returns the specified SslCertificate resource. Gets a list of available SSL - # certificates by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # certificates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] ssl_certificate @@ -23954,7 +24466,7 @@ module Google end # Creates a SslCertificate resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::SslCertificate] ssl_certificate_object @@ -24003,7 +24515,7 @@ module Google end # Retrieves the list of SslCertificate resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -24074,8 +24586,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -24115,8 +24626,7 @@ module Google end # Deletes the specified SSL policy. The SSL policy resource can be deleted only - # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. (== - # suppress_warning http-rest-shadowed ==) + # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -24165,8 +24675,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all of the ordered rules present in a single specified policy. (== - # suppress_warning http-rest-shadowed ==) + # Lists all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -24204,8 +24713,7 @@ module Google end # Returns the specified SSL policy resource. Gets a list of available SSL - # policies by making a list() request. (== suppress_warning http-rest-shadowed == - # ) + # policies by making a list() request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::SslPolicy] ssl_policy_object @@ -24254,7 +24762,6 @@ module Google end # Lists all the SSL policies that have been configured for the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -24326,7 +24833,7 @@ module Google end # Lists all features that can be specified in the SSL policy when using custom - # profile. (== suppress_warning http-rest-shadowed ==) + # profile. # @param [String] project # Project ID for this request. # @param [String] filter @@ -24397,8 +24904,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches the specified SSL policy with the data included in the request. (== - # suppress_warning http-rest-shadowed ==) + # Patches the specified SSL policy with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -24450,8 +24956,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -24490,8 +24995,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of subnetworks. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of subnetworks. # @param [String] project # Project ID for this request. # @param [String] filter @@ -24562,7 +25066,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified subnetwork. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified subnetwork. # @param [String] project # Project ID for this request. # @param [String] region @@ -24613,8 +25117,7 @@ module Google execute_or_queue_command(command, &block) end - # Expands the IP CIDR range of the subnetwork to a specified value. (== - # suppress_warning http-rest-shadowed ==) + # Expands the IP CIDR range of the subnetwork to a specified value. # @param [String] project # Project ID for this request. # @param [String] region @@ -24669,7 +25172,7 @@ module Google end # Returns the specified subnetwork. Gets a list of available subnetworks list() - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24709,7 +25212,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -24752,7 +25255,7 @@ module Google end # Creates a subnetwork in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24803,8 +25306,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of subnetworks available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of subnetworks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -24880,8 +25382,7 @@ module Google # Retrieves an aggregated list of all usable subnetworks in the project. The # list contains all of the subnetworks in the project and the subnetworks that - # were shared by a Shared VPC host project. (== suppress_warning http-rest- - # shadowed ==) + # were shared by a Shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -24955,7 +25456,7 @@ module Google # Patches the specified subnetwork with the data included in the request. Only # certain fields can up updated with a patch request as indicated in the field # descriptions. You must specify the current fingeprint of the subnetwork - # resource being patched. (== suppress_warning http-rest-shadowed ==) + # resource being patched. # @param [String] project # Project ID for this request. # @param [String] region @@ -25019,7 +25520,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -25062,8 +25563,7 @@ module Google end # Set whether VMs in this subnet can access Google services without assigning - # external IP addresses through Private Google Access. (== suppress_warning http- - # rest-shadowed ==) + # external IP addresses through Private Google Access. # @param [String] project # Project ID for this request. # @param [String] region @@ -25117,8 +25617,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -25161,7 +25660,7 @@ module Google end # Retrieves the list of all TargetHttpProxy resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -25232,8 +25731,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetHttpProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -25282,8 +25780,7 @@ module Google end # Returns the specified TargetHttpProxy resource. Gets a list of available - # target HTTP proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -25320,7 +25817,7 @@ module Google end # Creates a TargetHttpProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::TargetHttpProxy] target_http_proxy_object @@ -25369,7 +25866,7 @@ module Google end # Retrieves the list of TargetHttpProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -25440,8 +25937,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpProxy. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -25492,8 +25988,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -25533,7 +26028,7 @@ module Google end # Retrieves the list of all TargetHttpsProxy resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -25604,8 +26099,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpsProxy resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified TargetHttpsProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -25654,8 +26148,7 @@ module Google end # Returns the specified TargetHttpsProxy resource. Gets a list of available - # target HTTPS proxies by making a list() request. (== suppress_warning http- - # rest-shadowed ==) + # target HTTPS proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -25692,7 +26185,7 @@ module Google end # Creates a TargetHttpsProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::TargetHttpsProxy] target_https_proxy_object @@ -25741,7 +26234,7 @@ module Google end # Retrieves the list of TargetHttpsProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -25812,8 +26305,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the QUIC override policy for TargetHttpsProxy. (== suppress_warning http- - # rest-shadowed ==) + # Sets the QUIC override policy for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -25865,8 +26357,7 @@ module Google execute_or_queue_command(command, &block) end - # Replaces SslCertificates for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Replaces SslCertificates for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -25920,7 +26411,7 @@ module Google # Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server- # side support for SSL features. This affects connections between clients and # the HTTPS proxy load balancer. They do not affect the connection between the - # load balancer and the backends. (== suppress_warning http-rest-shadowed ==) + # load balancer and the backends. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -25972,8 +26463,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -26024,8 +26514,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -26064,8 +26553,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target instances. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of target instances. # @param [String] project # Project ID for this request. # @param [String] filter @@ -26136,8 +26624,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetInstance resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetInstance resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26189,8 +26676,7 @@ module Google end # Returns the specified TargetInstance resource. Gets a list of available target - # instances by making a list() request. (== suppress_warning http-rest-shadowed = - # =) + # instances by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26230,7 +26716,7 @@ module Google end # Creates a TargetInstance resource in the specified project and zone using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26282,7 +26768,7 @@ module Google end # Retrieves a list of TargetInstance resources available to the specified - # project and zone. (== suppress_warning http-rest-shadowed ==) + # project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26356,8 +26842,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26399,8 +26884,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds health check URLs to a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Adds health check URLs to a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -26454,7 +26938,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds an instance to a target pool. (== suppress_warning http-rest-shadowed ==) + # Adds an instance to a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -26508,8 +26992,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target pools. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of target pools. # @param [String] project # Project ID for this request. # @param [String] filter @@ -26580,7 +27063,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified target pool. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -26632,7 +27115,7 @@ module Google end # Returns the specified target pool. Gets a list of available target pools by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -26672,8 +27155,7 @@ module Google end # Gets the most recent health check results for each IP for the instance that is - # referenced by the given target pool. (== suppress_warning http-rest-shadowed == - # ) + # referenced by the given target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -26716,7 +27198,7 @@ module Google end # Creates a target pool in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -26768,7 +27250,6 @@ module Google end # Retrieves a list of target pools available to the specified project and region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -26842,8 +27323,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes health check URL from a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Removes health check URL from a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -26897,8 +27377,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes instance URL from a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Removes instance URL from a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -26952,8 +27431,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes a backup target pool's configurations. (== suppress_warning http-rest- - # shadowed ==) + # Changes a backup target pool's configurations. # @param [String] project # Project ID for this request. # @param [String] region @@ -27010,8 +27488,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -27053,8 +27530,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetSslProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetSslProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -27103,8 +27579,7 @@ module Google end # Returns the specified TargetSslProxy resource. Gets a list of available target - # SSL proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # SSL proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -27141,7 +27616,7 @@ module Google end # Creates a TargetSslProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::TargetSslProxy] target_ssl_proxy_object @@ -27190,7 +27665,7 @@ module Google end # Retrieves the list of TargetSslProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -27261,8 +27736,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the BackendService for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the BackendService for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -27313,8 +27787,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the ProxyHeaderType for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the ProxyHeaderType for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -27365,8 +27838,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes SslCertificates for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes SslCertificates for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -27420,7 +27892,7 @@ module Google # Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server- # side support for SSL features. This affects connections between clients and # the SSL proxy load balancer. They do not affect the connection between the - # load balancer and the backends. (== suppress_warning http-rest-shadowed ==) + # load balancer and the backends. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -27472,8 +27944,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -27512,8 +27983,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetTcpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetTcpProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -27562,8 +28032,7 @@ module Google end # Returns the specified TargetTcpProxy resource. Gets a list of available target - # TCP proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # TCP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -27600,7 +28069,7 @@ module Google end # Creates a TargetTcpProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::TargetTcpProxy] target_tcp_proxy_object @@ -27649,7 +28118,7 @@ module Google end # Retrieves the list of TargetTcpProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -27720,8 +28189,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the BackendService for TargetTcpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the BackendService for TargetTcpProxy. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -27772,8 +28240,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the ProxyHeaderType for TargetTcpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the ProxyHeaderType for TargetTcpProxy. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -27824,8 +28291,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target VPN gateways. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of target VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -27896,8 +28362,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified target VPN gateway. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified target VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -27949,8 +28414,7 @@ module Google end # Returns the specified target VPN gateway. Gets a list of available target VPN - # gateways by making a list() request. (== suppress_warning http-rest-shadowed == - # ) + # gateways by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -27990,7 +28454,7 @@ module Google end # Creates a target VPN gateway in the specified project and region using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -28042,7 +28506,7 @@ module Google end # Retrieves a list of target VPN gateways available to the specified project and - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -28117,7 +28581,7 @@ module Google end # Sets the labels on a TargetVpnGateway. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -28171,8 +28635,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -28215,7 +28678,7 @@ module Google end # Retrieves the list of all UrlMap resources, regional and global, available to - # the specified project. (== suppress_warning http-rest-shadowed ==) + # the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -28286,8 +28749,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified UrlMap resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified UrlMap resource. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -28336,7 +28798,7 @@ module Google end # Returns the specified UrlMap resource. Gets a list of available URL maps by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -28373,7 +28835,7 @@ module Google end # Creates a UrlMap resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::UrlMap] url_map_object @@ -28422,7 +28884,7 @@ module Google end # Initiates a cache invalidation operation, invalidating the specified path, - # scoped to the specified UrlMap. (== suppress_warning http-rest-shadowed ==) + # scoped to the specified UrlMap. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -28473,8 +28935,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of UrlMap resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of UrlMap resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -28547,7 +29008,7 @@ module Google # Patches the specified UrlMap resource with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -28598,8 +29059,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -28638,8 +29098,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified UrlMap resource with the data included in the request. (= - # = suppress_warning http-rest-shadowed ==) + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -28691,8 +29150,7 @@ module Google end # Runs static validation for the UrlMap. In particular, the tests of the - # provided UrlMap will be run. Calling this method does NOT create the UrlMap. (= - # = suppress_warning http-rest-shadowed ==) + # provided UrlMap will be run. Calling this method does NOT create the UrlMap. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -28731,8 +29189,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of VPN gateways. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -28803,7 +29260,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified VPN gateway. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -28855,7 +29312,7 @@ module Google end # Returns the specified VPN gateway. Gets a list of available VPN gateways by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -28894,8 +29351,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the status for the specified VPN gateway. (== suppress_warning http- - # rest-shadowed ==) + # Returns the status for the specified VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -28935,7 +29391,7 @@ module Google end # Creates a VPN gateway in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -28987,7 +29443,6 @@ module Google end # Retrieves a list of VPN gateways available to the specified project and region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -29062,7 +29517,7 @@ module Google end # Sets the labels on a VpnGateway. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -29116,8 +29571,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of VPN tunnels. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of VPN tunnels. # @param [String] project # Project ID for this request. # @param [String] filter @@ -29188,8 +29642,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified VpnTunnel resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified VpnTunnel resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -29241,7 +29694,7 @@ module Google end # Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -29281,7 +29734,7 @@ module Google end # Creates a VpnTunnel resource in the specified project and region using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -29333,7 +29786,7 @@ module Google end # Retrieves a list of VpnTunnel resources contained in the specified project and - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -29408,7 +29861,7 @@ module Google end # Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -29462,8 +29915,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -29505,8 +29957,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified zone-specific Operations resource. (== suppress_warning - # http-rest-shadowed ==) + # Deletes the specified zone-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -29543,8 +29994,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the specified zone-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the specified zone-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -29583,8 +30033,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of Operation resources contained within the specified zone. (= - # = suppress_warning http-rest-shadowed ==) + # Retrieves a list of Operation resources contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -29658,8 +30107,55 @@ module Google execute_or_queue_command(command, &block) end + # Waits for the specified zone-specific Operations resource until it is done or + # timeout, and retrieves the specified Operations resource. 1. Immediately + # returns when the operation is already done. 2. Waits for no more than the + # default deadline (2 minutes, subject to change) and then returns the current + # state of the operation, which may be DONE or still in progress. 3. Is best- + # effort: a. The server can wait less than the default deadline or zero seconds, + # in overload situations. b. There is no guarantee that the operation is + # actually done when returns. 4. User should be prepared to retry if the + # operation is not DONE. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # Name of the zone for this request. + # @param [String] operation + # Name of the Operations resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/operations/{operation}/wait', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['operation'] = operation unless operation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns the specified Zone resource. Gets a list of available zones by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -29695,8 +30191,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of Zone resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of Zone resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 987cf46c3..06f4e5e38 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -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' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 5a8cb261a..95b823afc 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -1285,9 +1285,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 @@ -1536,6 +1537,15 @@ module Google # @return [String] attr_accessor :name + # [Output Only] Target recommended MIG size (number of instances) computed by + # autoscaler. Autoscaler calculates recommended MIG size even when autoscaling + # policy mode is different from ON. This field is empty when autoscaler is not + # connected to the existing managed instance group or autoscaler did not + # generate its prediction. + # Corresponds to the JSON property `recommendedSize` + # @return [Fixnum] + attr_accessor :recommended_size + # [Output Only] URL of the region where the instance group resides (for # autoscalers living in regional scope). # Corresponds to the JSON property `region` @@ -1589,6 +1599,7 @@ module Google @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) + @recommended_size = args[:recommended_size] if args.key?(:recommended_size) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) @@ -2033,6 +2044,11 @@ module Google # @return [Fixnum] attr_accessor :min_num_replicas + # Defines operating mode for this policy. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + def initialize(**args) update!(**args) end @@ -2045,6 +2061,7 @@ module Google @load_balancing_utilization = args[:load_balancing_utilization] if args.key?(:load_balancing_utilization) @max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas) @min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas) + @mode = args[:mode] if args.key?(:mode) end end @@ -2664,6 +2681,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 @@ -2738,8 +2757,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 @@ -3258,6 +3278,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` @@ -5424,6 +5460,171 @@ module Google end end + # + class ExchangedPeeringRoute + include Google::Apis::Core::Hashable + + # The destination range of the route. + # Corresponds to the JSON property `destRange` + # @return [String] + attr_accessor :dest_range + + # True if the peering route has been imported from a peer. The actual import + # happens if the field networkPeering.importCustomRoutes is true for this + # network, and networkPeering.exportCustomRoutes is true for the peer network, + # and the import does not result in a route conflict. + # Corresponds to the JSON property `imported` + # @return [Boolean] + attr_accessor :imported + alias_method :imported?, :imported + + # The region of peering route next hop, only applies to dynamic routes. + # Corresponds to the JSON property `nextHopRegion` + # @return [String] + attr_accessor :next_hop_region + + # The priority of the peering route. + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + + # The type of the peering route. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dest_range = args[:dest_range] if args.key?(:dest_range) + @imported = args[:imported] if args.key?(:imported) + @next_hop_region = args[:next_hop_region] if args.key?(:next_hop_region) + @priority = args[:priority] if args.key?(:priority) + @type = args[:type] if args.key?(:type) + end + end + + # + class ExchangedPeeringRoutesList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of ExchangedPeeringRoute resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#exchangedPeeringRoutesList for + # exchanged peering routes lists. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeV1::ExchangedPeeringRoutesList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # Represents an expression text. Example: # title: "User account presence" description: "Determines whether the request # has a user account" expression: "size(request.user) > 0" @@ -6186,8 +6387,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) @@ -6261,15 +6462,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. @@ -6305,23 +6508,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, @@ -6329,16 +6525,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] attr_accessor :ports @@ -6825,32 +7025,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::ComputeV1::Policy] attr_accessor :policy @@ -6878,7 +7080,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 @@ -7986,7 +8188,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` @@ -8302,7 +8504,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 @@ -8315,7 +8517,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 @@ -8324,7 +8526,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 @@ -8593,7 +8795,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::ComputeV1::HttpRouteAction] attr_accessor :route_action @@ -8636,10 +8839,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] @@ -8653,30 +8856,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] 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. @@ -8690,7 +8893,7 @@ module Google # @return [Array] 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 @@ -9685,14 +9888,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 @@ -10584,6 +10790,12 @@ module Google attr_accessor :is_stable alias_method :is_stable?, :is_stable + # [Output Only] A status of consistency of Instances' versions with their target + # version specified by version field on Instance Group Manager. + # Corresponds to the JSON property `versionTarget` + # @return [Google::Apis::ComputeV1::InstanceGroupManagerStatusVersionTarget] + attr_accessor :version_target + def initialize(**args) update!(**args) end @@ -10591,6 +10803,30 @@ module Google # Update properties of this object def update!(**args) @is_stable = args[:is_stable] if args.key?(:is_stable) + @version_target = args[:version_target] if args.key?(:version_target) + end + end + + # + class InstanceGroupManagerStatusVersionTarget + include Google::Apis::Core::Hashable + + # [Output Only] A bit indicating whether version target has been reached in this + # managed instance group, i.e. all instances are in their target version. + # Instances' target version are specified by version field on Instance Group + # Manager. + # Corresponds to the JSON property `isReached` + # @return [Boolean] + attr_accessor :is_reached + alias_method :is_reached?, :is_reached + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_reached = args[:is_reached] if args.key?(:is_reached) end end @@ -10598,6 +10834,15 @@ module Google class InstanceGroupManagerUpdatePolicy include Google::Apis::Core::Hashable + # The instance redistribution policy for regional managed instance groups. + # Valid values are: + # - PROACTIVE (default): The group attempts to maintain an even distribution of + # VM instances across zones in the region. + # - NONE: For non-autoscaled groups, proactive redistribution is disabled. + # Corresponds to the JSON property `instanceRedistributionType` + # @return [String] + attr_accessor :instance_redistribution_type + # Encapsulates numeric value that can be either absolute or relative. # Corresponds to the JSON property `maxSurge` # @return [Google::Apis::ComputeV1::FixedOrPercent] @@ -10633,6 +10878,7 @@ module Google # Update properties of this object def update!(**args) + @instance_redistribution_type = args[:instance_redistribution_type] if args.key?(:instance_redistribution_type) @max_surge = args[:max_surge] if args.key?(:max_surge) @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable) @minimal_action = args[:minimal_action] if args.key?(:minimal_action) @@ -10694,6 +10940,25 @@ module Google end end + # InstanceGroupManagers.createInstances + class InstanceGroupManagersCreateInstancesRequest + include Google::Apis::Core::Hashable + + # [Required] List of specifications of per-instance configs. + # Corresponds to the JSON property `instances` + # @return [Array] + 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 InstanceGroupManagersDeleteInstancesRequest include Google::Apis::Core::Hashable @@ -14805,12 +15070,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 @@ -14958,7 +15223,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` @@ -15009,7 +15274,7 @@ module Google end end - # The network endpoint. + # The network endpoint. Next ID: 7 class NetworkEndpoint include Google::Apis::Core::Hashable @@ -15052,7 +15317,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 @@ -15659,7 +15924,7 @@ module Google # @return [Array] attr_accessor :healths - # The network endpoint. + # The network endpoint. Next ID: 7 # Corresponds to the JSON property `networkEndpoint` # @return [Google::Apis::ComputeV1::NetworkEndpoint] attr_accessor :network_endpoint @@ -16082,7 +16347,7 @@ 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 @@ -16714,7 +16979,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 @@ -18413,10 +18678,9 @@ module Google # @return [Array] 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` @@ -18493,32 +18757,68 @@ module Google end end - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. + # + class PerInstanceConfig + include Google::Apis::Core::Hashable + + # Fingerprint of this per-instance config. This field may be used in optimistic + # locking. It will be ignored when inserting a per-instance config. An up-to- + # date fingerprint must be provided in order to update an existing per-instance + # config or the field needs to be unset. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + + # The name of the per-instance config and the corresponding instance. Serves as + # a merge key during UpdatePerInstanceConfigs operation, i.e. if per-instance + # config with the same name exists then it will be updated, otherwise a new one + # will be created for the VM instance with the same name. An attempt to create a + # per-instance config for a VM instance that either doesn't exist or is not part + # of the group will result in a failure. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @name = args[:name] if args.key?(:name) + end + end + + # 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 @@ -18527,9 +18827,9 @@ module Google # @return [Array] 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] attr_accessor :bindings @@ -18541,10 +18841,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] @@ -18568,15 +18868,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 @@ -19515,6 +19820,25 @@ module Google end end + # RegionInstanceGroupManagers.createInstances + class RegionInstanceGroupManagersCreateInstancesRequest + include Google::Apis::Core::Hashable + + # [Required] List of specifications of per-instance configs. + # Corresponds to the JSON property `instances` + # @return [Array] + 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 RegionInstanceGroupManagersDeleteInstancesRequest include Google::Apis::Core::Hashable @@ -19964,32 +20288,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::ComputeV1::Policy] attr_accessor :policy @@ -23746,7 +24072,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 @@ -25294,11 +25622,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 @@ -25666,11 +25995,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 @@ -29063,7 +29393,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 @@ -30602,32 +30932,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::ComputeV1::Policy] attr_accessor :policy diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 722fda25d..a71466401 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -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 diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index cf49e5859..815db40e6 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -51,8 +51,7 @@ module Google @batch_path = 'batch/compute/v1' end - # Retrieves an aggregated list of accelerator types. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of accelerator types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -123,8 +122,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified accelerator type. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified accelerator type. # @param [String] project # Project ID for this request. # @param [String] zone @@ -163,8 +161,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of accelerator types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of accelerator types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -238,8 +235,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of addresses. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -310,8 +306,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified address resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -362,8 +357,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified address resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -403,7 +397,7 @@ module Google end # Creates an address resource in the specified project by using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -454,8 +448,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of addresses contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of addresses contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -529,8 +522,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of autoscalers. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of autoscalers. # @param [String] project # Project ID for this request. # @param [String] filter @@ -601,7 +593,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] zone @@ -653,8 +645,7 @@ module Google end # Returns the specified autoscaler resource. Gets a list of available - # autoscalers by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # autoscalers by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -694,7 +685,7 @@ module Google end # Creates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -745,8 +736,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of autoscalers contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of autoscalers contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -822,7 +812,7 @@ module Google # Updates an autoscaler in the specified project using the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -877,7 +867,7 @@ module Google end # Updates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -931,8 +921,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a key for validating requests with signed URLs for this backend bucket. (= - # = suppress_warning http-rest-shadowed ==) + # Adds a key for validating requests with signed URLs for this backend bucket. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -984,8 +973,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified BackendBucket resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified BackendBucket resource. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1034,7 +1022,6 @@ module Google end # Deletes a key for validating requests with signed URLs for this backend bucket. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1087,7 +1074,7 @@ module Google end # Returns the specified BackendBucket resource. Gets a list of available backend - # buckets by making a list() request. (== suppress_warning http-rest-shadowed ==) + # buckets by making a list() request. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1124,7 +1111,7 @@ module Google end # Creates a BackendBucket resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object @@ -1173,7 +1160,7 @@ module Google end # Retrieves the list of BackendBucket resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1246,7 +1233,7 @@ module Google # Updates the specified BackendBucket resource with the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1298,7 +1285,7 @@ module Google end # Updates the specified BackendBucket resource with the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] backend_bucket @@ -1349,8 +1336,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a key for validating requests with signed URLs for this backend service. ( - # == suppress_warning http-rest-shadowed ==) + # Adds a key for validating requests with signed URLs for this backend service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1403,7 +1389,7 @@ module Google end # Retrieves the list of all BackendService resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -1474,8 +1460,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified BackendService resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified BackendService resource. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1524,7 +1509,7 @@ module Google end # Deletes a key for validating requests with signed URLs for this backend - # service. (== suppress_warning http-rest-shadowed ==) + # service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1577,7 +1562,7 @@ module Google end # Returns the specified BackendService resource. Gets a list of available - # backend services. (== suppress_warning http-rest-shadowed ==) + # backend services. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1613,8 +1598,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for this BackendService. (== - # suppress_warning http-rest-shadowed ==) + # Gets the most recent health check results for this BackendService. # @param [String] project # @param [String] backend_service # Name of the BackendService resource to which the queried instance belongs. @@ -1655,7 +1639,7 @@ module Google # Creates a BackendService resource in the specified project using the data # included in the request. There are several restrictions and guidelines to keep # in mind when creating a backend service. Read Restrictions and Guidelines for - # more information. (== suppress_warning http-rest-shadowed ==) + # more information. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::BackendService] backend_service_object @@ -1704,7 +1688,7 @@ module Google end # Retrieves the list of BackendService resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1779,7 +1763,7 @@ module Google # request. There are several restrictions and guidelines to keep in mind when # updating a backend service. Read Restrictions and Guidelines for more # information. This method supports PATCH semantics and uses the JSON merge - # patch format and processing rules. (== suppress_warning http-rest-shadowed ==) + # patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1830,8 +1814,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the security policy for the specified backend service. (== - # suppress_warning http-rest-shadowed ==) + # Sets the security policy for the specified backend service. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1886,7 +1869,7 @@ module Google # Updates the specified BackendService resource with the data included in the # request. There are several restrictions and guidelines to keep in mind when # updating a backend service. Read Restrictions and Guidelines for more - # information. (== suppress_warning http-rest-shadowed ==) + # information. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1937,8 +1920,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of disk types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of disk types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2010,7 +1992,7 @@ module Google end # Returns the specified disk type. Gets a list of available disk types by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2049,8 +2031,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of disk types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2125,8 +2106,7 @@ module Google end # Adds existing resource policies to a disk. You can only add one policy which - # will be applied to this disk for scheduling snapshot creation. (== - # suppress_warning http-rest-shadowed ==) + # will be applied to this disk for scheduling snapshot creation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2180,8 +2160,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of persistent disks. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of persistent disks. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2252,8 +2231,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a snapshot of a specified persistent disk. (== suppress_warning http- - # rest-shadowed ==) + # Creates a snapshot of a specified persistent disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2315,7 +2293,6 @@ module Google # Deletes the specified persistent disk. Deleting a disk removes its data # permanently and is irreversible. However, deleting a disk does not delete any # snapshots previously made from the disk. You must separately delete snapshots. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] zone @@ -2367,7 +2344,7 @@ module Google end # Returns a specified persistent disk. Gets a list of available persistent disks - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2407,7 +2384,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2449,8 +2426,7 @@ module Google # Creates a persistent disk in the specified project using the data in the # request. You can create a disk with a sourceImage, a sourceSnapshot, or create # an empty 500 GB data disk by omitting all properties. You can also create a - # disk that is larger than the default size by specifying the sizeGb property. (= - # = suppress_warning http-rest-shadowed ==) + # disk that is larger than the default size by specifying the sizeGb property. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2504,8 +2480,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of persistent disks contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of persistent disks contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2579,8 +2554,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes resource policies from a disk. (== suppress_warning http-rest-shadowed - # ==) + # Removes resource policies from a disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2635,7 +2609,7 @@ module Google end # Resizes the specified persistent disk. You can only increase the size of the - # disk. (== suppress_warning http-rest-shadowed ==) + # disk. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2690,7 +2664,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2733,7 +2707,7 @@ module Google end # Sets the labels on a disk. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2787,8 +2761,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -2830,8 +2803,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified externalVpnGateway. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified externalVpnGateway. # @param [String] project # Project ID for this request. # @param [String] external_vpn_gateway @@ -2880,8 +2852,7 @@ module Google end # Returns the specified externalVpnGateway. Get a list of available - # externalVpnGateways by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # externalVpnGateways by making a list() request. # @param [String] project # Project ID for this request. # @param [String] external_vpn_gateway @@ -2918,7 +2889,7 @@ module Google end # Creates a ExternalVpnGateway in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ExternalVpnGateway] external_vpn_gateway_object @@ -2966,8 +2937,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of ExternalVpnGateway available to the specified project. (= - # = suppress_warning http-rest-shadowed ==) + # Retrieves the list of ExternalVpnGateway available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3039,7 +3009,7 @@ module Google end # Sets the labels on an ExternalVpnGateway. To learn more about labels, read the - # Labeling Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Labeling Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3078,8 +3048,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -3118,7 +3087,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified firewall. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3166,7 +3135,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified firewall. (== suppress_warning http-rest-shadowed ==) + # Returns the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3203,7 +3172,7 @@ module Google end # Creates a firewall rule in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Firewall] firewall_object @@ -3251,8 +3220,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of firewall rules available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of firewall rules available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3325,7 +3293,7 @@ module Google # Updates the specified firewall rule with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3378,8 +3346,7 @@ module Google # Updates the specified firewall rule with the data included in the request. # Note that all fields will be updated if using PUT, even fields that are not - # specified. To update individual fields, please use PATCH instead. (== - # suppress_warning http-rest-shadowed ==) + # specified. To update individual fields, please use PATCH instead. # @param [String] project # Project ID for this request. # @param [String] firewall @@ -3430,8 +3397,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of forwarding rules. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of forwarding rules. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3502,8 +3468,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified ForwardingRule resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified ForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -3554,8 +3519,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified ForwardingRule resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified ForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -3595,7 +3559,7 @@ module Google end # Creates a ForwardingRule resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -3647,7 +3611,7 @@ module Google end # Retrieves a list of ForwardingRule resources available to the specified - # project and region. (== suppress_warning http-rest-shadowed ==) + # project and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -3722,7 +3686,7 @@ module Google end # Changes target URL for forwarding rule. The new target should be of the same - # type as the old target. (== suppress_warning http-rest-shadowed ==) + # type as the old target. # @param [String] project # Project ID for this request. # @param [String] region @@ -3776,8 +3740,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified address resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified address resource. # @param [String] project # Project ID for this request. # @param [String] address @@ -3826,7 +3789,7 @@ module Google end # Returns the specified address resource. Gets a list of available addresses by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] address @@ -3863,7 +3826,7 @@ module Google end # Creates an address resource in the specified project by using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Address] address_object @@ -3911,8 +3874,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of global addresses. (== suppress_warning http-rest-shadowed = - # =) + # Retrieves a list of global addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -3983,8 +3945,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified GlobalForwardingRule resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified GlobalForwardingRule resource. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4033,8 +3994,7 @@ module Google end # Returns the specified GlobalForwardingRule resource. Gets a list of available - # forwarding rules by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # forwarding rules by making a list() request. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4071,7 +4031,7 @@ module Google end # Creates a GlobalForwardingRule resource in the specified project using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ForwardingRule] forwarding_rule_object @@ -4120,7 +4080,7 @@ module Google end # Retrieves a list of GlobalForwardingRule resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4192,8 +4152,7 @@ module Google end # Changes target URL for the GlobalForwardingRule resource. The new target - # should be of the same type as the old target. (== suppress_warning http-rest- - # shadowed ==) + # should be of the same type as the old target. # @param [String] project # Project ID for this request. # @param [String] forwarding_rule @@ -4244,8 +4203,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of all operations. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of all operations. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4316,8 +4274,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Operations resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified Operations resource. # @param [String] project # Project ID for this request. # @param [String] operation @@ -4352,7 +4309,7 @@ module Google end # Retrieves the specified Operations resource. Gets a list of operations by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] operation @@ -4389,7 +4346,6 @@ module Google end # Retrieves a list of Operation resources contained within the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -4460,8 +4416,51 @@ module Google execute_or_queue_command(command, &block) end + # Waits for the specified Operations resource until it is done or timeout, and + # retrieves the specified Operations resource. 1. Immediately returns when the + # operation is already done. 2. Waits for no more than the default deadline (2 + # minutes, subject to change) and then returns the current state of the + # operation, which may be DONE or still in progress. 3. Is best-effort: a. The + # server can wait less than the default deadline or zero seconds, in overload + # situations. b. There is no guarantee that the operation is actually done when + # returns. 4. User should be prepared to retry if the operation is not DONE. + # @param [String] project + # Project ID for this request. + # @param [String] operation + # Name of the Operations resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/operations/{operation}/wait', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['operation'] = operation unless operation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves the list of all HealthCheck resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -4532,8 +4531,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -4582,7 +4580,7 @@ module Google end # Returns the specified HealthCheck resource. Gets a list of available health - # checks by making a list() request. (== suppress_warning http-rest-shadowed ==) + # checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -4619,7 +4617,7 @@ module Google end # Creates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::HealthCheck] health_check_object @@ -4668,7 +4666,6 @@ module Google end # Retrieves the list of HealthCheck resources available to the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -4741,8 +4738,7 @@ module Google # Updates a HealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -4794,7 +4790,7 @@ module Google end # Updates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] health_check @@ -4845,8 +4841,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HttpHealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HttpHealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -4895,8 +4890,7 @@ module Google end # Returns the specified HttpHealthCheck resource. Gets a list of available HTTP - # health checks by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # health checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -4933,7 +4927,7 @@ module Google end # Creates a HttpHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::HttpHealthCheck] http_health_check_object @@ -4982,7 +4976,7 @@ module Google end # Retrieves the list of HttpHealthCheck resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5055,8 +5049,7 @@ module Google # Updates a HttpHealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -5108,7 +5101,7 @@ module Google end # Updates a HttpHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] http_health_check @@ -5159,8 +5152,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HttpsHealthCheck resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified HttpsHealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -5209,8 +5201,7 @@ module Google end # Returns the specified HttpsHealthCheck resource. Gets a list of available - # HTTPS health checks by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # HTTPS health checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -5247,7 +5238,7 @@ module Google end # Creates a HttpsHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::HttpsHealthCheck] https_health_check_object @@ -5296,7 +5287,7 @@ module Google end # Retrieves the list of HttpsHealthCheck resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5369,8 +5360,7 @@ module Google # Updates a HttpsHealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -5422,7 +5412,7 @@ module Google end # Updates a HttpsHealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] https_health_check @@ -5473,7 +5463,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified image. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified image. # @param [String] project # Project ID for this request. # @param [String] image @@ -5522,8 +5512,7 @@ module Google end # Sets the deprecation status of an image. - # If an empty request body is given, clears the deprecation status instead. (== - # suppress_warning http-rest-shadowed ==) + # If an empty request body is given, clears the deprecation status instead. # @param [String] project # Project ID for this request. # @param [String] image @@ -5575,7 +5564,7 @@ module Google end # Returns the specified image. Gets a list of available images by making a list() - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] image @@ -5612,7 +5601,6 @@ module Google end # Returns the latest image that is part of an image family and is not deprecated. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] family @@ -5649,7 +5637,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -5686,7 +5674,7 @@ module Google end # Creates an image in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Image] image_object @@ -5742,7 +5730,7 @@ module Google # get any images that belong to other projects, including publicly-available # images, like Debian 8. If you want to get a list of publicly-available images, # use this method to make a request to the respective image project, such as - # debian-cloud or windows-cloud. (== suppress_warning http-rest-shadowed ==) + # debian-cloud or windows-cloud. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5814,7 +5802,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -5854,7 +5842,7 @@ module Google end # Sets the labels on an image. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -5893,8 +5881,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -5944,8 +5931,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -5999,8 +5985,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of managed instance groups and groups them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of managed instance groups and groups them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6071,10 +6056,68 @@ module Google execute_or_queue_command(command, &block) end + # Creates instances with per-instance configs in this managed instance group. + # Instances are created using the current instance template. The create + # instances operation is marked DONE if the createInstances request is + # successful. The underlying actions take additional time. You must separately + # verify the status of the creating or actions with the listmanagedinstances + # method. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeV1::InstanceGroupManagersCreateInstancesRequest] instance_group_managers_create_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersCreateInstancesRequest::Representation + command.request_object = instance_group_managers_create_instances_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified managed instance group and all of the instances in that # group. Note that the instance group must not belong to a backend service. Read - # Deleting an instance group for more information. (== suppress_warning http- - # rest-shadowed ==) + # Deleting an instance group for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6135,8 +6178,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6191,8 +6233,7 @@ module Google end # Returns all of the details about the specified managed instance group. Gets a - # list of available managed instance groups by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available managed instance groups by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6238,8 +6279,7 @@ module Google # You must separately verify the status of the individual instances with the # listmanagedinstances method. # A managed instance group can have up to 1000 VM instances per group. Please - # contact Cloud Support if you need an increase in this limit. (== - # suppress_warning http-rest-shadowed ==) + # contact Cloud Support if you need an increase in this limit. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6291,7 +6331,7 @@ module Google end # Retrieves a list of managed instance groups that are contained within the - # specified project and zone. (== suppress_warning http-rest-shadowed ==) + # specified project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6369,8 +6409,7 @@ module Google # list has a currentAction, which indicates the action that the managed instance # group is performing on the instance. For example, if the group is still # creating an instance, the currentAction is CREATING. If a previous action - # failed, the list displays the errors for that failed action. (== - # suppress_warning http-rest-shadowed ==) + # failed, the list displays the errors for that failed action. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6452,8 +6491,7 @@ module Google # the instances in the group are still in the process of being patched. You must # separately verify the status of the individual instances with the # listManagedInstances method. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6516,8 +6554,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6586,8 +6623,7 @@ module Google # This list is subject to change. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6645,7 +6681,7 @@ module Google # Specifies the instance template to use when creating new instances in this # group. The templates for existing instances in the group do not change unless - # you recreate them. (== suppress_warning http-rest-shadowed ==) + # you recreate them. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6704,8 +6740,7 @@ module Google # instances in the managed instance group. This operation is marked DONE when # you make the request even if the instances have not yet been added to their # target pools. The change might take some time to apply to all of the instances - # in the group depending on the size of the group. (== suppress_warning http- - # rest-shadowed ==) + # in the group depending on the size of the group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6761,7 +6796,7 @@ module Google # Adds a list of instances to the specified instance group. All of the instances # in the instance group must be in the same network/subnetwork. Read Adding - # instances for more information. (== suppress_warning http-rest-shadowed ==) + # instances for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6815,8 +6850,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instance groups and sorts them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of instance groups and sorts them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6889,8 +6923,7 @@ module Google # Deletes the specified instance group. The instances in the group are not # deleted. Note that instance group must not belong to a backend service. Read - # Deleting an instance group for more information. (== suppress_warning http- - # rest-shadowed ==) + # Deleting an instance group for more information. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6942,7 +6975,7 @@ module Google end # Returns the specified instance group. Gets a list of available instance groups - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6982,7 +7015,7 @@ module Google end # Creates an instance group in the specified project using the parameters that - # are included in the request. (== suppress_warning http-rest-shadowed ==) + # are included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7034,7 +7067,7 @@ module Google end # Retrieves the list of instance groups that are located in the specified - # project and zone. (== suppress_warning http-rest-shadowed ==) + # project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7108,8 +7141,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the instances in the specified instance group. (== suppress_warning http- - # rest-shadowed ==) + # Lists the instances in the specified instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7194,8 +7226,7 @@ module Google # delete those instances. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration before - # the VM instance is removed or deleted. (== suppress_warning http-rest-shadowed - # ==) + # the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7249,8 +7280,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the named ports for the specified instance group. (== suppress_warning - # http-rest-shadowed ==) + # Sets the named ports for the specified instance group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7306,8 +7336,7 @@ module Google # Deletes the specified instance template. Deleting an instance template is # permanent and cannot be undone. It is not possible to delete templates that - # are already in use by a managed instance group. (== suppress_warning http-rest- - # shadowed ==) + # are already in use by a managed instance group. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -7356,8 +7385,7 @@ module Google end # Returns the specified instance template. Gets a list of available instance - # templates by making a list() request. (== suppress_warning http-rest-shadowed = - # =) + # templates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -7394,7 +7422,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7433,8 +7461,7 @@ module Google # Creates an instance template in the specified project using the data that is # included in the request. If you are creating a new template to update an # existing instance group, your new instance template must use the same network - # or, if applicable, the same subnetwork as the original template. (== - # suppress_warning http-rest-shadowed ==) + # or, if applicable, the same subnetwork as the original template. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::InstanceTemplate] instance_template_object @@ -7483,7 +7510,7 @@ module Google end # Retrieves a list of instance templates that are contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -7555,7 +7582,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7594,8 +7621,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -7634,8 +7660,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds an access config to an instance's network interface. (== suppress_warning - # http-rest-shadowed ==) + # Adds an access config to an instance's network interface. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7693,7 +7718,7 @@ module Google end # Retrieves aggregated list of all of the instances in your project across all - # regions and zones. (== suppress_warning http-rest-shadowed ==) + # regions and zones. # @param [String] project # Project ID for this request. # @param [String] filter @@ -7767,7 +7792,7 @@ module Google # Attaches an existing Disk resource to an instance. You must first create the # disk before you can attach it. It is not possible to create and attach a disk # at the same time. For more information, read Adding a persistent disk to your - # instance. (== suppress_warning http-rest-shadowed ==) + # instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7826,7 +7851,7 @@ module Google end # Deletes the specified Instance resource. For more information, see Stopping or - # Deleting an Instance. (== suppress_warning http-rest-shadowed ==) + # Deleting an Instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7877,8 +7902,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an access config from an instance's network interface. (== - # suppress_warning http-rest-shadowed ==) + # Deletes an access config from an instance's network interface. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7935,7 +7959,7 @@ module Google execute_or_queue_command(command, &block) end - # Detaches a disk from an instance. (== suppress_warning http-rest-shadowed ==) + # Detaches a disk from an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -7991,7 +8015,7 @@ module Google end # Returns the specified Instance resource. Gets a list of available instances by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8030,8 +8054,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified guest attributes entry. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified guest attributes entry. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8077,7 +8100,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8116,8 +8139,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the last 1 MB of serial port output from the specified instance. (== - # suppress_warning http-rest-shadowed ==) + # Returns the last 1 MB of serial port output from the specified instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8165,8 +8187,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the Shielded Instance Identity of an instance (== suppress_warning - # http-rest-shadowed ==) + # Returns the Shielded Instance Identity of an instance # @param [String] project # Project ID for this request. # @param [String] zone @@ -8206,7 +8227,7 @@ module Google end # Creates an instance resource in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8266,8 +8287,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instances contained within the specified zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of instances contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8342,8 +8362,7 @@ module Google end # Retrieves the list of referrers to instances contained within the specified - # zone. For more information, read Viewing Referrers to VM Instances. (== - # suppress_warning http-rest-shadowed ==) + # zone. For more information, read Viewing Referrers to VM Instances. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8422,8 +8441,7 @@ module Google end # Performs a reset on the instance. This is a hard reset the VM does not do a - # graceful shutdown. For more information, see Resetting an instance. (== - # suppress_warning http-rest-shadowed ==) + # graceful shutdown. For more information, see Resetting an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8474,8 +8492,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets deletion protection on the instance. (== suppress_warning http-rest- - # shadowed ==) + # Sets deletion protection on the instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8529,8 +8546,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the auto-delete flag for a disk attached to an instance. (== - # suppress_warning http-rest-shadowed ==) + # Sets the auto-delete flag for a disk attached to an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8589,7 +8605,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8632,7 +8648,7 @@ module Google end # Sets labels on an instance. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8687,7 +8703,7 @@ module Google end # Changes the number and/or type of accelerator for a stopped instance to the - # values specified in the request. (== suppress_warning http-rest-shadowed ==) + # values specified in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8742,7 +8758,7 @@ module Google end # Changes the machine type for a stopped instance to the machine type specified - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8796,8 +8812,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets metadata for the specified instance to the data included in the request. ( - # == suppress_warning http-rest-shadowed ==) + # Sets metadata for the specified instance to the data included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8853,7 +8868,7 @@ module Google # Changes the minimum CPU platform that this instance should use. This method # can only be called on a stopped instance. For more information, read - # Specifying a Minimum CPU Platform. (== suppress_warning http-rest-shadowed ==) + # Specifying a Minimum CPU Platform. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8907,8 +8922,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets an instance's scheduling options. (== suppress_warning http-rest-shadowed - # ==) + # Sets an instance's scheduling options. # @param [String] project # Project ID for this request. # @param [String] zone @@ -8963,8 +8977,7 @@ module Google end # Sets the service account on the instance. For more information, read Changing - # the service account and access scopes for an instance. (== suppress_warning - # http-rest-shadowed ==) + # the service account and access scopes for an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9020,8 +9033,7 @@ module Google # Sets the Shielded Instance integrity policy for an instance. You can only use # this method on a running instance. This method supports PATCH semantics and - # uses the JSON merge patch format and processing rules. (== suppress_warning - # http-rest-shadowed ==) + # uses the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9076,7 +9088,7 @@ module Google end # Sets network tags for the specified instance to the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9130,8 +9142,7 @@ module Google execute_or_queue_command(command, &block) end - # Simulates a maintenance event on the instance. (== suppress_warning http-rest- - # shadowed ==) + # Simulates a maintenance event on the instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9171,8 +9182,7 @@ module Google end # Starts an instance that was stopped using the instances().stop method. For - # more information, see Restart an instance. (== suppress_warning http-rest- - # shadowed ==) + # more information, see Restart an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9224,8 +9234,7 @@ module Google end # Starts an instance that was stopped using the instances().stop method. For - # more information, see Restart an instance. (== suppress_warning http-rest- - # shadowed ==) + # more information, see Restart an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9283,8 +9292,7 @@ module Google # the instance at a later time. Stopped instances do not incur VM usage charges # while they are stopped. However, resources that the VM is using, such as # persistent disks and static IP addresses, will continue to be charged until - # they are deleted. For more information, see Stopping an instance. (== - # suppress_warning http-rest-shadowed ==) + # they are deleted. For more information, see Stopping an instance. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9335,8 +9343,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9380,8 +9387,7 @@ module Google # Updates the specified access config from an instance's network interface with # the data included in the request. This method supports PATCH semantics and - # uses the JSON merge patch format and processing rules. (== suppress_warning - # http-rest-shadowed ==) + # uses the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9440,8 +9446,7 @@ module Google # Updates the Display config for a VM instance. You can only use this method on # a stopped VM instance. This method supports PATCH semantics and uses the JSON - # merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9495,8 +9500,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates an instance's network interface. This method follows PATCH semantics. ( - # == suppress_warning http-rest-shadowed ==) + # Updates an instance's network interface. This method follows PATCH semantics. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9555,8 +9559,7 @@ module Google # Updates the Shielded Instance config for an instance. You can only use this # method on a stopped instance. This method supports PATCH semantics and uses - # the JSON merge patch format and processing rules. (== suppress_warning http- - # rest-shadowed ==) + # the JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] zone @@ -9610,8 +9613,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of interconnect attachments. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves an aggregated list of interconnect attachments. # @param [String] project # Project ID for this request. # @param [String] filter @@ -9682,8 +9684,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified interconnect attachment. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified interconnect attachment. # @param [String] project # Project ID for this request. # @param [String] region @@ -9734,8 +9735,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified interconnect attachment. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified interconnect attachment. # @param [String] project # Project ID for this request. # @param [String] region @@ -9775,7 +9775,7 @@ module Google end # Creates an InterconnectAttachment in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -9792,6 +9792,8 @@ module Google # accidentally creating duplicate commitments. # The request ID must be a valid UUID with the exception that zero UUID is not # supported (00000000-0000-0000-0000-000000000000). + # @param [Boolean] validate_only + # If true, the request will not be committed. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9811,7 +9813,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options) command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object @@ -9820,6 +9822,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['requestId'] = request_id unless request_id.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -9827,7 +9830,7 @@ module Google end # Retrieves the list of interconnect attachments contained within the specified - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -9903,7 +9906,7 @@ module Google # Updates the specified interconnect attachment with the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -9958,8 +9961,7 @@ module Google end # Returns the details for the specified interconnect location. Gets a list of - # available interconnect locations by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # available interconnect locations by making a list() request. # @param [String] project # Project ID for this request. # @param [String] interconnect_location @@ -9996,7 +9998,7 @@ module Google end # Retrieves the list of interconnect locations available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -10067,7 +10069,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified interconnect. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified interconnect. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -10116,7 +10118,7 @@ module Google end # Returns the specified interconnect. Get a list of available interconnects by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -10152,8 +10154,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the interconnectDiagnostics for the specified interconnect. (== - # suppress_warning http-rest-shadowed ==) + # Returns the interconnectDiagnostics for the specified interconnect. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -10190,7 +10191,7 @@ module Google end # Creates a Interconnect in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Interconnect] interconnect_object @@ -10238,8 +10239,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of interconnect available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of interconnect available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -10312,7 +10312,7 @@ module Google # Updates the specified interconnect with the data included in the request. This # method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] interconnect @@ -10364,8 +10364,7 @@ module Google end # Return a specified license code. License codes are mirrored across all - # projects that have permissions to read the License Code. (== suppress_warning - # http-rest-shadowed ==) + # projects that have permissions to read the License Code. # @param [String] project # Project ID for this request. # @param [String] license_code @@ -10401,8 +10400,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -10441,7 +10439,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified license. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified license. # @param [String] project # Project ID for this request. # @param [String] license @@ -10489,8 +10487,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified License resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified License resource. # @param [String] project # Project ID for this request. # @param [String] license @@ -10527,7 +10524,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -10563,8 +10560,7 @@ module Google execute_or_queue_command(command, &block) end - # Create a License resource in the specified project. (== suppress_warning http- - # rest-shadowed ==) + # Create a License resource in the specified project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::License] license_object @@ -10616,8 +10612,7 @@ module Google # does not get any licenses that belong to other projects, including licenses # attached to publicly-available images, like Debian 9. If you want to get a # list of publicly-available licenses, use this method to make a request to the - # respective image project, such as debian-cloud or windows-cloud. (== - # suppress_warning http-rest-shadowed ==) + # respective image project, such as debian-cloud or windows-cloud. # @param [String] project # Project ID for this request. # @param [String] filter @@ -10689,7 +10684,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -10728,8 +10723,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -10768,8 +10762,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of machine types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of machine types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -10841,7 +10834,7 @@ module Google end # Returns the specified machine type. Gets a list of available machine types by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10880,8 +10873,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of machine types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of machine types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10955,8 +10947,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of network endpoint groups and sorts them by zone. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of network endpoint groups and sorts them by zone. # @param [String] project # Project ID for this request. # @param [String] filter @@ -11027,8 +11018,7 @@ module Google execute_or_queue_command(command, &block) end - # Attach a list of network endpoints to the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Attach a list of network endpoints to the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11087,7 +11077,7 @@ module Google # Deletes the specified network endpoint group. The network endpoints in the NEG # and the VM instances they belong to are not terminated when the NEG is deleted. # Note that the NEG cannot be deleted if there are backend services referencing - # it. (== suppress_warning http-rest-shadowed ==) + # it. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11140,8 +11130,7 @@ module Google execute_or_queue_command(command, &block) end - # Detach a list of network endpoints from the specified network endpoint group. ( - # == suppress_warning http-rest-shadowed ==) + # Detach a list of network endpoints from the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11198,8 +11187,7 @@ module Google end # Returns the specified network endpoint group. Gets a list of available network - # endpoint groups by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # endpoint groups by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11240,7 +11228,7 @@ module Google end # Creates a network endpoint group in the specified project using the parameters - # that are included in the request. (== suppress_warning http-rest-shadowed ==) + # that are included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11293,7 +11281,7 @@ module Google end # Retrieves the list of network endpoint groups that are located in the - # specified project and zone. (== suppress_warning http-rest-shadowed ==) + # specified project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11368,8 +11356,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists the network endpoints in the specified network endpoint group. (== - # suppress_warning http-rest-shadowed ==) + # Lists the network endpoints in the specified network endpoint group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11451,8 +11438,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -11494,8 +11480,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds a peering to the specified network. (== suppress_warning http-rest- - # shadowed ==) + # Adds a peering to the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -11546,7 +11531,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified network. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -11595,7 +11580,7 @@ module Google end # Returns the specified network. Gets a list of available networks by making a - # list() request. (== suppress_warning http-rest-shadowed ==) + # list() request. # @param [String] project # Project ID for this request. # @param [String] network @@ -11632,7 +11617,7 @@ module Google end # Creates a network in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Network] network_object @@ -11680,8 +11665,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of networks available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of networks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -11752,9 +11736,92 @@ module Google execute_or_queue_command(command, &block) end + # Lists the peering routes exchanged over peering connection. + # @param [String] project + # Project ID for this request. + # @param [String] network + # Name of the network for this request. + # @param [String] direction + # The direction of the exchanged routes. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] peering_name + # The response will show routes exchanged over the given peering connection. + # @param [String] region + # The region of the request. The response will include all subnet routes, static + # routes and dynamic routes in the region. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::ExchangedPeeringRoutesList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::ExchangedPeeringRoutesList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/networks/{network}/listPeeringRoutes', options) + command.response_representation = Google::Apis::ComputeV1::ExchangedPeeringRoutesList::Representation + command.response_class = Google::Apis::ComputeV1::ExchangedPeeringRoutesList + command.params['project'] = project unless project.nil? + command.params['network'] = network unless network.nil? + command.query['direction'] = direction unless direction.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['peeringName'] = peering_name unless peering_name.nil? + command.query['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Patches the specified network with the data included in the request. Only the - # following fields can be modified: routingConfig.routingMode. (== - # suppress_warning http-rest-shadowed ==) + # following fields can be modified: routingConfig.routingMode. # @param [String] project # Project ID for this request. # @param [String] network @@ -11805,8 +11872,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes a peering from the specified network. (== suppress_warning http-rest- - # shadowed ==) + # Removes a peering from the specified network. # @param [String] project # Project ID for this request. # @param [String] network @@ -11857,8 +11923,7 @@ module Google execute_or_queue_command(command, &block) end - # Switches the network mode from auto subnet mode to custom subnet mode. (== - # suppress_warning http-rest-shadowed ==) + # Switches the network mode from auto subnet mode to custom subnet mode. # @param [String] project # Project ID for this request. # @param [String] network @@ -11908,8 +11973,7 @@ module Google # Updates the specified network peering with the data included in the request # Only the following fields can be modified: NetworkPeering.export_custom_routes, - # and NetworkPeering.import_custom_routes (== suppress_warning http-rest- - # shadowed ==) + # and NetworkPeering.import_custom_routes # @param [String] project # Project ID for this request. # @param [String] network @@ -11960,8 +12024,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds specified number of nodes to the node group. (== suppress_warning http- - # rest-shadowed ==) + # Adds specified number of nodes to the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12016,7 +12079,7 @@ module Google end # Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes - # for more details about each group. (== suppress_warning http-rest-shadowed ==) + # for more details about each group. # @param [String] project # Project ID for this request. # @param [String] filter @@ -12087,8 +12150,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified NodeGroup resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified NodeGroup resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12139,8 +12201,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes specified nodes from the node group. (== suppress_warning http-rest- - # shadowed ==) + # Deletes specified nodes from the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12196,7 +12257,7 @@ module Google # Returns the specified NodeGroup. Get a list of available NodeGroups by making # a list() request. Note: the "nodes" field should not be used. Use nodeGroups. - # listNodes instead. (== suppress_warning http-rest-shadowed ==) + # listNodes instead. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12236,7 +12297,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12276,7 +12337,7 @@ module Google end # Creates a NodeGroup resource in the specified project using the data included - # in the request. (== suppress_warning http-rest-shadowed ==) + # in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12331,8 +12392,7 @@ module Google end # Retrieves a list of node groups available to the specified project. Note: use - # nodeGroups.listNodes for more details about each group. (== suppress_warning - # http-rest-shadowed ==) + # nodeGroups.listNodes for more details about each group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12406,7 +12466,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists nodes in the node group. (== suppress_warning http-rest-shadowed ==) + # Lists nodes in the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12484,7 +12544,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12526,8 +12586,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the node template of the node group. (== suppress_warning http-rest- - # shadowed ==) + # Updates the node template of the node group. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12581,8 +12640,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -12624,8 +12682,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of node templates. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of node templates. # @param [String] project # Project ID for this request. # @param [String] filter @@ -12696,8 +12753,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified NodeTemplate resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified NodeTemplate resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -12749,7 +12805,7 @@ module Google end # Returns the specified node template. Gets a list of available node templates - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -12789,7 +12845,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -12829,7 +12885,7 @@ module Google end # Creates a NodeTemplate resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -12880,8 +12936,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of node templates available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of node templates available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -12956,7 +13011,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -12998,8 +13053,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -13041,8 +13095,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of node types. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of node types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -13114,7 +13167,7 @@ module Google end # Returns the specified node type. Gets a list of available node types by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13153,8 +13206,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of node types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of node types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -13228,8 +13280,7 @@ module Google execute_or_queue_command(command, &block) end - # Disable this project as a shared VPC host project. (== suppress_warning http- - # rest-shadowed ==) + # Disable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -13275,7 +13326,7 @@ module Google end # Disable a service resource (also known as service project) associated with - # this host project. (== suppress_warning http-rest-shadowed ==) + # this host project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object @@ -13323,8 +13374,7 @@ module Google execute_or_queue_command(command, &block) end - # Enable this project as a shared VPC host project. (== suppress_warning http- - # rest-shadowed ==) + # Enable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -13370,8 +13420,7 @@ module Google end # Enable service resource (a.k.a service project) for a host project, so that - # subnets in the host project can be used by instances in the service project. (= - # = suppress_warning http-rest-shadowed ==) + # subnets in the host project can be used by instances in the service project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object @@ -13419,8 +13468,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified Project resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified Project resource. # @param [String] project # Project ID for this request. # @param [String] fields @@ -13454,7 +13502,7 @@ module Google end # Gets the shared VPC host project that this project links to. May be empty if - # no link exists. (== suppress_warning http-rest-shadowed ==) + # no link exists. # @param [String] project # Project ID for this request. # @param [String] fields @@ -13488,7 +13536,7 @@ module Google end # Gets service resources (a.k.a service project) associated with this host - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -13559,8 +13607,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all shared VPC host projects visible to the user in an organization. (== - # suppress_warning http-rest-shadowed ==) + # Lists all shared VPC host projects visible to the user in an organization. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object @@ -13634,8 +13681,7 @@ module Google execute_or_queue_command(command, &block) end - # Moves a persistent disk from one zone to another. (== suppress_warning http- - # rest-shadowed ==) + # Moves a persistent disk from one zone to another. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::MoveDiskRequest] move_disk_request_object @@ -13683,8 +13729,7 @@ module Google execute_or_queue_command(command, &block) end - # Moves an instance and its attached persistent disks from one zone to another. ( - # == suppress_warning http-rest-shadowed ==) + # Moves an instance and its attached persistent disks from one zone to another. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::MoveInstanceRequest] move_instance_request_object @@ -13733,7 +13778,7 @@ module Google end # Sets metadata common to all instances within the specified project using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Metadata] metadata_object @@ -13783,7 +13828,7 @@ module Google # Sets the default network tier of the project. The default network tier is used # when an address/forwardingRule/instance is created without specifying the - # network tier field. (== suppress_warning http-rest-shadowed ==) + # network tier field. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest] projects_set_default_network_tier_request_object @@ -13833,8 +13878,7 @@ module Google # Enables the usage export feature and sets the usage export bucket where # reports are stored. If you provide an empty request body using this method, - # the usage export feature will be disabled. (== suppress_warning http-rest- - # shadowed ==) + # the usage export feature will be disabled. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::UsageExportLocation] usage_export_location_object @@ -13882,7 +13926,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] region @@ -13933,7 +13977,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified autoscaler. (== suppress_warning http-rest-shadowed ==) + # Returns the specified autoscaler. # @param [String] project # Project ID for this request. # @param [String] region @@ -13973,7 +14017,7 @@ module Google end # Creates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -14024,8 +14068,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of autoscalers contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of autoscalers contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -14101,7 +14144,7 @@ module Google # Updates an autoscaler in the specified project using the data included in the # request. This method supports PATCH semantics and uses the JSON merge patch - # format and processing rules. (== suppress_warning http-rest-shadowed ==) + # format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -14156,7 +14199,7 @@ module Google end # Updates an autoscaler in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -14210,8 +14253,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified regional BackendService resource. (== suppress_warning - # http-rest-shadowed ==) + # Deletes the specified regional BackendService resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -14262,8 +14304,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified regional BackendService resource. (== suppress_warning - # http-rest-shadowed ==) + # Returns the specified regional BackendService resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -14302,8 +14343,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for this regional BackendService. (== - # suppress_warning http-rest-shadowed ==) + # Gets the most recent health check results for this regional BackendService. # @param [String] project # @param [String] region # Name of the region scoping this request. @@ -14347,7 +14387,7 @@ module Google # Creates a regional BackendService resource in the specified project using the # data included in the request. There are several restrictions and guidelines to # keep in mind when creating a regional backend service. Read Restrictions and - # Guidelines for more information. (== suppress_warning http-rest-shadowed ==) + # Guidelines for more information. # @param [String] project # Project ID for this request. # @param [String] region @@ -14399,8 +14439,7 @@ module Google end # Retrieves the list of regional BackendService resources available to the - # specified project in the given region. (== suppress_warning http-rest-shadowed - # ==) + # specified project in the given region. # @param [String] project # Project ID for this request. # @param [String] region @@ -14478,7 +14517,7 @@ module Google # in the request. There are several restrictions and guidelines to keep in mind # when updating a backend service. Read Restrictions and Guidelines for more # information. This method supports PATCH semantics and uses the JSON merge - # patch format and processing rules. (== suppress_warning http-rest-shadowed ==) + # patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -14535,7 +14574,7 @@ module Google # Updates the specified regional BackendService resource with the data included # in the request. There are several restrictions and guidelines to keep in mind # when updating a backend service. Read Restrictions and Guidelines for more - # information. (== suppress_warning http-rest-shadowed ==) + # information. # @param [String] project # Project ID for this request. # @param [String] region @@ -14589,8 +14628,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of commitments. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of commitments. # @param [String] project # Project ID for this request. # @param [String] filter @@ -14662,8 +14700,7 @@ module Google end # Returns the specified commitment resource. Gets a list of available - # commitments by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # commitments by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -14703,7 +14740,7 @@ module Google end # Creates a commitment in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -14754,8 +14791,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of commitments contained within the specified region. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of commitments contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -14830,7 +14866,7 @@ module Google end # Returns the specified regional disk type. Gets a list of available disk types - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -14869,8 +14905,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of regional disk types available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of regional disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -14945,8 +14980,7 @@ module Google end # Adds existing resource policies to a regional disk. You can only add one - # policy which will be applied to this disk for scheduling snapshot creation. (== - # suppress_warning http-rest-shadowed ==) + # policy which will be applied to this disk for scheduling snapshot creation. # @param [String] project # Project ID for this request. # @param [String] region @@ -15000,8 +15034,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a snapshot of this regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Creates a snapshot of this regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -15058,8 +15091,7 @@ module Google # Deletes the specified regional persistent disk. Deleting a regional disk # removes all the replicas of its data permanently and is irreversible. However, # deleting a disk does not delete any snapshots previously made from the disk. - # You must separately delete snapshots. (== suppress_warning http-rest-shadowed = - # =) + # You must separately delete snapshots. # @param [String] project # Project ID for this request. # @param [String] region @@ -15110,8 +15142,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns a specified regional persistent disk. (== suppress_warning http-rest- - # shadowed ==) + # Returns a specified regional persistent disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -15151,7 +15182,7 @@ module Google end # Creates a persistent regional disk in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -15205,8 +15236,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of persistent disks contained within the specified region. ( - # == suppress_warning http-rest-shadowed ==) + # Retrieves the list of persistent disks contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -15280,8 +15310,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes resource policies from a regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Removes resource policies from a regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -15335,8 +15364,7 @@ module Google execute_or_queue_command(command, &block) end - # Resizes the specified regional persistent disk. (== suppress_warning http-rest- - # shadowed ==) + # Resizes the specified regional persistent disk. # @param [String] project # The project ID for this request. # @param [String] region @@ -15390,8 +15418,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the labels on the target regional disk. (== suppress_warning http-rest- - # shadowed ==) + # Sets the labels on the target regional disk. # @param [String] project # Project ID for this request. # @param [String] region @@ -15445,8 +15472,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -15488,8 +15514,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified HealthCheck resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified HealthCheck resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -15541,7 +15566,7 @@ module Google end # Returns the specified HealthCheck resource. Gets a list of available health - # checks by making a list() request. (== suppress_warning http-rest-shadowed ==) + # checks by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -15581,7 +15606,7 @@ module Google end # Creates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -15633,7 +15658,6 @@ module Google end # Retrieves the list of HealthCheck resources available to the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -15709,8 +15733,7 @@ module Google # Updates a HealthCheck resource in the specified project using the data # included in the request. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -15765,7 +15788,7 @@ module Google end # Updates a HealthCheck resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -15830,8 +15853,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -15885,8 +15907,67 @@ module Google execute_or_queue_command(command, &block) end + # Creates instances with per-instance configs in this regional managed instance + # group. Instances are created using the current instance template. The create + # instances operation is marked DONE if the createInstances request is + # successful. The underlying actions take additional time. You must separately + # verify the status of the creating or actions with the listmanagedinstances + # method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region where the managed instance group is located. It should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group. It should conform to RFC1035. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersCreateInstancesRequest] region_instance_group_managers_create_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersCreateInstancesRequest::Representation + command.request_object = region_instance_group_managers_create_instances_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified managed instance group and all of the instances in that - # group. (== suppress_warning http-rest-shadowed ==) + # group. # @param [String] project # Project ID for this request. # @param [String] region @@ -15947,8 +16028,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -16002,8 +16082,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns all of the details about the specified managed instance group. (== - # suppress_warning http-rest-shadowed ==) + # Returns all of the details about the specified managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -16048,8 +16127,7 @@ module Google # group is created even if the instances in the group have not yet been created. # You must separately verify the status of the individual instances with the # listmanagedinstances method. - # A regional managed instance group can contain up to 2000 instances. (== - # suppress_warning http-rest-shadowed ==) + # A regional managed instance group can contain up to 2000 instances. # @param [String] project # Project ID for this request. # @param [String] region @@ -16101,7 +16179,7 @@ module Google end # Retrieves the list of managed instance groups that are contained within the - # specified region. (== suppress_warning http-rest-shadowed ==) + # specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -16177,7 +16255,7 @@ module Google # Lists the instances in the managed instance group and instances that are # scheduled to be created. The list includes any current actions that the group - # has scheduled for its instances. (== suppress_warning http-rest-shadowed ==) + # has scheduled for its instances. # @param [String] project # Project ID for this request. # @param [String] region @@ -16259,8 +16337,7 @@ module Google # the instances in the group are still in the process of being patched. You must # separately verify the status of the individual instances with the # listmanagedinstances method. This method supports PATCH semantics and uses the - # JSON merge patch format and processing rules. (== suppress_warning http-rest- - # shadowed ==) + # JSON merge patch format and processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -16323,8 +16400,7 @@ module Google # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has # elapsed before the VM instance is removed or deleted. - # You can specify a maximum of 1000 instances with this method per request. (== - # suppress_warning http-rest-shadowed ==) + # You can specify a maximum of 1000 instances with this method per request. # @param [String] project # Project ID for this request. # @param [String] region @@ -16386,8 +16462,7 @@ module Google # of the creating or deleting actions with the listmanagedinstances method. # If the group is part of a backend service that has enabled connection draining, # it can take up to 60 seconds after the connection draining duration has - # elapsed before the VM instance is removed or deleted. (== suppress_warning - # http-rest-shadowed ==) + # elapsed before the VM instance is removed or deleted. # @param [String] project # Project ID for this request. # @param [String] region @@ -16442,8 +16517,7 @@ module Google end # Sets the instance template to use when creating new instances or recreating - # instances in this group. Existing instances are not affected. (== - # suppress_warning http-rest-shadowed ==) + # instances in this group. Existing instances are not affected. # @param [String] project # Project ID for this request. # @param [String] region @@ -16498,8 +16572,7 @@ module Google end # Modifies the target pools to which all new instances in this group are - # assigned. Existing instances in the group are not affected. (== - # suppress_warning http-rest-shadowed ==) + # assigned. Existing instances in the group are not affected. # @param [String] project # Project ID for this request. # @param [String] region @@ -16553,8 +16626,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified instance group resource. (== suppress_warning http-rest- - # shadowed ==) + # Returns the specified instance group resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16594,7 +16666,7 @@ module Google end # Retrieves the list of instance group resources contained within the specified - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -16670,8 +16742,7 @@ module Google # Lists the instances in the specified instance group and displays information # about the named ports. Depending on the specified options, this method can - # list all instances or only the instances that are running. (== - # suppress_warning http-rest-shadowed ==) + # list all instances or only the instances that are running. # @param [String] project # Project ID for this request. # @param [String] region @@ -16751,8 +16822,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the named ports for the specified regional instance group. (== - # suppress_warning http-rest-shadowed ==) + # Sets the named ports for the specified regional instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -16806,8 +16876,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified region-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Deletes the specified region-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16844,8 +16913,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the specified region-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the specified region-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -16885,7 +16953,6 @@ module Google end # Retrieves a list of Operation resources contained within the specified region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -16959,8 +17026,54 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified SslCertificate resource in the region. (== - # suppress_warning http-rest-shadowed ==) + # Waits for the specified region-specific Operations resource until it is done + # or timeout, and retrieves the specified Operations resource. 1. Immediately + # returns when the operation is already done. 2. Waits for no more than the + # default deadline (2 minutes, subject to change) and then returns the current + # state of the operation, which may be DONE or still in progress. 3. Is best- + # effort: a. The server can wait less than the default deadline or zero seconds, + # in overload situations. b. There is no guarantee that the operation is + # actually done when returns. 4. User should be prepared to retry if the + # operation is not DONE. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] operation + # Name of the Operations resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/operations/{operation}/wait', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['operation'] = operation unless operation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified SslCertificate resource in the region. # @param [String] project # Project ID for this request. # @param [String] region @@ -17012,8 +17125,7 @@ module Google end # Returns the specified SslCertificate resource in the specified region. Get a - # list of available SSL certificates by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available SSL certificates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17053,7 +17165,7 @@ module Google end # Creates a SslCertificate resource in the specified project and region using - # the data included in the request (== suppress_warning http-rest-shadowed ==) + # the data included in the request # @param [String] project # Project ID for this request. # @param [String] region @@ -17105,7 +17217,7 @@ module Google end # Retrieves the list of SslCertificate resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -17179,8 +17291,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetHttpProxy resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -17232,8 +17343,7 @@ module Google end # Returns the specified TargetHttpProxy resource in the specified region. Gets a - # list of available target HTTP proxies by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # list of available target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17273,7 +17383,7 @@ module Google end # Creates a TargetHttpProxy resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17325,7 +17435,7 @@ module Google end # Retrieves the list of TargetHttpProxy resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -17399,8 +17509,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -17454,8 +17563,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpsProxy resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified TargetHttpsProxy resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -17507,8 +17615,7 @@ module Google end # Returns the specified TargetHttpsProxy resource in the specified region. Gets - # a list of available target HTTP proxies by making a list() request. (== - # suppress_warning http-rest-shadowed ==) + # a list of available target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17548,7 +17655,7 @@ module Google end # Creates a TargetHttpsProxy resource in the specified project and region using - # the data included in the request. (== suppress_warning http-rest-shadowed ==) + # the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17600,7 +17707,7 @@ module Google end # Retrieves the list of TargetHttpsProxy resources available to the specified - # project in the specified region. (== suppress_warning http-rest-shadowed ==) + # project in the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -17674,8 +17781,7 @@ module Google execute_or_queue_command(command, &block) end - # Replaces SslCertificates for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Replaces SslCertificates for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -17729,8 +17835,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] region @@ -17784,8 +17889,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified UrlMap resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified UrlMap resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -17828,7 +17932,7 @@ module Google end # Returns the specified UrlMap resource. Gets a list of available URL maps by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17868,7 +17972,7 @@ module Google end # Creates a UrlMap resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -17911,7 +18015,7 @@ module Google end # Retrieves the list of UrlMap resources available to the specified project in - # the specified region. (== suppress_warning http-rest-shadowed ==) + # the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -17987,7 +18091,7 @@ module Google # Patches the specified UrlMap resource with the data included in the request. # This method supports PATCH semantics and uses JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -18032,8 +18136,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified UrlMap resource with the data included in the request. (= - # = suppress_warning http-rest-shadowed ==) + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18079,8 +18182,7 @@ module Google end # Runs static validation for the UrlMap. In particular, the tests of the - # provided UrlMap will be run. Calling this method does NOT create the UrlMap. (= - # = suppress_warning http-rest-shadowed ==) + # provided UrlMap will be run. Calling this method does NOT create the UrlMap. # @param [String] project # Project ID for this request. # @param [String] region @@ -18123,7 +18225,7 @@ module Google end # Returns the specified Region resource. Gets a list of available regions by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -18159,8 +18261,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of region resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of region resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -18231,8 +18332,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of reservations. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of reservations. # @param [String] project # Project ID for this request. # @param [String] filter @@ -18303,7 +18403,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified reservation. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified reservation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18354,8 +18454,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves information about the specified reservation. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves information about the specified reservation. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18395,7 +18494,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18435,7 +18534,7 @@ module Google end # Creates a new reservation. For more information, read Reserving zonal - # resources. (== suppress_warning http-rest-shadowed ==) + # resources. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18487,7 +18586,7 @@ module Google end # A list of all the reservations that have been configured for the specified - # project in specified zone. (== suppress_warning http-rest-shadowed ==) + # project in specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18562,8 +18661,7 @@ module Google end # Resizes the reservation (applicable to standalone reservations only). For more - # information, read Modifying reservations. (== suppress_warning http-rest- - # shadowed ==) + # information, read Modifying reservations. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18618,7 +18716,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18660,8 +18758,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -18703,8 +18800,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of resource policies. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of resource policies. # @param [String] project # Project ID for this request. # @param [String] filter @@ -18775,8 +18871,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified resource policy. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -18827,8 +18922,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves all information of the specified resource policy. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves all information of the specified resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -18868,7 +18962,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -18907,7 +19001,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new resource policy. (== suppress_warning http-rest-shadowed ==) + # Creates a new resource policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -18959,7 +19053,7 @@ module Google end # A list all the resource policies that have been configured for the specified - # project in specified region. (== suppress_warning http-rest-shadowed ==) + # project in specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -19034,7 +19128,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -19076,8 +19170,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -19119,8 +19212,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of routers. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of routers. # @param [String] project # Project ID for this request. # @param [String] filter @@ -19191,8 +19283,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Router resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified Router resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -19244,7 +19335,7 @@ module Google end # Returns the specified Router resource. Gets a list of available routers by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -19283,8 +19374,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves runtime Nat mapping information of VM endpoints. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves runtime Nat mapping information of VM endpoints. # @param [String] project # Project ID for this request. # @param [String] region @@ -19362,8 +19452,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves runtime information of the specified router. (== suppress_warning - # http-rest-shadowed ==) + # Retrieves runtime information of the specified router. # @param [String] project # Project ID for this request. # @param [String] region @@ -19403,7 +19492,7 @@ module Google end # Creates a Router resource in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -19454,8 +19543,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of Router resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of Router resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -19531,7 +19619,7 @@ module Google # Patches the specified Router resource with the data included in the request. # This method supports PATCH semantics and uses JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -19586,8 +19674,7 @@ module Google end # Preview fields auto-generated during router create and update operations. - # Calling this method does NOT create or update the router. (== suppress_warning - # http-rest-shadowed ==) + # Calling this method does NOT create or update the router. # @param [String] project # Project ID for this request. # @param [String] region @@ -19632,8 +19719,7 @@ module Google # Updates the specified Router resource with the data included in the request. # This method conforms to PUT semantics, which requests that the state of the # target resource be created or replaced with the state defined by the - # representation enclosed in the request message payload. (== suppress_warning - # http-rest-shadowed ==) + # representation enclosed in the request message payload. # @param [String] project # Project ID for this request. # @param [String] region @@ -19687,8 +19773,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified Route resource. (== suppress_warning http-rest-shadowed = - # =) + # Deletes the specified Route resource. # @param [String] project # Project ID for this request. # @param [String] route @@ -19737,7 +19822,7 @@ module Google end # Returns the specified Route resource. Gets a list of available routes by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] route @@ -19774,7 +19859,7 @@ module Google end # Creates a Route resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Route] route_object @@ -19822,8 +19907,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of Route resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of Route resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -19894,8 +19978,7 @@ module Google execute_or_queue_command(command, &block) end - # Inserts a rule into a security policy. (== suppress_warning http-rest-shadowed - # ==) + # Inserts a rule into a security policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -19934,7 +20017,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified policy. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -19982,8 +20065,7 @@ module Google execute_or_queue_command(command, &block) end - # List all of the ordered rules present in a single specified policy. (== - # suppress_warning http-rest-shadowed ==) + # List all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -20019,8 +20101,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets a rule at the specified priority. (== suppress_warning http-rest-shadowed - # ==) + # Gets a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -20060,7 +20141,7 @@ module Google end # Creates a new policy in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object @@ -20108,8 +20189,7 @@ module Google execute_or_queue_command(command, &block) end - # List all the policies that have been configured for the specified project. (== - # suppress_warning http-rest-shadowed ==) + # List all the policies that have been configured for the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -20180,8 +20260,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches the specified policy with the data included in the request. (== - # suppress_warning http-rest-shadowed ==) + # Patches the specified policy with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -20232,8 +20311,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Patches a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -20275,8 +20353,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a rule at the specified priority. (== suppress_warning http-rest- - # shadowed ==) + # Deletes a rule at the specified priority. # @param [String] project # Project ID for this request. # @param [String] security_policy @@ -20319,8 +20396,7 @@ module Google # snapshot might not necessarily delete all the data on that snapshot. If any # data on the snapshot that is marked for deletion is needed for subsequent # snapshots, the data will be moved to the next corresponding snapshot. - # For more information, see Deleting snapshots. (== suppress_warning http-rest- - # shadowed ==) + # For more information, see Deleting snapshots. # @param [String] project # Project ID for this request. # @param [String] snapshot @@ -20369,7 +20445,7 @@ module Google end # Returns the specified Snapshot resource. Gets a list of available snapshots by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] snapshot @@ -20406,7 +20482,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] resource @@ -20443,7 +20519,7 @@ module Google end # Retrieves the list of Snapshot resources contained within the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -20515,7 +20591,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] resource @@ -20555,7 +20631,7 @@ module Google end # Sets the labels on a snapshot. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] resource @@ -20594,8 +20670,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] resource @@ -20635,7 +20710,7 @@ module Google end # Retrieves the list of all SslCertificate resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -20706,8 +20781,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified SslCertificate resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified SslCertificate resource. # @param [String] project # Project ID for this request. # @param [String] ssl_certificate @@ -20756,8 +20830,7 @@ module Google end # Returns the specified SslCertificate resource. Gets a list of available SSL - # certificates by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # certificates by making a list() request. # @param [String] project # Project ID for this request. # @param [String] ssl_certificate @@ -20794,7 +20867,7 @@ module Google end # Creates a SslCertificate resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::SslCertificate] ssl_certificate_object @@ -20843,7 +20916,7 @@ module Google end # Retrieves the list of SslCertificate resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -20915,8 +20988,7 @@ module Google end # Deletes the specified SSL policy. The SSL policy resource can be deleted only - # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. (== - # suppress_warning http-rest-shadowed ==) + # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -20965,8 +21037,7 @@ module Google execute_or_queue_command(command, &block) end - # Lists all of the ordered rules present in a single specified policy. (== - # suppress_warning http-rest-shadowed ==) + # Lists all of the ordered rules present in a single specified policy. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -21004,8 +21075,7 @@ module Google end # Returns the specified SSL policy resource. Gets a list of available SSL - # policies by making a list() request. (== suppress_warning http-rest-shadowed == - # ) + # policies by making a list() request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::SslPolicy] ssl_policy_object @@ -21054,7 +21124,6 @@ module Google end # Lists all the SSL policies that have been configured for the specified project. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] filter @@ -21126,7 +21195,7 @@ module Google end # Lists all features that can be specified in the SSL policy when using custom - # profile. (== suppress_warning http-rest-shadowed ==) + # profile. # @param [String] project # Project ID for this request. # @param [String] filter @@ -21197,8 +21266,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches the specified SSL policy with the data included in the request. (== - # suppress_warning http-rest-shadowed ==) + # Patches the specified SSL policy with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] ssl_policy @@ -21250,8 +21318,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of subnetworks. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of subnetworks. # @param [String] project # Project ID for this request. # @param [String] filter @@ -21322,7 +21389,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified subnetwork. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified subnetwork. # @param [String] project # Project ID for this request. # @param [String] region @@ -21373,8 +21440,7 @@ module Google execute_or_queue_command(command, &block) end - # Expands the IP CIDR range of the subnetwork to a specified value. (== - # suppress_warning http-rest-shadowed ==) + # Expands the IP CIDR range of the subnetwork to a specified value. # @param [String] project # Project ID for this request. # @param [String] region @@ -21429,7 +21495,7 @@ module Google end # Returns the specified subnetwork. Gets a list of available subnetworks list() - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -21469,7 +21535,7 @@ module Google end # Gets the access control policy for a resource. May be empty if no such policy - # or resource exists. (== suppress_warning http-rest-shadowed ==) + # or resource exists. # @param [String] project # Project ID for this request. # @param [String] region @@ -21509,7 +21575,7 @@ module Google end # Creates a subnetwork in the specified project using the data included in the - # request. (== suppress_warning http-rest-shadowed ==) + # request. # @param [String] project # Project ID for this request. # @param [String] region @@ -21560,8 +21626,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of subnetworks available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves a list of subnetworks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] region @@ -21637,8 +21702,7 @@ module Google # Retrieves an aggregated list of all usable subnetworks in the project. The # list contains all of the subnetworks in the project and the subnetworks that - # were shared by a Shared VPC host project. (== suppress_warning http-rest- - # shadowed ==) + # were shared by a Shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -21712,7 +21776,7 @@ module Google # Patches the specified subnetwork with the data included in the request. Only # certain fields can up updated with a patch request as indicated in the field # descriptions. You must specify the current fingeprint of the subnetwork - # resource being patched. (== suppress_warning http-rest-shadowed ==) + # resource being patched. # @param [String] project # Project ID for this request. # @param [String] region @@ -21776,7 +21840,7 @@ module Google end # Sets the access control policy on the specified resource. Replaces any - # existing policy. (== suppress_warning http-rest-shadowed ==) + # existing policy. # @param [String] project # Project ID for this request. # @param [String] region @@ -21819,8 +21883,7 @@ module Google end # Set whether VMs in this subnet can access Google services without assigning - # external IP addresses through Private Google Access. (== suppress_warning http- - # rest-shadowed ==) + # external IP addresses through Private Google Access. # @param [String] project # Project ID for this request. # @param [String] region @@ -21874,8 +21937,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -21918,7 +21980,7 @@ module Google end # Retrieves the list of all TargetHttpProxy resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -21989,8 +22051,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetHttpProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -22039,8 +22100,7 @@ module Google end # Returns the specified TargetHttpProxy resource. Gets a list of available - # target HTTP proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # target HTTP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -22077,7 +22137,7 @@ module Google end # Creates a TargetHttpProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetHttpProxy] target_http_proxy_object @@ -22126,7 +22186,7 @@ module Google end # Retrieves the list of TargetHttpProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -22197,8 +22257,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpProxy. # @param [String] project # Project ID for this request. # @param [String] target_http_proxy @@ -22250,7 +22309,7 @@ module Google end # Retrieves the list of all TargetHttpsProxy resources, regional and global, - # available to the specified project. (== suppress_warning http-rest-shadowed ==) + # available to the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -22321,8 +22380,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetHttpsProxy resource. (== suppress_warning http- - # rest-shadowed ==) + # Deletes the specified TargetHttpsProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -22371,8 +22429,7 @@ module Google end # Returns the specified TargetHttpsProxy resource. Gets a list of available - # target HTTPS proxies by making a list() request. (== suppress_warning http- - # rest-shadowed ==) + # target HTTPS proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -22409,7 +22466,7 @@ module Google end # Creates a TargetHttpsProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetHttpsProxy] target_https_proxy_object @@ -22458,7 +22515,7 @@ module Google end # Retrieves the list of TargetHttpsProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -22529,8 +22586,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the QUIC override policy for TargetHttpsProxy. (== suppress_warning http- - # rest-shadowed ==) + # Sets the QUIC override policy for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -22582,8 +22638,7 @@ module Google execute_or_queue_command(command, &block) end - # Replaces SslCertificates for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Replaces SslCertificates for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -22637,7 +22692,7 @@ module Google # Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server- # side support for SSL features. This affects connections between clients and # the HTTPS proxy load balancer. They do not affect the connection between the - # load balancer and the backends. (== suppress_warning http-rest-shadowed ==) + # load balancer and the backends. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -22689,8 +22744,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the URL map for TargetHttpsProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the URL map for TargetHttpsProxy. # @param [String] project # Project ID for this request. # @param [String] target_https_proxy @@ -22741,8 +22795,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target instances. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of target instances. # @param [String] project # Project ID for this request. # @param [String] filter @@ -22813,8 +22866,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetInstance resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetInstance resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -22866,8 +22918,7 @@ module Google end # Returns the specified TargetInstance resource. Gets a list of available target - # instances by making a list() request. (== suppress_warning http-rest-shadowed = - # =) + # instances by making a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -22907,7 +22958,7 @@ module Google end # Creates a TargetInstance resource in the specified project and zone using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -22959,7 +23010,7 @@ module Google end # Retrieves a list of TargetInstance resources available to the specified - # project and zone. (== suppress_warning http-rest-shadowed ==) + # project and zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -23033,8 +23084,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds health check URLs to a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Adds health check URLs to a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -23088,7 +23138,7 @@ module Google execute_or_queue_command(command, &block) end - # Adds an instance to a target pool. (== suppress_warning http-rest-shadowed ==) + # Adds an instance to a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -23142,8 +23192,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target pools. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of target pools. # @param [String] project # Project ID for this request. # @param [String] filter @@ -23214,7 +23263,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified target pool. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -23266,7 +23315,7 @@ module Google end # Returns the specified target pool. Gets a list of available target pools by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -23306,8 +23355,7 @@ module Google end # Gets the most recent health check results for each IP for the instance that is - # referenced by the given target pool. (== suppress_warning http-rest-shadowed == - # ) + # referenced by the given target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -23350,7 +23398,7 @@ module Google end # Creates a target pool in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -23402,7 +23450,6 @@ module Google end # Retrieves a list of target pools available to the specified project and region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -23476,8 +23523,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes health check URL from a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Removes health check URL from a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -23531,8 +23577,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes instance URL from a target pool. (== suppress_warning http-rest- - # shadowed ==) + # Removes instance URL from a target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -23586,8 +23631,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes a backup target pool's configurations. (== suppress_warning http-rest- - # shadowed ==) + # Changes a backup target pool's configurations. # @param [String] project # Project ID for this request. # @param [String] region @@ -23644,8 +23688,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetSslProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetSslProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -23694,8 +23737,7 @@ module Google end # Returns the specified TargetSslProxy resource. Gets a list of available target - # SSL proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # SSL proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -23732,7 +23774,7 @@ module Google end # Creates a TargetSslProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetSslProxy] target_ssl_proxy_object @@ -23781,7 +23823,7 @@ module Google end # Retrieves the list of TargetSslProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -23852,8 +23894,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the BackendService for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the BackendService for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -23904,8 +23945,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the ProxyHeaderType for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the ProxyHeaderType for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -23956,8 +23996,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes SslCertificates for TargetSslProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes SslCertificates for TargetSslProxy. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -24011,7 +24050,7 @@ module Google # Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server- # side support for SSL features. This affects connections between clients and # the SSL proxy load balancer. They do not affect the connection between the - # load balancer and the backends. (== suppress_warning http-rest-shadowed ==) + # load balancer and the backends. # @param [String] project # Project ID for this request. # @param [String] target_ssl_proxy @@ -24063,8 +24102,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetTcpProxy resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified TargetTcpProxy resource. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -24113,8 +24151,7 @@ module Google end # Returns the specified TargetTcpProxy resource. Gets a list of available target - # TCP proxies by making a list() request. (== suppress_warning http-rest- - # shadowed ==) + # TCP proxies by making a list() request. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -24151,7 +24188,7 @@ module Google end # Creates a TargetTcpProxy resource in the specified project using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetTcpProxy] target_tcp_proxy_object @@ -24200,7 +24237,7 @@ module Google end # Retrieves the list of TargetTcpProxy resources available to the specified - # project. (== suppress_warning http-rest-shadowed ==) + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -24271,8 +24308,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the BackendService for TargetTcpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the BackendService for TargetTcpProxy. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -24323,8 +24359,7 @@ module Google execute_or_queue_command(command, &block) end - # Changes the ProxyHeaderType for TargetTcpProxy. (== suppress_warning http-rest- - # shadowed ==) + # Changes the ProxyHeaderType for TargetTcpProxy. # @param [String] project # Project ID for this request. # @param [String] target_tcp_proxy @@ -24375,8 +24410,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target VPN gateways. (== suppress_warning http- - # rest-shadowed ==) + # Retrieves an aggregated list of target VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -24447,8 +24481,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified target VPN gateway. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified target VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -24500,8 +24533,7 @@ module Google end # Returns the specified target VPN gateway. Gets a list of available target VPN - # gateways by making a list() request. (== suppress_warning http-rest-shadowed == - # ) + # gateways by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24541,7 +24573,7 @@ module Google end # Creates a target VPN gateway in the specified project and region using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -24593,7 +24625,7 @@ module Google end # Retrieves a list of target VPN gateways available to the specified project and - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -24668,7 +24700,7 @@ module Google end # Retrieves the list of all UrlMap resources, regional and global, available to - # the specified project. (== suppress_warning http-rest-shadowed ==) + # the specified project. # @param [String] project # Name of the project scoping this request. # @param [String] filter @@ -24739,8 +24771,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified UrlMap resource. (== suppress_warning http-rest-shadowed - # ==) + # Deletes the specified UrlMap resource. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -24789,7 +24820,7 @@ module Google end # Returns the specified UrlMap resource. Gets a list of available URL maps by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -24826,7 +24857,7 @@ module Google end # Creates a UrlMap resource in the specified project using the data included in - # the request. (== suppress_warning http-rest-shadowed ==) + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::UrlMap] url_map_object @@ -24875,7 +24906,7 @@ module Google end # Initiates a cache invalidation operation, invalidating the specified path, - # scoped to the specified UrlMap. (== suppress_warning http-rest-shadowed ==) + # scoped to the specified UrlMap. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -24926,8 +24957,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of UrlMap resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of UrlMap resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -25000,7 +25030,7 @@ module Google # Patches the specified UrlMap resource with the data included in the request. # This method supports PATCH semantics and uses the JSON merge patch format and - # processing rules. (== suppress_warning http-rest-shadowed ==) + # processing rules. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -25051,8 +25081,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified UrlMap resource with the data included in the request. (= - # = suppress_warning http-rest-shadowed ==) + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -25104,8 +25133,7 @@ module Google end # Runs static validation for the UrlMap. In particular, the tests of the - # provided UrlMap will be run. Calling this method does NOT create the UrlMap. (= - # = suppress_warning http-rest-shadowed ==) + # provided UrlMap will be run. Calling this method does NOT create the UrlMap. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -25144,8 +25172,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of VPN gateways. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -25216,7 +25243,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified VPN gateway. (== suppress_warning http-rest-shadowed ==) + # Deletes the specified VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -25268,7 +25295,7 @@ module Google end # Returns the specified VPN gateway. Gets a list of available VPN gateways by - # making a list() request. (== suppress_warning http-rest-shadowed ==) + # making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25307,8 +25334,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the status for the specified VPN gateway. (== suppress_warning http- - # rest-shadowed ==) + # Returns the status for the specified VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region @@ -25348,7 +25374,7 @@ module Google end # Creates a VPN gateway in the specified project and region using the data - # included in the request. (== suppress_warning http-rest-shadowed ==) + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25400,7 +25426,6 @@ module Google end # Retrieves a list of VPN gateways available to the specified project and region. - # (== suppress_warning http-rest-shadowed ==) # @param [String] project # Project ID for this request. # @param [String] region @@ -25475,7 +25500,7 @@ module Google end # Sets the labels on a VpnGateway. To learn more about labels, read the Labeling - # Resources documentation. (== suppress_warning http-rest-shadowed ==) + # Resources documentation. # @param [String] project # Project ID for this request. # @param [String] region @@ -25529,8 +25554,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. (== - # suppress_warning http-rest-shadowed ==) + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -25572,8 +25596,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of VPN tunnels. (== suppress_warning http-rest- - # shadowed ==) + # Retrieves an aggregated list of VPN tunnels. # @param [String] project # Project ID for this request. # @param [String] filter @@ -25644,8 +25667,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified VpnTunnel resource. (== suppress_warning http-rest- - # shadowed ==) + # Deletes the specified VpnTunnel resource. # @param [String] project # Project ID for this request. # @param [String] region @@ -25697,7 +25719,7 @@ module Google end # Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels - # by making a list() request. (== suppress_warning http-rest-shadowed ==) + # by making a list() request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25737,7 +25759,7 @@ module Google end # Creates a VpnTunnel resource in the specified project and region using the - # data included in the request. (== suppress_warning http-rest-shadowed ==) + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -25789,7 +25811,7 @@ module Google end # Retrieves a list of VpnTunnel resources contained in the specified project and - # region. (== suppress_warning http-rest-shadowed ==) + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -25863,8 +25885,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified zone-specific Operations resource. (== suppress_warning - # http-rest-shadowed ==) + # Deletes the specified zone-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -25901,8 +25922,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the specified zone-specific Operations resource. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the specified zone-specific Operations resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -25941,8 +25961,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of Operation resources contained within the specified zone. (= - # = suppress_warning http-rest-shadowed ==) + # Retrieves a list of Operation resources contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26016,8 +26035,55 @@ module Google execute_or_queue_command(command, &block) end + # Waits for the specified zone-specific Operations resource until it is done or + # timeout, and retrieves the specified Operations resource. 1. Immediately + # returns when the operation is already done. 2. Waits for no more than the + # default deadline (2 minutes, subject to change) and then returns the current + # state of the operation, which may be DONE or still in progress. 3. Is best- + # effort: a. The server can wait less than the default deadline or zero seconds, + # in overload situations. b. There is no guarantee that the operation is + # actually done when returns. 4. User should be prepared to retry if the + # operation is not DONE. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # Name of the zone for this request. + # @param [String] operation + # Name of the Operations resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/operations/{operation}/wait', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['operation'] = operation unless operation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns the specified Zone resource. Gets a list of available zones by making - # a list() request. (== suppress_warning http-rest-shadowed ==) + # a list() request. # @param [String] project # Project ID for this request. # @param [String] zone @@ -26053,8 +26119,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of Zone resources available to the specified project. (== - # suppress_warning http-rest-shadowed ==) + # Retrieves the list of Zone resources available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index db4328c0c..ebb5ff4a0 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -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' diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index 721ea7709..0e739cc02 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -412,6 +412,12 @@ module Google # @return [Array] 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 diff --git a/generated/google/apis/dns_v1/representations.rb b/generated/google/apis/dns_v1/representations.rb index 6a63c87f5..dccc5e24a 100644 --- a/generated/google/apis/dns_v1/representations.rb +++ b/generated/google/apis/dns_v1/representations.rb @@ -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 diff --git a/generated/google/apis/dns_v2beta1.rb b/generated/google/apis/dns_v2beta1.rb index 39225e5ca..e03505c89 100644 --- a/generated/google/apis/dns_v2beta1.rb +++ b/generated/google/apis/dns_v2beta1.rb @@ -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' diff --git a/generated/google/apis/dns_v2beta1/classes.rb b/generated/google/apis/dns_v2beta1/classes.rb index 8af1d9415..34889a289 100644 --- a/generated/google/apis/dns_v2beta1/classes.rb +++ b/generated/google/apis/dns_v2beta1/classes.rb @@ -412,6 +412,12 @@ module Google # @return [Array] 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 diff --git a/generated/google/apis/dns_v2beta1/representations.rb b/generated/google/apis/dns_v2beta1/representations.rb index 79bab6bdc..2da957590 100644 --- a/generated/google/apis/dns_v2beta1/representations.rb +++ b/generated/google/apis/dns_v2beta1/representations.rb @@ -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 diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index 217353af5..63c629dcb 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -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' diff --git a/generated/google/apis/doubleclickbidmanager_v1_1.rb b/generated/google/apis/doubleclickbidmanager_v1_1.rb index 8efb932c4..d2270c351 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1.rb @@ -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' diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index d959941f8..ce6cd5039 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -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' diff --git a/generated/google/apis/games_management_v1management/service.rb b/generated/google/apis/games_management_v1management/service.rb index aba174378..1f46fa172 100644 --- a/generated/google/apis/games_management_v1management/service.rb +++ b/generated/google/apis/games_management_v1management/service.rb @@ -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. diff --git a/generated/google/apis/spanner_v1.rb b/generated/google/apis/spanner_v1.rb index a5c947378..2e8a3922f 100644 --- a/generated/google/apis/spanner_v1.rb +++ b/generated/google/apis/spanner_v1.rb @@ -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' diff --git a/generated/google/apis/spanner_v1/classes.rb b/generated/google/apis/spanner_v1/classes.rb index ccad5bae2..997220a7e 100644 --- a/generated/google/apis/spanner_v1/classes.rb +++ b/generated/google/apis/spanner_v1/classes.rb @@ -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] 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] 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] diff --git a/generated/google/apis/spanner_v1/service.rb b/generated/google/apis/spanner_v1/service.rb index 16a48d1a7..ebecdf980 100644 --- a/generated/google/apis/spanner_v1/service.rb +++ b/generated/google/apis/spanner_v1/service.rb @@ -222,11 +222,9 @@ module Google # Required. The name of the requested instance. Values are of the form # `projects//instances/`. # @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