google-apis-compute_alpha 0.103.0 → 0.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16874,6 +16874,243 @@ module Google
16874
16874
  execute_or_queue_command(command, &block)
16875
16875
  end
16876
16876
 
16877
+ # deletes a Zonal InstantSnapshotGroup resource
16878
+ # @param [String] project
16879
+ # Project ID for this request.
16880
+ # @param [String] zone
16881
+ # The name of the zone for this request.
16882
+ # @param [String] instant_snapshot_group
16883
+ # Name of the InstantSnapshot resource to delete.
16884
+ # @param [String] request_id
16885
+ # An optional request ID to identify requests. Specify a unique request ID so
16886
+ # that if you must retry your request, the server will know to ignore the
16887
+ # request if it has already been completed. For example, consider a situation
16888
+ # where you make an initial request and the request times out. If you make the
16889
+ # request again with the same request ID, the server can check if original
16890
+ # operation with the same request ID was received, and if so, will ignore the
16891
+ # second request. This prevents clients from accidentally creating duplicate
16892
+ # commitments. The request ID must be a valid UUID with the exception that zero
16893
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
16894
+ # @param [String] fields
16895
+ # Selector specifying which fields to include in a partial response.
16896
+ # @param [String] quota_user
16897
+ # Available to use for quota purposes for server-side applications. Can be any
16898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16899
+ # @param [String] user_ip
16900
+ # Legacy name for parameter that has been superseded by `quotaUser`.
16901
+ # @param [Google::Apis::RequestOptions] options
16902
+ # Request-specific options
16903
+ #
16904
+ # @yield [result, err] Result & error if block supplied
16905
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16906
+ # @yieldparam err [StandardError] error object if request failed
16907
+ #
16908
+ # @return [Google::Apis::ComputeAlpha::Operation]
16909
+ #
16910
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16911
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16912
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16913
+ def delete_instant_snapshot_group(project, zone, instant_snapshot_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16914
+ command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}', options)
16915
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16916
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16917
+ command.params['project'] = project unless project.nil?
16918
+ command.params['zone'] = zone unless zone.nil?
16919
+ command.params['instantSnapshotGroup'] = instant_snapshot_group unless instant_snapshot_group.nil?
16920
+ command.query['requestId'] = request_id unless request_id.nil?
16921
+ command.query['fields'] = fields unless fields.nil?
16922
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16923
+ command.query['userIp'] = user_ip unless user_ip.nil?
16924
+ execute_or_queue_command(command, &block)
16925
+ end
16926
+
16927
+ # returns the specified InstantSnapshotGroup resource in the specified zone.
16928
+ # @param [String] project
16929
+ # Project ID for this request.
16930
+ # @param [String] zone
16931
+ # The name of the zone for this request.
16932
+ # @param [String] instant_snapshot_group
16933
+ # Name of the instantSnapshotGroup resource to return.
16934
+ # @param [String] fields
16935
+ # Selector specifying which fields to include in a partial response.
16936
+ # @param [String] quota_user
16937
+ # Available to use for quota purposes for server-side applications. Can be any
16938
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16939
+ # @param [String] user_ip
16940
+ # Legacy name for parameter that has been superseded by `quotaUser`.
16941
+ # @param [Google::Apis::RequestOptions] options
16942
+ # Request-specific options
16943
+ #
16944
+ # @yield [result, err] Result & error if block supplied
16945
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshotGroup] parsed result object
16946
+ # @yieldparam err [StandardError] error object if request failed
16947
+ #
16948
+ # @return [Google::Apis::ComputeAlpha::InstantSnapshotGroup]
16949
+ #
16950
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16951
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16952
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16953
+ def get_instant_snapshot_group(project, zone, instant_snapshot_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16954
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}', options)
16955
+ command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotGroup::Representation
16956
+ command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotGroup
16957
+ command.params['project'] = project unless project.nil?
16958
+ command.params['zone'] = zone unless zone.nil?
16959
+ command.params['instantSnapshotGroup'] = instant_snapshot_group unless instant_snapshot_group.nil?
16960
+ command.query['fields'] = fields unless fields.nil?
16961
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16962
+ command.query['userIp'] = user_ip unless user_ip.nil?
16963
+ execute_or_queue_command(command, &block)
16964
+ end
16965
+
16966
+ # inserts a Zonal InstantSnapshotGroup resource
16967
+ # @param [String] project
16968
+ # Project ID for this request.
16969
+ # @param [String] zone
16970
+ # Name of the zone for this request.
16971
+ # @param [Google::Apis::ComputeAlpha::InstantSnapshotGroup] instant_snapshot_group_object
16972
+ # @param [String] request_id
16973
+ # An optional request ID to identify requests. Specify a unique request ID so
16974
+ # that if you must retry your request, the server will know to ignore the
16975
+ # request if it has already been completed. For example, consider a situation
16976
+ # where you make an initial request and the request times out. If you make the
16977
+ # request again with the same request ID, the server can check if original
16978
+ # operation with the same request ID was received, and if so, will ignore the
16979
+ # second request. This prevents clients from accidentally creating duplicate
16980
+ # commitments. The request ID must be a valid UUID with the exception that zero
16981
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
16982
+ # @param [String] source_consistency_group
16983
+ # begin_interface: MixerMutationRequestBuilder
16984
+ # @param [String] fields
16985
+ # Selector specifying which fields to include in a partial response.
16986
+ # @param [String] quota_user
16987
+ # Available to use for quota purposes for server-side applications. Can be any
16988
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16989
+ # @param [String] user_ip
16990
+ # Legacy name for parameter that has been superseded by `quotaUser`.
16991
+ # @param [Google::Apis::RequestOptions] options
16992
+ # Request-specific options
16993
+ #
16994
+ # @yield [result, err] Result & error if block supplied
16995
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16996
+ # @yieldparam err [StandardError] error object if request failed
16997
+ #
16998
+ # @return [Google::Apis::ComputeAlpha::Operation]
16999
+ #
17000
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17001
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17002
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17003
+ def insert_instant_snapshot_group(project, zone, instant_snapshot_group_object = nil, request_id: nil, source_consistency_group: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17004
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshotGroups', options)
17005
+ command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshotGroup::Representation
17006
+ command.request_object = instant_snapshot_group_object
17007
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17008
+ command.response_class = Google::Apis::ComputeAlpha::Operation
17009
+ command.params['project'] = project unless project.nil?
17010
+ command.params['zone'] = zone unless zone.nil?
17011
+ command.query['requestId'] = request_id unless request_id.nil?
17012
+ command.query['sourceConsistencyGroup'] = source_consistency_group unless source_consistency_group.nil?
17013
+ command.query['fields'] = fields unless fields.nil?
17014
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17015
+ command.query['userIp'] = user_ip unless user_ip.nil?
17016
+ execute_or_queue_command(command, &block)
17017
+ end
17018
+
17019
+ # retrieves the list of InstantSnapshotGroup resources contained within the
17020
+ # specified zone.
17021
+ # @param [String] project
17022
+ # Project ID for this request.
17023
+ # @param [String] zone
17024
+ # The name of the zone for this request.
17025
+ # @param [String] filter
17026
+ # A filter expression that filters resources listed in the response. Most
17027
+ # Compute resources support two types of filter expressions: expressions that
17028
+ # support regular expressions and expressions that follow API improvement
17029
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
17030
+ # request. If you want to use AIP-160, your expression must specify the field
17031
+ # name, an operator, and the value that you want to use for filtering. The value
17032
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
17033
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
17034
+ # Engine instances, you can exclude instances named `example-instance` by
17035
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
17036
+ # whether a key has been defined. For example, to find all objects with `owner`
17037
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
17038
+ # example, you could specify `scheduling.automaticRestart = false` to include
17039
+ # instances only if they are not scheduled for automatic restarts. You can use
17040
+ # filtering on nested fields to filter based on resource labels. To filter on
17041
+ # multiple expressions, provide each separate expression within parentheses. For
17042
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
17043
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
17044
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
17045
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
17046
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
17047
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
17048
+ # un-parenthesized expression with or without quotes or against multiple
17049
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
17050
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
17051
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
17052
+ # interpreted as a regular expression using Google RE2 library syntax. The
17053
+ # literal value must match the entire field. For example, to filter for
17054
+ # instances that do not end with name "instance", you would use `name ne .*
17055
+ # instance`. You cannot combine constraints on multiple fields using regular
17056
+ # expressions.
17057
+ # @param [Fixnum] max_results
17058
+ # The maximum number of results per page that should be returned. If the number
17059
+ # of available results is larger than `maxResults`, Compute Engine returns a `
17060
+ # nextPageToken` that can be used to get the next page of results in subsequent
17061
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
17062
+ # @param [String] order_by
17063
+ # Sorts list results by a certain order. By default, results are returned in
17064
+ # alphanumerical order based on the resource name. You can also sort results in
17065
+ # descending order based on the creation timestamp using `orderBy="
17066
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
17067
+ # field in reverse chronological order (newest result first). Use this to sort
17068
+ # resources like operations so that the newest operation is returned first.
17069
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
17070
+ # @param [String] page_token
17071
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
17072
+ # by a previous list request to get the next page of results.
17073
+ # @param [Boolean] return_partial_success
17074
+ # Opt-in for partial success behavior which provides partial results in case of
17075
+ # failure. The default value is false. For example, when partial success
17076
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
17077
+ # resources in the zone or no resources, with an error code.
17078
+ # @param [String] fields
17079
+ # Selector specifying which fields to include in a partial response.
17080
+ # @param [String] quota_user
17081
+ # Available to use for quota purposes for server-side applications. Can be any
17082
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17083
+ # @param [String] user_ip
17084
+ # Legacy name for parameter that has been superseded by `quotaUser`.
17085
+ # @param [Google::Apis::RequestOptions] options
17086
+ # Request-specific options
17087
+ #
17088
+ # @yield [result, err] Result & error if block supplied
17089
+ # @yieldparam result [Google::Apis::ComputeAlpha::ListInstantSnapshotGroups] parsed result object
17090
+ # @yieldparam err [StandardError] error object if request failed
17091
+ #
17092
+ # @return [Google::Apis::ComputeAlpha::ListInstantSnapshotGroups]
17093
+ #
17094
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17095
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17096
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17097
+ def list_instant_snapshot_groups(project, zone, 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)
17098
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instantSnapshotGroups', options)
17099
+ command.response_representation = Google::Apis::ComputeAlpha::ListInstantSnapshotGroups::Representation
17100
+ command.response_class = Google::Apis::ComputeAlpha::ListInstantSnapshotGroups
17101
+ command.params['project'] = project unless project.nil?
17102
+ command.params['zone'] = zone unless zone.nil?
17103
+ command.query['filter'] = filter unless filter.nil?
17104
+ command.query['maxResults'] = max_results unless max_results.nil?
17105
+ command.query['orderBy'] = order_by unless order_by.nil?
17106
+ command.query['pageToken'] = page_token unless page_token.nil?
17107
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
17108
+ command.query['fields'] = fields unless fields.nil?
17109
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17110
+ command.query['userIp'] = user_ip unless user_ip.nil?
17111
+ execute_or_queue_command(command, &block)
17112
+ end
17113
+
16877
17114
  # Retrieves an aggregated list of instantSnapshots. To prevent failure, Google
16878
17115
  # recommends that you set the `returnPartialSuccess` parameter to `true`.
16879
17116
  # @param [String] project
@@ -31495,35 +31732,17 @@ module Google
31495
31732
  execute_or_queue_command(command, &block)
31496
31733
  end
31497
31734
 
31498
- # Flags the specified instances to be immediately removed from the managed
31499
- # instance group. Abandoning an instance does not delete the instance, but it
31500
- # does remove the instance from any target pools that are applied by the managed
31501
- # instance group. This method reduces the targetSize of the managed instance
31502
- # group by the number of instances that you abandon. This operation is marked as
31503
- # DONE when the action is scheduled even if the instances have not yet been
31504
- # removed from the group. You must separately verify the status of the
31505
- # abandoning action with the listmanagedinstances method. If the group is part
31506
- # of a backend service that has enabled connection draining, it can take up to
31507
- # 60 seconds after the connection draining duration has elapsed before the VM
31508
- # instance is removed or deleted. You can specify a maximum of 1000 instances
31509
- # with this method per request.
31735
+ # Returns all of the details about the specified resize request.
31510
31736
  # @param [String] project
31511
31737
  # Project ID for this request.
31512
31738
  # @param [String] region
31513
- # Name of the region scoping this request.
31739
+ # The name of the region scoping this request. Name should conform to RFC1035.
31514
31740
  # @param [String] instance_group_manager
31515
- # Name of the managed instance group.
31516
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
31517
- # @param [String] request_id
31518
- # An optional request ID to identify requests. Specify a unique request ID so
31519
- # that if you must retry your request, the server will know to ignore the
31520
- # request if it has already been completed. For example, consider a situation
31521
- # where you make an initial request and the request times out. If you make the
31522
- # request again with the same request ID, the server can check if original
31523
- # operation with the same request ID was received, and if so, will ignore the
31524
- # second request. This prevents clients from accidentally creating duplicate
31525
- # commitments. The request ID must be a valid UUID with the exception that zero
31526
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
31741
+ # The name of the managed instance group. Name should conform to RFC1035 or be a
31742
+ # resource ID.
31743
+ # @param [String] resize_request
31744
+ # The name of the resize request. Name should conform to RFC1035 or be a
31745
+ # resource ID.
31527
31746
  # @param [String] fields
31528
31747
  # Selector specifying which fields to include in a partial response.
31529
31748
  # @param [String] quota_user
@@ -31535,39 +31754,156 @@ module Google
31535
31754
  # Request-specific options
31536
31755
  #
31537
31756
  # @yield [result, err] Result & error if block supplied
31538
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
31757
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequest] parsed result object
31539
31758
  # @yieldparam err [StandardError] error object if request failed
31540
31759
  #
31541
- # @return [Google::Apis::ComputeAlpha::Operation]
31760
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequest]
31542
31761
  #
31543
31762
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31544
31763
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31545
31764
  # @raise [Google::Apis::AuthorizationError] Authorization is required
31546
- def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31547
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
31548
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
31549
- command.request_object = region_instance_group_managers_abandon_instances_request_object
31550
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
31551
- command.response_class = Google::Apis::ComputeAlpha::Operation
31765
+ def get_region_instance_group_manager_resize_request(project, region, instance_group_manager, resize_request, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31766
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}', options)
31767
+ command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequest::Representation
31768
+ command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequest
31552
31769
  command.params['project'] = project unless project.nil?
31553
31770
  command.params['region'] = region unless region.nil?
31554
31771
  command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
31555
- command.query['requestId'] = request_id unless request_id.nil?
31772
+ command.params['resizeRequest'] = resize_request unless resize_request.nil?
31556
31773
  command.query['fields'] = fields unless fields.nil?
31557
31774
  command.query['quotaUser'] = quota_user unless quota_user.nil?
31558
31775
  command.query['userIp'] = user_ip unless user_ip.nil?
31559
31776
  execute_or_queue_command(command, &block)
31560
31777
  end
31561
31778
 
31562
- # Apply updates to selected instances the managed instance group.
31779
+ # Creates a new Resize Request that starts provisioning VMs immediately or
31780
+ # queues VM creation.
31563
31781
  # @param [String] project
31564
31782
  # Project ID for this request.
31565
31783
  # @param [String] region
31566
- # Name of the region scoping this request, should conform to RFC1035.
31784
+ # Name of the region scoping this request. Name should conform to RFC1035.
31567
31785
  # @param [String] instance_group_manager
31568
- # The name of the managed instance group, should conform to RFC1035.
31569
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest] region_instance_group_managers_apply_updates_request_object
31570
- # @param [String] fields
31786
+ # Name of the managed instance group to which the resize request is scoped. Name
31787
+ # should conform to RFC1035 or be a resource ID.
31788
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequest] instance_group_manager_resize_request_object
31789
+ # @param [String] request_id
31790
+ # An optional request ID to identify requests. Specify a unique request ID so
31791
+ # that if you must retry your request, the server will know to ignore the
31792
+ # request if it has already been completed. For example, consider a situation
31793
+ # where you make an initial request and the request times out. If you make the
31794
+ # request again with the same request ID, the server can check if original
31795
+ # operation with the same request ID was received, and if so, will ignore the
31796
+ # second request. This prevents clients from accidentally creating duplicate
31797
+ # commitments. The request ID must be a valid UUID with the exception that zero
31798
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
31799
+ # @param [String] fields
31800
+ # Selector specifying which fields to include in a partial response.
31801
+ # @param [String] quota_user
31802
+ # Available to use for quota purposes for server-side applications. Can be any
31803
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
31804
+ # @param [String] user_ip
31805
+ # Legacy name for parameter that has been superseded by `quotaUser`.
31806
+ # @param [Google::Apis::RequestOptions] options
31807
+ # Request-specific options
31808
+ #
31809
+ # @yield [result, err] Result & error if block supplied
31810
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
31811
+ # @yieldparam err [StandardError] error object if request failed
31812
+ #
31813
+ # @return [Google::Apis::ComputeAlpha::Operation]
31814
+ #
31815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
31818
+ def insert_region_instance_group_manager_resize_request(project, region, instance_group_manager, instance_group_manager_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31819
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests', options)
31820
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequest::Representation
31821
+ command.request_object = instance_group_manager_resize_request_object
31822
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
31823
+ command.response_class = Google::Apis::ComputeAlpha::Operation
31824
+ command.params['project'] = project unless project.nil?
31825
+ command.params['region'] = region unless region.nil?
31826
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
31827
+ command.query['requestId'] = request_id unless request_id.nil?
31828
+ command.query['fields'] = fields unless fields.nil?
31829
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
31830
+ command.query['userIp'] = user_ip unless user_ip.nil?
31831
+ execute_or_queue_command(command, &block)
31832
+ end
31833
+
31834
+ # Flags the specified instances to be immediately removed from the managed
31835
+ # instance group. Abandoning an instance does not delete the instance, but it
31836
+ # does remove the instance from any target pools that are applied by the managed
31837
+ # instance group. This method reduces the targetSize of the managed instance
31838
+ # group by the number of instances that you abandon. This operation is marked as
31839
+ # DONE when the action is scheduled even if the instances have not yet been
31840
+ # removed from the group. You must separately verify the status of the
31841
+ # abandoning action with the listmanagedinstances method. If the group is part
31842
+ # of a backend service that has enabled connection draining, it can take up to
31843
+ # 60 seconds after the connection draining duration has elapsed before the VM
31844
+ # instance is removed or deleted. You can specify a maximum of 1000 instances
31845
+ # with this method per request.
31846
+ # @param [String] project
31847
+ # Project ID for this request.
31848
+ # @param [String] region
31849
+ # Name of the region scoping this request.
31850
+ # @param [String] instance_group_manager
31851
+ # Name of the managed instance group.
31852
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
31853
+ # @param [String] request_id
31854
+ # An optional request ID to identify requests. Specify a unique request ID so
31855
+ # that if you must retry your request, the server will know to ignore the
31856
+ # request if it has already been completed. For example, consider a situation
31857
+ # where you make an initial request and the request times out. If you make the
31858
+ # request again with the same request ID, the server can check if original
31859
+ # operation with the same request ID was received, and if so, will ignore the
31860
+ # second request. This prevents clients from accidentally creating duplicate
31861
+ # commitments. The request ID must be a valid UUID with the exception that zero
31862
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
31863
+ # @param [String] fields
31864
+ # Selector specifying which fields to include in a partial response.
31865
+ # @param [String] quota_user
31866
+ # Available to use for quota purposes for server-side applications. Can be any
31867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
31868
+ # @param [String] user_ip
31869
+ # Legacy name for parameter that has been superseded by `quotaUser`.
31870
+ # @param [Google::Apis::RequestOptions] options
31871
+ # Request-specific options
31872
+ #
31873
+ # @yield [result, err] Result & error if block supplied
31874
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
31875
+ # @yieldparam err [StandardError] error object if request failed
31876
+ #
31877
+ # @return [Google::Apis::ComputeAlpha::Operation]
31878
+ #
31879
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31880
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31881
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
31882
+ def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31883
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
31884
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
31885
+ command.request_object = region_instance_group_managers_abandon_instances_request_object
31886
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
31887
+ command.response_class = Google::Apis::ComputeAlpha::Operation
31888
+ command.params['project'] = project unless project.nil?
31889
+ command.params['region'] = region unless region.nil?
31890
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
31891
+ command.query['requestId'] = request_id unless request_id.nil?
31892
+ command.query['fields'] = fields unless fields.nil?
31893
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
31894
+ command.query['userIp'] = user_ip unless user_ip.nil?
31895
+ execute_or_queue_command(command, &block)
31896
+ end
31897
+
31898
+ # Apply updates to selected instances the managed instance group.
31899
+ # @param [String] project
31900
+ # Project ID for this request.
31901
+ # @param [String] region
31902
+ # Name of the region scoping this request, should conform to RFC1035.
31903
+ # @param [String] instance_group_manager
31904
+ # The name of the managed instance group, should conform to RFC1035.
31905
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest] region_instance_group_managers_apply_updates_request_object
31906
+ # @param [String] fields
31571
31907
  # Selector specifying which fields to include in a partial response.
31572
31908
  # @param [String] quota_user
31573
31909
  # Available to use for quota purposes for server-side applications. Can be any
@@ -33800,23 +34136,260 @@ module Google
33800
34136
  # Request-specific options
33801
34137
  #
33802
34138
  # @yield [result, err] Result & error if block supplied
33803
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
34139
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
34140
+ # @yieldparam err [StandardError] error object if request failed
34141
+ #
34142
+ # @return [Google::Apis::ComputeAlpha::Operation]
34143
+ #
34144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34147
+ def bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34148
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instances/bulkInsert', options)
34149
+ command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation
34150
+ command.request_object = bulk_insert_instance_resource_object
34151
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
34152
+ command.response_class = Google::Apis::ComputeAlpha::Operation
34153
+ command.params['project'] = project unless project.nil?
34154
+ command.params['region'] = region unless region.nil?
34155
+ command.query['requestId'] = request_id unless request_id.nil?
34156
+ command.query['fields'] = fields unless fields.nil?
34157
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34158
+ command.query['userIp'] = user_ip unless user_ip.nil?
34159
+ execute_or_queue_command(command, &block)
34160
+ end
34161
+
34162
+ # deletes a Regional InstantSnapshotGroup resource
34163
+ # @param [String] project
34164
+ # Project ID for this request.
34165
+ # @param [String] region
34166
+ # The name of the region for this request.
34167
+ # @param [String] instant_snapshot_group
34168
+ # Name of the InstantSnapshotGroup resource to delete.
34169
+ # @param [String] request_id
34170
+ # An optional request ID to identify requests. Specify a unique request ID so
34171
+ # that if you must retry your request, the server will know to ignore the
34172
+ # request if it has already been completed. For example, consider a situation
34173
+ # where you make an initial request and the request times out. If you make the
34174
+ # request again with the same request ID, the server can check if original
34175
+ # operation with the same request ID was received, and if so, will ignore the
34176
+ # second request. This prevents clients from accidentally creating duplicate
34177
+ # commitments. The request ID must be a valid UUID with the exception that zero
34178
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
34179
+ # @param [String] fields
34180
+ # Selector specifying which fields to include in a partial response.
34181
+ # @param [String] quota_user
34182
+ # Available to use for quota purposes for server-side applications. Can be any
34183
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34184
+ # @param [String] user_ip
34185
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34186
+ # @param [Google::Apis::RequestOptions] options
34187
+ # Request-specific options
34188
+ #
34189
+ # @yield [result, err] Result & error if block supplied
34190
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
34191
+ # @yieldparam err [StandardError] error object if request failed
34192
+ #
34193
+ # @return [Google::Apis::ComputeAlpha::Operation]
34194
+ #
34195
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34196
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34197
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34198
+ def delete_region_instant_snapshot_group(project, region, instant_snapshot_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34199
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshotGroup}', options)
34200
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
34201
+ command.response_class = Google::Apis::ComputeAlpha::Operation
34202
+ command.params['project'] = project unless project.nil?
34203
+ command.params['region'] = region unless region.nil?
34204
+ command.params['instantSnapshotGroup'] = instant_snapshot_group unless instant_snapshot_group.nil?
34205
+ command.query['requestId'] = request_id unless request_id.nil?
34206
+ command.query['fields'] = fields unless fields.nil?
34207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34208
+ command.query['userIp'] = user_ip unless user_ip.nil?
34209
+ execute_or_queue_command(command, &block)
34210
+ end
34211
+
34212
+ # returns the specified InstantSnapshotGroup resource in the specified region.
34213
+ # @param [String] project
34214
+ # Project ID for this request.
34215
+ # @param [String] region
34216
+ # The name of the region for this request.
34217
+ # @param [String] instant_snapshot
34218
+ # Name of the InstantSnapshotGroup resource to return.
34219
+ # @param [String] fields
34220
+ # Selector specifying which fields to include in a partial response.
34221
+ # @param [String] quota_user
34222
+ # Available to use for quota purposes for server-side applications. Can be any
34223
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34224
+ # @param [String] user_ip
34225
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34226
+ # @param [Google::Apis::RequestOptions] options
34227
+ # Request-specific options
34228
+ #
34229
+ # @yield [result, err] Result & error if block supplied
34230
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshotGroup] parsed result object
34231
+ # @yieldparam err [StandardError] error object if request failed
34232
+ #
34233
+ # @return [Google::Apis::ComputeAlpha::InstantSnapshotGroup]
34234
+ #
34235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34238
+ def get_region_instant_snapshot_group(project, region, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34239
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshot}', options)
34240
+ command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotGroup::Representation
34241
+ command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotGroup
34242
+ command.params['project'] = project unless project.nil?
34243
+ command.params['region'] = region unless region.nil?
34244
+ command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
34245
+ command.query['fields'] = fields unless fields.nil?
34246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34247
+ command.query['userIp'] = user_ip unless user_ip.nil?
34248
+ execute_or_queue_command(command, &block)
34249
+ end
34250
+
34251
+ # creates a Regional InstantSnapshotGroup resource
34252
+ # @param [String] project
34253
+ # Project ID for this request.
34254
+ # @param [String] region
34255
+ # Name of the region for this request.
34256
+ # @param [Google::Apis::ComputeAlpha::InstantSnapshotGroup] instant_snapshot_group_object
34257
+ # @param [String] request_id
34258
+ # An optional request ID to identify requests. Specify a unique request ID so
34259
+ # that if you must retry your request, the server will know to ignore the
34260
+ # request if it has already been completed. For example, consider a situation
34261
+ # where you make an initial request and the request times out. If you make the
34262
+ # request again with the same request ID, the server can check if original
34263
+ # operation with the same request ID was received, and if so, will ignore the
34264
+ # second request. This prevents clients from accidentally creating duplicate
34265
+ # commitments. The request ID must be a valid UUID with the exception that zero
34266
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
34267
+ # @param [String] source_consistency_group
34268
+ # begin_interface: MixerMutationRequestBuilder
34269
+ # @param [String] fields
34270
+ # Selector specifying which fields to include in a partial response.
34271
+ # @param [String] quota_user
34272
+ # Available to use for quota purposes for server-side applications. Can be any
34273
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34274
+ # @param [String] user_ip
34275
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34276
+ # @param [Google::Apis::RequestOptions] options
34277
+ # Request-specific options
34278
+ #
34279
+ # @yield [result, err] Result & error if block supplied
34280
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
34281
+ # @yieldparam err [StandardError] error object if request failed
34282
+ #
34283
+ # @return [Google::Apis::ComputeAlpha::Operation]
34284
+ #
34285
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34286
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34287
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34288
+ def insert_region_instant_snapshot_group(project, region, instant_snapshot_group_object = nil, request_id: nil, source_consistency_group: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34289
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshotGroups', options)
34290
+ command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshotGroup::Representation
34291
+ command.request_object = instant_snapshot_group_object
34292
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
34293
+ command.response_class = Google::Apis::ComputeAlpha::Operation
34294
+ command.params['project'] = project unless project.nil?
34295
+ command.params['region'] = region unless region.nil?
34296
+ command.query['requestId'] = request_id unless request_id.nil?
34297
+ command.query['sourceConsistencyGroup'] = source_consistency_group unless source_consistency_group.nil?
34298
+ command.query['fields'] = fields unless fields.nil?
34299
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34300
+ command.query['userIp'] = user_ip unless user_ip.nil?
34301
+ execute_or_queue_command(command, &block)
34302
+ end
34303
+
34304
+ # retrieves the list of InstantSnapshotGroup resources contained within the
34305
+ # specified region.
34306
+ # @param [String] project
34307
+ # Project ID for this request.
34308
+ # @param [String] region
34309
+ # The name of the region for this request.
34310
+ # @param [String] filter
34311
+ # A filter expression that filters resources listed in the response. Most
34312
+ # Compute resources support two types of filter expressions: expressions that
34313
+ # support regular expressions and expressions that follow API improvement
34314
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
34315
+ # request. If you want to use AIP-160, your expression must specify the field
34316
+ # name, an operator, and the value that you want to use for filtering. The value
34317
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
34318
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
34319
+ # Engine instances, you can exclude instances named `example-instance` by
34320
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
34321
+ # whether a key has been defined. For example, to find all objects with `owner`
34322
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
34323
+ # example, you could specify `scheduling.automaticRestart = false` to include
34324
+ # instances only if they are not scheduled for automatic restarts. You can use
34325
+ # filtering on nested fields to filter based on resource labels. To filter on
34326
+ # multiple expressions, provide each separate expression within parentheses. For
34327
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
34328
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
34329
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
34330
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
34331
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
34332
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
34333
+ # un-parenthesized expression with or without quotes or against multiple
34334
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
34335
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
34336
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
34337
+ # interpreted as a regular expression using Google RE2 library syntax. The
34338
+ # literal value must match the entire field. For example, to filter for
34339
+ # instances that do not end with name "instance", you would use `name ne .*
34340
+ # instance`. You cannot combine constraints on multiple fields using regular
34341
+ # expressions.
34342
+ # @param [Fixnum] max_results
34343
+ # The maximum number of results per page that should be returned. If the number
34344
+ # of available results is larger than `maxResults`, Compute Engine returns a `
34345
+ # nextPageToken` that can be used to get the next page of results in subsequent
34346
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
34347
+ # @param [String] order_by
34348
+ # Sorts list results by a certain order. By default, results are returned in
34349
+ # alphanumerical order based on the resource name. You can also sort results in
34350
+ # descending order based on the creation timestamp using `orderBy="
34351
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
34352
+ # field in reverse chronological order (newest result first). Use this to sort
34353
+ # resources like operations so that the newest operation is returned first.
34354
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
34355
+ # @param [String] page_token
34356
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
34357
+ # by a previous list request to get the next page of results.
34358
+ # @param [Boolean] return_partial_success
34359
+ # Opt-in for partial success behavior which provides partial results in case of
34360
+ # failure. The default value is false. For example, when partial success
34361
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
34362
+ # resources in the zone or no resources, with an error code.
34363
+ # @param [String] fields
34364
+ # Selector specifying which fields to include in a partial response.
34365
+ # @param [String] quota_user
34366
+ # Available to use for quota purposes for server-side applications. Can be any
34367
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34368
+ # @param [String] user_ip
34369
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34370
+ # @param [Google::Apis::RequestOptions] options
34371
+ # Request-specific options
34372
+ #
34373
+ # @yield [result, err] Result & error if block supplied
34374
+ # @yieldparam result [Google::Apis::ComputeAlpha::ListInstantSnapshotGroups] parsed result object
33804
34375
  # @yieldparam err [StandardError] error object if request failed
33805
34376
  #
33806
- # @return [Google::Apis::ComputeAlpha::Operation]
34377
+ # @return [Google::Apis::ComputeAlpha::ListInstantSnapshotGroups]
33807
34378
  #
33808
34379
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33809
34380
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33810
34381
  # @raise [Google::Apis::AuthorizationError] Authorization is required
33811
- def bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33812
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instances/bulkInsert', options)
33813
- command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation
33814
- command.request_object = bulk_insert_instance_resource_object
33815
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
33816
- command.response_class = Google::Apis::ComputeAlpha::Operation
34382
+ def list_region_instant_snapshot_groups(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)
34383
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshotGroups', options)
34384
+ command.response_representation = Google::Apis::ComputeAlpha::ListInstantSnapshotGroups::Representation
34385
+ command.response_class = Google::Apis::ComputeAlpha::ListInstantSnapshotGroups
33817
34386
  command.params['project'] = project unless project.nil?
33818
34387
  command.params['region'] = region unless region.nil?
33819
- command.query['requestId'] = request_id unless request_id.nil?
34388
+ command.query['filter'] = filter unless filter.nil?
34389
+ command.query['maxResults'] = max_results unless max_results.nil?
34390
+ command.query['orderBy'] = order_by unless order_by.nil?
34391
+ command.query['pageToken'] = page_token unless page_token.nil?
34392
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
33820
34393
  command.query['fields'] = fields unless fields.nil?
33821
34394
  command.query['quotaUser'] = quota_user unless quota_user.nil?
33822
34395
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -34244,6 +34817,239 @@ module Google
34244
34817
  execute_or_queue_command(command, &block)
34245
34818
  end
34246
34819
 
34820
+ # Deletes a regional multiMIG in the specified project.
34821
+ # @param [String] project
34822
+ # Project ID for this request.
34823
+ # @param [String] region
34824
+ # Name of the region for this request.
34825
+ # @param [String] multi_mig
34826
+ # Name of the multiMIG to delete.
34827
+ # @param [String] request_id
34828
+ # An optional request ID to identify requests. Specify a unique request ID so
34829
+ # that if you must retry your request, the server will know to ignore the
34830
+ # request if it has already been completed. For example, consider a situation
34831
+ # where you make an initial request and the request times out. If you make the
34832
+ # request again with the same request ID, the server can check if original
34833
+ # operation with the same request ID was received, and if so, will ignore the
34834
+ # second request. This prevents clients from accidentally creating duplicate
34835
+ # commitments. The request ID must be a valid UUID with the exception that zero
34836
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
34837
+ # @param [String] fields
34838
+ # Selector specifying which fields to include in a partial response.
34839
+ # @param [String] quota_user
34840
+ # Available to use for quota purposes for server-side applications. Can be any
34841
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34842
+ # @param [String] user_ip
34843
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34844
+ # @param [Google::Apis::RequestOptions] options
34845
+ # Request-specific options
34846
+ #
34847
+ # @yield [result, err] Result & error if block supplied
34848
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
34849
+ # @yieldparam err [StandardError] error object if request failed
34850
+ #
34851
+ # @return [Google::Apis::ComputeAlpha::Operation]
34852
+ #
34853
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34854
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34855
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34856
+ def delete_region_multi_mig(project, region, multi_mig, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34857
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/multiMigs/{multiMig}', options)
34858
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
34859
+ command.response_class = Google::Apis::ComputeAlpha::Operation
34860
+ command.params['project'] = project unless project.nil?
34861
+ command.params['region'] = region unless region.nil?
34862
+ command.params['multiMig'] = multi_mig unless multi_mig.nil?
34863
+ command.query['requestId'] = request_id unless request_id.nil?
34864
+ command.query['fields'] = fields unless fields.nil?
34865
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34866
+ command.query['userIp'] = user_ip unless user_ip.nil?
34867
+ execute_or_queue_command(command, &block)
34868
+ end
34869
+
34870
+ # Returns the specified MultiMIG resource.
34871
+ # @param [String] project
34872
+ # Project ID for this request.
34873
+ # @param [String] region
34874
+ # Name of the region for this request.
34875
+ # @param [String] multi_mig
34876
+ # Name of the MultiMig resource to return.
34877
+ # @param [String] fields
34878
+ # Selector specifying which fields to include in a partial response.
34879
+ # @param [String] quota_user
34880
+ # Available to use for quota purposes for server-side applications. Can be any
34881
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34882
+ # @param [String] user_ip
34883
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34884
+ # @param [Google::Apis::RequestOptions] options
34885
+ # Request-specific options
34886
+ #
34887
+ # @yield [result, err] Result & error if block supplied
34888
+ # @yieldparam result [Google::Apis::ComputeAlpha::MultiMig] parsed result object
34889
+ # @yieldparam err [StandardError] error object if request failed
34890
+ #
34891
+ # @return [Google::Apis::ComputeAlpha::MultiMig]
34892
+ #
34893
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34894
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34895
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34896
+ def get_region_multi_mig(project, region, multi_mig, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34897
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/multiMigs/{multiMig}', options)
34898
+ command.response_representation = Google::Apis::ComputeAlpha::MultiMig::Representation
34899
+ command.response_class = Google::Apis::ComputeAlpha::MultiMig
34900
+ command.params['project'] = project unless project.nil?
34901
+ command.params['region'] = region unless region.nil?
34902
+ command.params['multiMig'] = multi_mig unless multi_mig.nil?
34903
+ command.query['fields'] = fields unless fields.nil?
34904
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34905
+ command.query['userIp'] = user_ip unless user_ip.nil?
34906
+ execute_or_queue_command(command, &block)
34907
+ end
34908
+
34909
+ # Creates a regional multiMIG in the specified project.
34910
+ # @param [String] project
34911
+ # Project ID for this request.
34912
+ # @param [String] region
34913
+ # Name of the region for this request.
34914
+ # @param [Google::Apis::ComputeAlpha::MultiMig] multi_mig_object
34915
+ # @param [String] request_id
34916
+ # An optional request ID to identify requests. Specify a unique request ID so
34917
+ # that if you must retry your request, the server will know to ignore the
34918
+ # request if it has already been completed. For example, consider a situation
34919
+ # where you make an initial request and the request times out. If you make the
34920
+ # request again with the same request ID, the server can check if original
34921
+ # operation with the same request ID was received, and if so, will ignore the
34922
+ # second request. This prevents clients from accidentally creating duplicate
34923
+ # commitments. The request ID must be a valid UUID with the exception that zero
34924
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
34925
+ # @param [String] fields
34926
+ # Selector specifying which fields to include in a partial response.
34927
+ # @param [String] quota_user
34928
+ # Available to use for quota purposes for server-side applications. Can be any
34929
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34930
+ # @param [String] user_ip
34931
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34932
+ # @param [Google::Apis::RequestOptions] options
34933
+ # Request-specific options
34934
+ #
34935
+ # @yield [result, err] Result & error if block supplied
34936
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
34937
+ # @yieldparam err [StandardError] error object if request failed
34938
+ #
34939
+ # @return [Google::Apis::ComputeAlpha::Operation]
34940
+ #
34941
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34942
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34943
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34944
+ def insert_region_multi_mig(project, region, multi_mig_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34945
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/multiMigs', options)
34946
+ command.request_representation = Google::Apis::ComputeAlpha::MultiMig::Representation
34947
+ command.request_object = multi_mig_object
34948
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
34949
+ command.response_class = Google::Apis::ComputeAlpha::Operation
34950
+ command.params['project'] = project unless project.nil?
34951
+ command.params['region'] = region unless region.nil?
34952
+ command.query['requestId'] = request_id unless request_id.nil?
34953
+ command.query['fields'] = fields unless fields.nil?
34954
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34955
+ command.query['userIp'] = user_ip unless user_ip.nil?
34956
+ execute_or_queue_command(command, &block)
34957
+ end
34958
+
34959
+ # Retrieves a list of MultiMIGs in a project and region.
34960
+ # @param [String] project
34961
+ # Project ID for this request.
34962
+ # @param [String] region
34963
+ # Name of the region for this request.
34964
+ # @param [String] filter
34965
+ # A filter expression that filters resources listed in the response. Most
34966
+ # Compute resources support two types of filter expressions: expressions that
34967
+ # support regular expressions and expressions that follow API improvement
34968
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
34969
+ # request. If you want to use AIP-160, your expression must specify the field
34970
+ # name, an operator, and the value that you want to use for filtering. The value
34971
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
34972
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
34973
+ # Engine instances, you can exclude instances named `example-instance` by
34974
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
34975
+ # whether a key has been defined. For example, to find all objects with `owner`
34976
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
34977
+ # example, you could specify `scheduling.automaticRestart = false` to include
34978
+ # instances only if they are not scheduled for automatic restarts. You can use
34979
+ # filtering on nested fields to filter based on resource labels. To filter on
34980
+ # multiple expressions, provide each separate expression within parentheses. For
34981
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
34982
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
34983
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
34984
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
34985
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
34986
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
34987
+ # un-parenthesized expression with or without quotes or against multiple
34988
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
34989
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
34990
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
34991
+ # interpreted as a regular expression using Google RE2 library syntax. The
34992
+ # literal value must match the entire field. For example, to filter for
34993
+ # instances that do not end with name "instance", you would use `name ne .*
34994
+ # instance`. You cannot combine constraints on multiple fields using regular
34995
+ # expressions.
34996
+ # @param [Fixnum] max_results
34997
+ # The maximum number of results per page that should be returned. If the number
34998
+ # of available results is larger than `maxResults`, Compute Engine returns a `
34999
+ # nextPageToken` that can be used to get the next page of results in subsequent
35000
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
35001
+ # @param [String] order_by
35002
+ # Sorts list results by a certain order. By default, results are returned in
35003
+ # alphanumerical order based on the resource name. You can also sort results in
35004
+ # descending order based on the creation timestamp using `orderBy="
35005
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
35006
+ # field in reverse chronological order (newest result first). Use this to sort
35007
+ # resources like operations so that the newest operation is returned first.
35008
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
35009
+ # @param [String] page_token
35010
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
35011
+ # by a previous list request to get the next page of results.
35012
+ # @param [Boolean] return_partial_success
35013
+ # Opt-in for partial success behavior which provides partial results in case of
35014
+ # failure. The default value is false. For example, when partial success
35015
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
35016
+ # resources in the zone or no resources, with an error code.
35017
+ # @param [String] fields
35018
+ # Selector specifying which fields to include in a partial response.
35019
+ # @param [String] quota_user
35020
+ # Available to use for quota purposes for server-side applications. Can be any
35021
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
35022
+ # @param [String] user_ip
35023
+ # Legacy name for parameter that has been superseded by `quotaUser`.
35024
+ # @param [Google::Apis::RequestOptions] options
35025
+ # Request-specific options
35026
+ #
35027
+ # @yield [result, err] Result & error if block supplied
35028
+ # @yieldparam result [Google::Apis::ComputeAlpha::MultiMigsList] parsed result object
35029
+ # @yieldparam err [StandardError] error object if request failed
35030
+ #
35031
+ # @return [Google::Apis::ComputeAlpha::MultiMigsList]
35032
+ #
35033
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35034
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35035
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
35036
+ def list_region_multi_migs(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)
35037
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/multiMigs', options)
35038
+ command.response_representation = Google::Apis::ComputeAlpha::MultiMigsList::Representation
35039
+ command.response_class = Google::Apis::ComputeAlpha::MultiMigsList
35040
+ command.params['project'] = project unless project.nil?
35041
+ command.params['region'] = region unless region.nil?
35042
+ command.query['filter'] = filter unless filter.nil?
35043
+ command.query['maxResults'] = max_results unless max_results.nil?
35044
+ command.query['orderBy'] = order_by unless order_by.nil?
35045
+ command.query['pageToken'] = page_token unless page_token.nil?
35046
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
35047
+ command.query['fields'] = fields unless fields.nil?
35048
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
35049
+ command.query['userIp'] = user_ip unless user_ip.nil?
35050
+ execute_or_queue_command(command, &block)
35051
+ end
35052
+
34247
35053
  # Attach a list of network endpoints to the specified network endpoint group.
34248
35054
  # @param [String] project
34249
35055
  # Project ID for this request.
@@ -39508,7 +40314,13 @@ module Google
39508
40314
  # information (the `quotas` field). To exclude one or more fields, set your
39509
40315
  # request's `fields` query parameter to only include the fields you need. For
39510
40316
  # example, to only include the `id` and `selfLink` fields, add the query
39511
- # parameter `?fields=id,selfLink` to your request.
40317
+ # parameter `?fields=id,selfLink` to your request. This method fails if the
40318
+ # quota information is unavailable for the region and if the organization policy
40319
+ # constraint compute.requireBasicQuotaInResponse is enforced. This constraint,
40320
+ # when enforced, disables the fail-open behaviour when quota information (the `
40321
+ # items.quotas` field) is unavailable for the region. It is recommended to use
40322
+ # the default setting for the constraint unless your application requires the
40323
+ # fail-closed behaviour for this method.
39512
40324
  # @param [String] project
39513
40325
  # Project ID for this request.
39514
40326
  # @param [String] region
@@ -46010,7 +46822,8 @@ module Google
46010
46822
 
46011
46823
  # Updates the specified storagePool with the data included in the request. The
46012
46824
  # update is performed only on selected fields included as part of update-mask.
46013
- # Only the following fields can be modified: size_tb and provisioned_iops.
46825
+ # Only the following fields can be modified: pool_provisioned_capacity_gb,
46826
+ # pool_provisioned_iops and pool_provisioned_throughput.
46014
46827
  # @param [String] project
46015
46828
  # Project ID for this request.
46016
46829
  # @param [String] zone