google-apis-compute_beta 0.73.0 → 0.75.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -9504,6 +9504,261 @@ module Google
9504
9504
  execute_or_queue_command(command, &block)
9505
9505
  end
9506
9506
 
9507
+ # Deletes the specified, inactive resize request. Requests that are still active
9508
+ # cannot be deleted. Deleting request does not delete instances that were
9509
+ # provisioned previously.
9510
+ # @param [String] project
9511
+ # Project ID for this request.
9512
+ # @param [String] zone
9513
+ # The name of the zone where the managed instance group is located. The name
9514
+ # should conform to RFC1035.
9515
+ # @param [String] instance_group_manager
9516
+ # The name of the managed instance group. The name should conform to RFC1035 or
9517
+ # be a resource ID.
9518
+ # @param [String] resize_request
9519
+ # The name of the resize request to delete. The name should conform to RFC1035
9520
+ # or be a resource ID.
9521
+ # @param [String] request_id
9522
+ # An optional request ID to identify requests. Specify a unique request ID so
9523
+ # that if you must retry your request, the server will know to ignore the
9524
+ # request if it has already been completed. For example, consider a situation
9525
+ # where you make an initial request and the request times out. If you make the
9526
+ # request again with the same request ID, the server can check if original
9527
+ # operation with the same request ID was received, and if so, will ignore the
9528
+ # second request. This prevents clients from accidentally creating duplicate
9529
+ # commitments. The request ID must be a valid UUID with the exception that zero
9530
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
9531
+ # @param [String] fields
9532
+ # Selector specifying which fields to include in a partial response.
9533
+ # @param [String] quota_user
9534
+ # Available to use for quota purposes for server-side applications. Can be any
9535
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9536
+ # @param [String] user_ip
9537
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9538
+ # @param [Google::Apis::RequestOptions] options
9539
+ # Request-specific options
9540
+ #
9541
+ # @yield [result, err] Result & error if block supplied
9542
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
9543
+ # @yieldparam err [StandardError] error object if request failed
9544
+ #
9545
+ # @return [Google::Apis::ComputeBeta::Operation]
9546
+ #
9547
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9548
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9549
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9550
+ def delete_instance_group_manager_resize_request(project, zone, instance_group_manager, resize_request, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9551
+ command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}', options)
9552
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
9553
+ command.response_class = Google::Apis::ComputeBeta::Operation
9554
+ command.params['project'] = project unless project.nil?
9555
+ command.params['zone'] = zone unless zone.nil?
9556
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9557
+ command.params['resizeRequest'] = resize_request unless resize_request.nil?
9558
+ command.query['requestId'] = request_id unless request_id.nil?
9559
+ command.query['fields'] = fields unless fields.nil?
9560
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9561
+ command.query['userIp'] = user_ip unless user_ip.nil?
9562
+ execute_or_queue_command(command, &block)
9563
+ end
9564
+
9565
+ # Returns all of the details about the specified resize request.
9566
+ # @param [String] project
9567
+ # Project ID for this request.
9568
+ # @param [String] zone
9569
+ # Name of the href="/compute/docs/regions-zones/#available">zone scoping this
9570
+ # request. Name should conform to RFC1035.
9571
+ # @param [String] instance_group_manager
9572
+ # The name of the managed instance group. Name should conform to RFC1035 or be a
9573
+ # resource ID.
9574
+ # @param [String] resize_request
9575
+ # The name of the resize request. Name should conform to RFC1035 or be a
9576
+ # resource ID.
9577
+ # @param [String] fields
9578
+ # Selector specifying which fields to include in a partial response.
9579
+ # @param [String] quota_user
9580
+ # Available to use for quota purposes for server-side applications. Can be any
9581
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9582
+ # @param [String] user_ip
9583
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9584
+ # @param [Google::Apis::RequestOptions] options
9585
+ # Request-specific options
9586
+ #
9587
+ # @yield [result, err] Result & error if block supplied
9588
+ # @yieldparam result [Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequest] parsed result object
9589
+ # @yieldparam err [StandardError] error object if request failed
9590
+ #
9591
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequest]
9592
+ #
9593
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9594
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9595
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9596
+ def get_instance_group_manager_resize_request(project, zone, instance_group_manager, resize_request, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9597
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}', options)
9598
+ command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequest::Representation
9599
+ command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequest
9600
+ command.params['project'] = project unless project.nil?
9601
+ command.params['zone'] = zone unless zone.nil?
9602
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9603
+ command.params['resizeRequest'] = resize_request unless resize_request.nil?
9604
+ command.query['fields'] = fields unless fields.nil?
9605
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9606
+ command.query['userIp'] = user_ip unless user_ip.nil?
9607
+ execute_or_queue_command(command, &block)
9608
+ end
9609
+
9610
+ # Creates a new resize request that starts provisioning VMs immediately or
9611
+ # queues VM creation.
9612
+ # @param [String] project
9613
+ # Project ID for this request.
9614
+ # @param [String] zone
9615
+ # The name of the zone where the managed instance group is located and where the
9616
+ # resize request will be created. Name should conform to RFC1035.
9617
+ # @param [String] instance_group_manager
9618
+ # The name of the managed instance group to which the resize request will be
9619
+ # added. Name should conform to RFC1035 or be a resource ID.
9620
+ # @param [Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequest] instance_group_manager_resize_request_object
9621
+ # @param [String] request_id
9622
+ # An optional request ID to identify requests. Specify a unique request ID so
9623
+ # that if you must retry your request, the server will know to ignore the
9624
+ # request if it has already been completed. For example, consider a situation
9625
+ # where you make an initial request and the request times out. If you make the
9626
+ # request again with the same request ID, the server can check if original
9627
+ # operation with the same request ID was received, and if so, will ignore the
9628
+ # second request. This prevents clients from accidentally creating duplicate
9629
+ # commitments. The request ID must be a valid UUID with the exception that zero
9630
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
9631
+ # @param [String] fields
9632
+ # Selector specifying which fields to include in a partial response.
9633
+ # @param [String] quota_user
9634
+ # Available to use for quota purposes for server-side applications. Can be any
9635
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9636
+ # @param [String] user_ip
9637
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9638
+ # @param [Google::Apis::RequestOptions] options
9639
+ # Request-specific options
9640
+ #
9641
+ # @yield [result, err] Result & error if block supplied
9642
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
9643
+ # @yieldparam err [StandardError] error object if request failed
9644
+ #
9645
+ # @return [Google::Apis::ComputeBeta::Operation]
9646
+ #
9647
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9648
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9649
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9650
+ def insert_instance_group_manager_resize_request(project, zone, instance_group_manager, instance_group_manager_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9651
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests', options)
9652
+ command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequest::Representation
9653
+ command.request_object = instance_group_manager_resize_request_object
9654
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
9655
+ command.response_class = Google::Apis::ComputeBeta::Operation
9656
+ command.params['project'] = project unless project.nil?
9657
+ command.params['zone'] = zone unless zone.nil?
9658
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9659
+ command.query['requestId'] = request_id unless request_id.nil?
9660
+ command.query['fields'] = fields unless fields.nil?
9661
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9662
+ command.query['userIp'] = user_ip unless user_ip.nil?
9663
+ execute_or_queue_command(command, &block)
9664
+ end
9665
+
9666
+ # Retrieves a list of resize requests that are contained in the managed instance
9667
+ # group.
9668
+ # @param [String] project
9669
+ # Project ID for this request.
9670
+ # @param [String] zone
9671
+ # The name of the zone where the managed instance group is located. The name
9672
+ # should conform to RFC1035.
9673
+ # @param [String] instance_group_manager
9674
+ # The name of the managed instance group. The name should conform to RFC1035.
9675
+ # @param [String] filter
9676
+ # A filter expression that filters resources listed in the response. Most
9677
+ # Compute resources support two types of filter expressions: expressions that
9678
+ # support regular expressions and expressions that follow API improvement
9679
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
9680
+ # field name, an operator, and the value that you want to use for filtering. The
9681
+ # value must be a string, a number, or a boolean. The operator must be either `=`
9682
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
9683
+ # Engine instances, you can exclude instances named `example-instance` by
9684
+ # specifying `name != example-instance`. The `:` operator can be used with
9685
+ # string fields to match substrings. For non-string fields it is equivalent to
9686
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
9687
+ # been defined. For example, to find all objects with `owner` label use: ```
9688
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
9689
+ # specify `scheduling.automaticRestart = false` to include instances only if
9690
+ # they are not scheduled for automatic restarts. You can use filtering on nested
9691
+ # fields to filter based on resource labels. To filter on multiple expressions,
9692
+ # provide each separate expression within parentheses. For example: ``` (
9693
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
9694
+ # default, each expression is an `AND` expression. However, you can include `AND`
9695
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
9696
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
9697
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
9698
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
9699
+ # expression with or without quotes or against multiple parenthesized
9700
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
9701
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
9702
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
9703
+ # regular expression using Google RE2 library syntax. The literal value must
9704
+ # match the entire field. For example, to filter for instances that do not end
9705
+ # with name "instance", you would use `name ne .*instance`.
9706
+ # @param [Fixnum] max_results
9707
+ # The maximum number of results per page that should be returned. If the number
9708
+ # of available results is larger than `maxResults`, Compute Engine returns a `
9709
+ # nextPageToken` that can be used to get the next page of results in subsequent
9710
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
9711
+ # @param [String] order_by
9712
+ # Sorts list results by a certain order. By default, results are returned in
9713
+ # alphanumerical order based on the resource name. You can also sort results in
9714
+ # descending order based on the creation timestamp using `orderBy="
9715
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
9716
+ # field in reverse chronological order (newest result first). Use this to sort
9717
+ # resources like operations so that the newest operation is returned first.
9718
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
9719
+ # @param [String] page_token
9720
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
9721
+ # by a previous list request to get the next page of results.
9722
+ # @param [Boolean] return_partial_success
9723
+ # Opt-in for partial success behavior which provides partial results in case of
9724
+ # failure. The default value is false.
9725
+ # @param [String] fields
9726
+ # Selector specifying which fields to include in a partial response.
9727
+ # @param [String] quota_user
9728
+ # Available to use for quota purposes for server-side applications. Can be any
9729
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9730
+ # @param [String] user_ip
9731
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9732
+ # @param [Google::Apis::RequestOptions] options
9733
+ # Request-specific options
9734
+ #
9735
+ # @yield [result, err] Result & error if block supplied
9736
+ # @yieldparam result [Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequestsListResponse] parsed result object
9737
+ # @yieldparam err [StandardError] error object if request failed
9738
+ #
9739
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequestsListResponse]
9740
+ #
9741
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9742
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9743
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9744
+ def list_instance_group_manager_resize_requests(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9745
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests', options)
9746
+ command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequestsListResponse::Representation
9747
+ command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequestsListResponse
9748
+ command.params['project'] = project unless project.nil?
9749
+ command.params['zone'] = zone unless zone.nil?
9750
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9751
+ command.query['filter'] = filter unless filter.nil?
9752
+ command.query['maxResults'] = max_results unless max_results.nil?
9753
+ command.query['orderBy'] = order_by unless order_by.nil?
9754
+ command.query['pageToken'] = page_token unless page_token.nil?
9755
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
9756
+ command.query['fields'] = fields unless fields.nil?
9757
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9758
+ command.query['userIp'] = user_ip unless user_ip.nil?
9759
+ execute_or_queue_command(command, &block)
9760
+ end
9761
+
9507
9762
  # Flags the specified instances to be removed from the managed instance group.
9508
9763
  # Abandoning an instance does not delete the instance, but it does remove the
9509
9764
  # instance from any target pools that are applied by the managed instance group.
@@ -16236,6 +16491,42 @@ module Google
16236
16491
  execute_or_queue_command(command, &block)
16237
16492
  end
16238
16493
 
16494
+ # Returns the interconnectMacsecConfig for the specified Interconnect.
16495
+ # @param [String] project
16496
+ # Project ID for this request.
16497
+ # @param [String] interconnect
16498
+ # Name of the interconnect resource to query.
16499
+ # @param [String] fields
16500
+ # Selector specifying which fields to include in a partial response.
16501
+ # @param [String] quota_user
16502
+ # Available to use for quota purposes for server-side applications. Can be any
16503
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16504
+ # @param [String] user_ip
16505
+ # Legacy name for parameter that has been superseded by `quotaUser`.
16506
+ # @param [Google::Apis::RequestOptions] options
16507
+ # Request-specific options
16508
+ #
16509
+ # @yield [result, err] Result & error if block supplied
16510
+ # @yieldparam result [Google::Apis::ComputeBeta::InterconnectsGetMacsecConfigResponse] parsed result object
16511
+ # @yieldparam err [StandardError] error object if request failed
16512
+ #
16513
+ # @return [Google::Apis::ComputeBeta::InterconnectsGetMacsecConfigResponse]
16514
+ #
16515
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16516
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16517
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16518
+ def get_interconnect_macsec_config(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16519
+ command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}/getMacsecConfig', options)
16520
+ command.response_representation = Google::Apis::ComputeBeta::InterconnectsGetMacsecConfigResponse::Representation
16521
+ command.response_class = Google::Apis::ComputeBeta::InterconnectsGetMacsecConfigResponse
16522
+ command.params['project'] = project unless project.nil?
16523
+ command.params['interconnect'] = interconnect unless interconnect.nil?
16524
+ command.query['fields'] = fields unless fields.nil?
16525
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16526
+ command.query['userIp'] = user_ip unless user_ip.nil?
16527
+ execute_or_queue_command(command, &block)
16528
+ end
16529
+
16239
16530
  # Creates an Interconnect in the specified project using the data included in
16240
16531
  # the request.
16241
16532
  # @param [String] project
@@ -23397,7 +23688,8 @@ module Google
23397
23688
  # behavior. For more information, see the [known issue](/compute/docs/
23398
23689
  # troubleshooting/known-issues#
23399
23690
  # ving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior)
23400
- # .
23691
+ # . [Deprecated] This method is deprecated. See [moving instance across zones](/
23692
+ # compute/docs/instances/moving-instance-across-zones) instead.
23401
23693
  # @param [String] project
23402
23694
  # Project ID for this request.
23403
23695
  # @param [Google::Apis::ComputeBeta::MoveInstanceRequest] move_instance_request_object
@@ -23541,12 +23833,13 @@ module Google
23541
23833
  execute_or_queue_command(command, &block)
23542
23834
  end
23543
23835
 
23544
- # Enables the usage export feature and sets the usage export bucket where
23545
- # reports are stored. If you provide an empty request body using this method,
23546
- # the usage export feature will be disabled.
23836
+ # Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set
23837
+ # PLUS or above the billing account of the project must be subscribed to Managed
23838
+ # Protection Plus. See Subscribing to Managed Protection Plus for more
23839
+ # information.
23547
23840
  # @param [String] project
23548
23841
  # Project ID for this request.
23549
- # @param [Google::Apis::ComputeBeta::UsageExportLocation] usage_export_location_object
23842
+ # @param [Google::Apis::ComputeBeta::ProjectsSetManagedProtectionTierRequest] projects_set_managed_protection_tier_request_object
23550
23843
  # @param [String] request_id
23551
23844
  # An optional request ID to identify requests. Specify a unique request ID so
23552
23845
  # that if you must retry your request, the server will know to ignore the
@@ -23576,10 +23869,10 @@ module Google
23576
23869
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23577
23870
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23578
23871
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23579
- def set_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23580
- command = make_simple_command(:post, 'projects/{project}/setUsageExportBucket', options)
23581
- command.request_representation = Google::Apis::ComputeBeta::UsageExportLocation::Representation
23582
- command.request_object = usage_export_location_object
23872
+ def set_project_managed_protection_tier(project, projects_set_managed_protection_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23873
+ command = make_simple_command(:post, 'projects/{project}/setManagedProtectionTier', options)
23874
+ command.request_representation = Google::Apis::ComputeBeta::ProjectsSetManagedProtectionTierRequest::Representation
23875
+ command.request_object = projects_set_managed_protection_tier_request_object
23583
23876
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
23584
23877
  command.response_class = Google::Apis::ComputeBeta::Operation
23585
23878
  command.params['project'] = project unless project.nil?
@@ -23590,11 +23883,12 @@ module Google
23590
23883
  execute_or_queue_command(command, &block)
23591
23884
  end
23592
23885
 
23593
- # Deletes the specified PublicAdvertisedPrefix
23886
+ # Enables the usage export feature and sets the usage export bucket where
23887
+ # reports are stored. If you provide an empty request body using this method,
23888
+ # the usage export feature will be disabled.
23594
23889
  # @param [String] project
23595
23890
  # Project ID for this request.
23596
- # @param [String] public_advertised_prefix
23597
- # Name of the PublicAdvertisedPrefix resource to delete.
23891
+ # @param [Google::Apis::ComputeBeta::UsageExportLocation] usage_export_location_object
23598
23892
  # @param [String] request_id
23599
23893
  # An optional request ID to identify requests. Specify a unique request ID so
23600
23894
  # that if you must retry your request, the server will know to ignore the
@@ -23624,8 +23918,56 @@ module Google
23624
23918
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23625
23919
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23626
23920
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23627
- def delete_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23628
- command = make_simple_command(:delete, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options)
23921
+ def set_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23922
+ command = make_simple_command(:post, 'projects/{project}/setUsageExportBucket', options)
23923
+ command.request_representation = Google::Apis::ComputeBeta::UsageExportLocation::Representation
23924
+ command.request_object = usage_export_location_object
23925
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
23926
+ command.response_class = Google::Apis::ComputeBeta::Operation
23927
+ command.params['project'] = project unless project.nil?
23928
+ command.query['requestId'] = request_id unless request_id.nil?
23929
+ command.query['fields'] = fields unless fields.nil?
23930
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23931
+ command.query['userIp'] = user_ip unless user_ip.nil?
23932
+ execute_or_queue_command(command, &block)
23933
+ end
23934
+
23935
+ # Deletes the specified PublicAdvertisedPrefix
23936
+ # @param [String] project
23937
+ # Project ID for this request.
23938
+ # @param [String] public_advertised_prefix
23939
+ # Name of the PublicAdvertisedPrefix resource to delete.
23940
+ # @param [String] request_id
23941
+ # An optional request ID to identify requests. Specify a unique request ID so
23942
+ # that if you must retry your request, the server will know to ignore the
23943
+ # request if it has already been completed. For example, consider a situation
23944
+ # where you make an initial request and the request times out. If you make the
23945
+ # request again with the same request ID, the server can check if original
23946
+ # operation with the same request ID was received, and if so, will ignore the
23947
+ # second request. This prevents clients from accidentally creating duplicate
23948
+ # commitments. The request ID must be a valid UUID with the exception that zero
23949
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23950
+ # @param [String] fields
23951
+ # Selector specifying which fields to include in a partial response.
23952
+ # @param [String] quota_user
23953
+ # Available to use for quota purposes for server-side applications. Can be any
23954
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23955
+ # @param [String] user_ip
23956
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23957
+ # @param [Google::Apis::RequestOptions] options
23958
+ # Request-specific options
23959
+ #
23960
+ # @yield [result, err] Result & error if block supplied
23961
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
23962
+ # @yieldparam err [StandardError] error object if request failed
23963
+ #
23964
+ # @return [Google::Apis::ComputeBeta::Operation]
23965
+ #
23966
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23967
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23968
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23969
+ def delete_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23970
+ command = make_simple_command(:delete, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options)
23629
23971
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
23630
23972
  command.response_class = Google::Apis::ComputeBeta::Operation
23631
23973
  command.params['project'] = project unless project.nil?
@@ -29821,6 +30163,61 @@ module Google
29821
30163
  execute_or_queue_command(command, &block)
29822
30164
  end
29823
30165
 
30166
+ # Attach a list of network endpoints to the specified network endpoint group.
30167
+ # @param [String] project
30168
+ # Project ID for this request.
30169
+ # @param [String] region
30170
+ # The name of the region where you want to create the network endpoint group. It
30171
+ # should comply with RFC1035.
30172
+ # @param [String] network_endpoint_group
30173
+ # The name of the network endpoint group where you are attaching network
30174
+ # endpoints to. It should comply with RFC1035.
30175
+ # @param [Google::Apis::ComputeBeta::RegionNetworkEndpointGroupsAttachEndpointsRequest] region_network_endpoint_groups_attach_endpoints_request_object
30176
+ # @param [String] request_id
30177
+ # An optional request ID to identify requests. Specify a unique request ID so
30178
+ # that if you must retry your request, the server will know to ignore the
30179
+ # request if it has already been completed. For example, consider a situation
30180
+ # where you make an initial request and the request times out. If you make the
30181
+ # request again with the same request ID, the server can check if original
30182
+ # operation with the same request ID was received, and if so, will ignore the
30183
+ # second request. This prevents clients from accidentally creating duplicate
30184
+ # commitments. The request ID must be a valid UUID with the exception that zero
30185
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
30186
+ # @param [String] fields
30187
+ # Selector specifying which fields to include in a partial response.
30188
+ # @param [String] quota_user
30189
+ # Available to use for quota purposes for server-side applications. Can be any
30190
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30191
+ # @param [String] user_ip
30192
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30193
+ # @param [Google::Apis::RequestOptions] options
30194
+ # Request-specific options
30195
+ #
30196
+ # @yield [result, err] Result & error if block supplied
30197
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
30198
+ # @yieldparam err [StandardError] error object if request failed
30199
+ #
30200
+ # @return [Google::Apis::ComputeBeta::Operation]
30201
+ #
30202
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30203
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30204
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30205
+ def attach_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, region_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30206
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
30207
+ command.request_representation = Google::Apis::ComputeBeta::RegionNetworkEndpointGroupsAttachEndpointsRequest::Representation
30208
+ command.request_object = region_network_endpoint_groups_attach_endpoints_request_object
30209
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
30210
+ command.response_class = Google::Apis::ComputeBeta::Operation
30211
+ command.params['project'] = project unless project.nil?
30212
+ command.params['region'] = region unless region.nil?
30213
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
30214
+ command.query['requestId'] = request_id unless request_id.nil?
30215
+ command.query['fields'] = fields unless fields.nil?
30216
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30217
+ command.query['userIp'] = user_ip unless user_ip.nil?
30218
+ execute_or_queue_command(command, &block)
30219
+ end
30220
+
29824
30221
  # Deletes the specified network endpoint group. Note that the NEG cannot be
29825
30222
  # deleted if it is configured as a backend of a backend service.
29826
30223
  # @param [String] project
@@ -29874,6 +30271,62 @@ module Google
29874
30271
  execute_or_queue_command(command, &block)
29875
30272
  end
29876
30273
 
30274
+ # Detach the network endpoint from the specified network endpoint group.
30275
+ # @param [String] project
30276
+ # Project ID for this request.
30277
+ # @param [String] region
30278
+ # The name of the region where the network endpoint group is located. It should
30279
+ # comply with RFC1035.
30280
+ # @param [String] network_endpoint_group
30281
+ # The name of the network endpoint group you are detaching network endpoints
30282
+ # from. It should comply with RFC1035.
30283
+ # @param [Google::Apis::ComputeBeta::RegionNetworkEndpointGroupsDetachEndpointsRequest] region_network_endpoint_groups_detach_endpoints_request_object
30284
+ # @param [String] request_id
30285
+ # An optional request ID to identify requests. Specify a unique request ID so
30286
+ # that if you must retry your request, the server will know to ignore the
30287
+ # request if it has already been completed. For example, consider a situation
30288
+ # where you make an initial request and the request times out. If you make the
30289
+ # request again with the same request ID, the server can check if original
30290
+ # operation with the same request ID was received, and if so, will ignore the
30291
+ # second request. This prevents clients from accidentally creating duplicate
30292
+ # commitments. The request ID must be a valid UUID with the exception that zero
30293
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
30294
+ # MixerMutationRequestBuilder
30295
+ # @param [String] fields
30296
+ # Selector specifying which fields to include in a partial response.
30297
+ # @param [String] quota_user
30298
+ # Available to use for quota purposes for server-side applications. Can be any
30299
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30300
+ # @param [String] user_ip
30301
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30302
+ # @param [Google::Apis::RequestOptions] options
30303
+ # Request-specific options
30304
+ #
30305
+ # @yield [result, err] Result & error if block supplied
30306
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
30307
+ # @yieldparam err [StandardError] error object if request failed
30308
+ #
30309
+ # @return [Google::Apis::ComputeBeta::Operation]
30310
+ #
30311
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30312
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30313
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30314
+ def detach_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, region_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30315
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
30316
+ command.request_representation = Google::Apis::ComputeBeta::RegionNetworkEndpointGroupsDetachEndpointsRequest::Representation
30317
+ command.request_object = region_network_endpoint_groups_detach_endpoints_request_object
30318
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
30319
+ command.response_class = Google::Apis::ComputeBeta::Operation
30320
+ command.params['project'] = project unless project.nil?
30321
+ command.params['region'] = region unless region.nil?
30322
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
30323
+ command.query['requestId'] = request_id unless request_id.nil?
30324
+ command.query['fields'] = fields unless fields.nil?
30325
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30326
+ command.query['userIp'] = user_ip unless user_ip.nil?
30327
+ execute_or_queue_command(command, &block)
30328
+ end
30329
+
29877
30330
  # Returns the specified network endpoint group.
29878
30331
  # @param [String] project
29879
30332
  # Project ID for this request.
@@ -30059,6 +30512,102 @@ module Google
30059
30512
  execute_or_queue_command(command, &block)
30060
30513
  end
30061
30514
 
30515
+ # Lists the network endpoints in the specified network endpoint group.
30516
+ # @param [String] project
30517
+ # Project ID for this request.
30518
+ # @param [String] region
30519
+ # The name of the region where the network endpoint group is located. It should
30520
+ # comply with RFC1035.
30521
+ # @param [String] network_endpoint_group
30522
+ # The name of the network endpoint group from which you want to generate a list
30523
+ # of included network endpoints. It should comply with RFC1035.
30524
+ # @param [String] filter
30525
+ # A filter expression that filters resources listed in the response. Most
30526
+ # Compute resources support two types of filter expressions: expressions that
30527
+ # support regular expressions and expressions that follow API improvement
30528
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
30529
+ # field name, an operator, and the value that you want to use for filtering. The
30530
+ # value must be a string, a number, or a boolean. The operator must be either `=`
30531
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
30532
+ # Engine instances, you can exclude instances named `example-instance` by
30533
+ # specifying `name != example-instance`. The `:` operator can be used with
30534
+ # string fields to match substrings. For non-string fields it is equivalent to
30535
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
30536
+ # been defined. For example, to find all objects with `owner` label use: ```
30537
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
30538
+ # specify `scheduling.automaticRestart = false` to include instances only if
30539
+ # they are not scheduled for automatic restarts. You can use filtering on nested
30540
+ # fields to filter based on resource labels. To filter on multiple expressions,
30541
+ # provide each separate expression within parentheses. For example: ``` (
30542
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
30543
+ # default, each expression is an `AND` expression. However, you can include `AND`
30544
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
30545
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
30546
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
30547
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
30548
+ # expression with or without quotes or against multiple parenthesized
30549
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
30550
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
30551
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
30552
+ # regular expression using Google RE2 library syntax. The literal value must
30553
+ # match the entire field. For example, to filter for instances that do not end
30554
+ # with name "instance", you would use `name ne .*instance`.
30555
+ # @param [Fixnum] max_results
30556
+ # The maximum number of results per page that should be returned. If the number
30557
+ # of available results is larger than `maxResults`, Compute Engine returns a `
30558
+ # nextPageToken` that can be used to get the next page of results in subsequent
30559
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
30560
+ # @param [String] order_by
30561
+ # Sorts list results by a certain order. By default, results are returned in
30562
+ # alphanumerical order based on the resource name. You can also sort results in
30563
+ # descending order based on the creation timestamp using `orderBy="
30564
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
30565
+ # field in reverse chronological order (newest result first). Use this to sort
30566
+ # resources like operations so that the newest operation is returned first.
30567
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
30568
+ # @param [String] page_token
30569
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
30570
+ # by a previous list request to get the next page of results.
30571
+ # @param [Boolean] return_partial_success
30572
+ # Opt-in for partial success behavior which provides partial results in case of
30573
+ # failure. The default value is false.
30574
+ # @param [String] fields
30575
+ # Selector specifying which fields to include in a partial response.
30576
+ # @param [String] quota_user
30577
+ # Available to use for quota purposes for server-side applications. Can be any
30578
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30579
+ # @param [String] user_ip
30580
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30581
+ # @param [Google::Apis::RequestOptions] options
30582
+ # Request-specific options
30583
+ #
30584
+ # @yield [result, err] Result & error if block supplied
30585
+ # @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
30586
+ # @yieldparam err [StandardError] error object if request failed
30587
+ #
30588
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints]
30589
+ #
30590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30593
+ def list_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30594
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
30595
+ command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation
30596
+ command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
30597
+ command.params['project'] = project unless project.nil?
30598
+ command.params['region'] = region unless region.nil?
30599
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
30600
+ command.query['filter'] = filter unless filter.nil?
30601
+ command.query['maxResults'] = max_results unless max_results.nil?
30602
+ command.query['orderBy'] = order_by unless order_by.nil?
30603
+ command.query['pageToken'] = page_token unless page_token.nil?
30604
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
30605
+ command.query['fields'] = fields unless fields.nil?
30606
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30607
+ command.query['userIp'] = user_ip unless user_ip.nil?
30608
+ execute_or_queue_command(command, &block)
30609
+ end
30610
+
30062
30611
  # Inserts an association for the specified network firewall policy.
30063
30612
  # @param [String] project
30064
30613
  # Project ID for this request.
@@ -31739,9 +32288,9 @@ module Google
31739
32288
  end
31740
32289
 
31741
32290
  # Patches the specified policy with the data included in the request. To clear
31742
- # fields in the rule, leave the fields empty and specify them in the updateMask.
31743
- # This cannot be used to be update the rules in the policy. Please use the per
31744
- # rule methods like addRule, patchRule, and removeRule instead.
32291
+ # fields in the policy, leave the fields empty and specify them in the
32292
+ # updateMask. This cannot be used to be update the rules in the policy. Please
32293
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
31745
32294
  # @param [String] project
31746
32295
  # Project ID for this request.
31747
32296
  # @param [String] region
@@ -34065,6 +34614,98 @@ module Google
34065
34614
  execute_or_queue_command(command, &block)
34066
34615
  end
34067
34616
 
34617
+ # Retrieves the list of Zone resources under the specific region available to
34618
+ # the specified project.
34619
+ # @param [String] project
34620
+ # Project ID for this request.
34621
+ # @param [String] region
34622
+ # Region for this request.
34623
+ # @param [String] filter
34624
+ # A filter expression that filters resources listed in the response. Most
34625
+ # Compute resources support two types of filter expressions: expressions that
34626
+ # support regular expressions and expressions that follow API improvement
34627
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
34628
+ # field name, an operator, and the value that you want to use for filtering. The
34629
+ # value must be a string, a number, or a boolean. The operator must be either `=`
34630
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
34631
+ # Engine instances, you can exclude instances named `example-instance` by
34632
+ # specifying `name != example-instance`. The `:` operator can be used with
34633
+ # string fields to match substrings. For non-string fields it is equivalent to
34634
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
34635
+ # been defined. For example, to find all objects with `owner` label use: ```
34636
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
34637
+ # specify `scheduling.automaticRestart = false` to include instances only if
34638
+ # they are not scheduled for automatic restarts. You can use filtering on nested
34639
+ # fields to filter based on resource labels. To filter on multiple expressions,
34640
+ # provide each separate expression within parentheses. For example: ``` (
34641
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
34642
+ # default, each expression is an `AND` expression. However, you can include `AND`
34643
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
34644
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
34645
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
34646
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
34647
+ # expression with or without quotes or against multiple parenthesized
34648
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
34649
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
34650
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
34651
+ # regular expression using Google RE2 library syntax. The literal value must
34652
+ # match the entire field. For example, to filter for instances that do not end
34653
+ # with name "instance", you would use `name ne .*instance`.
34654
+ # @param [Fixnum] max_results
34655
+ # The maximum number of results per page that should be returned. If the number
34656
+ # of available results is larger than `maxResults`, Compute Engine returns a `
34657
+ # nextPageToken` that can be used to get the next page of results in subsequent
34658
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
34659
+ # @param [String] order_by
34660
+ # Sorts list results by a certain order. By default, results are returned in
34661
+ # alphanumerical order based on the resource name. You can also sort results in
34662
+ # descending order based on the creation timestamp using `orderBy="
34663
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
34664
+ # field in reverse chronological order (newest result first). Use this to sort
34665
+ # resources like operations so that the newest operation is returned first.
34666
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
34667
+ # @param [String] page_token
34668
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
34669
+ # by a previous list request to get the next page of results.
34670
+ # @param [Boolean] return_partial_success
34671
+ # Opt-in for partial success behavior which provides partial results in case of
34672
+ # failure. The default value is false.
34673
+ # @param [String] fields
34674
+ # Selector specifying which fields to include in a partial response.
34675
+ # @param [String] quota_user
34676
+ # Available to use for quota purposes for server-side applications. Can be any
34677
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34678
+ # @param [String] user_ip
34679
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34680
+ # @param [Google::Apis::RequestOptions] options
34681
+ # Request-specific options
34682
+ #
34683
+ # @yield [result, err] Result & error if block supplied
34684
+ # @yieldparam result [Google::Apis::ComputeBeta::ZoneList] parsed result object
34685
+ # @yieldparam err [StandardError] error object if request failed
34686
+ #
34687
+ # @return [Google::Apis::ComputeBeta::ZoneList]
34688
+ #
34689
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34690
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34691
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34692
+ def list_region_zones(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34693
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/zones', options)
34694
+ command.response_representation = Google::Apis::ComputeBeta::ZoneList::Representation
34695
+ command.response_class = Google::Apis::ComputeBeta::ZoneList
34696
+ command.params['project'] = project unless project.nil?
34697
+ command.params['region'] = region unless region.nil?
34698
+ command.query['filter'] = filter unless filter.nil?
34699
+ command.query['maxResults'] = max_results unless max_results.nil?
34700
+ command.query['orderBy'] = order_by unless order_by.nil?
34701
+ command.query['pageToken'] = page_token unless page_token.nil?
34702
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
34703
+ command.query['fields'] = fields unless fields.nil?
34704
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34705
+ command.query['userIp'] = user_ip unless user_ip.nil?
34706
+ execute_or_queue_command(command, &block)
34707
+ end
34708
+
34068
34709
  # Returns the specified Region resource. To decrease latency for this method,
34069
34710
  # you can optionally omit any unneeded information from the response by using a
34070
34711
  # field mask. This practice is especially recommended for unused quota
@@ -36691,9 +37332,9 @@ module Google
36691
37332
  end
36692
37333
 
36693
37334
  # Patches the specified policy with the data included in the request. To clear
36694
- # fields in the rule, leave the fields empty and specify them in the updateMask.
36695
- # This cannot be used to be update the rules in the policy. Please use the per
36696
- # rule methods like addRule, patchRule, and removeRule instead.
37335
+ # fields in the policy, leave the fields empty and specify them in the
37336
+ # updateMask. This cannot be used to be update the rules in the policy. Please
37337
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
36697
37338
  # @param [String] project
36698
37339
  # Project ID for this request.
36699
37340
  # @param [String] security_policy
@@ -36746,7 +37387,8 @@ module Google
36746
37387
  execute_or_queue_command(command, &block)
36747
37388
  end
36748
37389
 
36749
- # Patches a rule at the specified priority.
37390
+ # Patches a rule at the specified priority. To clear fields in the rule, leave
37391
+ # the fields empty and specify them in the updateMask.
36750
37392
  # @param [String] project
36751
37393
  # Project ID for this request.
36752
37394
  # @param [String] security_policy