google-apis-compute_alpha 0.68.0 → 0.69.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.
@@ -2615,6 +2615,95 @@ module Google
2615
2615
  execute_or_queue_command(command, &block)
2616
2616
  end
2617
2617
 
2618
+ # Get Zonal Disk Settings.
2619
+ # @param [String] project
2620
+ # Project ID for this request.
2621
+ # @param [String] zone
2622
+ # Name of the zone for this request.
2623
+ # @param [String] fields
2624
+ # Selector specifying which fields to include in a partial response.
2625
+ # @param [String] quota_user
2626
+ # Available to use for quota purposes for server-side applications. Can be any
2627
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2628
+ # @param [String] user_ip
2629
+ # Legacy name for parameter that has been superseded by `quotaUser`.
2630
+ # @param [Google::Apis::RequestOptions] options
2631
+ # Request-specific options
2632
+ #
2633
+ # @yield [result, err] Result & error if block supplied
2634
+ # @yieldparam result [Google::Apis::ComputeAlpha::DiskSettings] parsed result object
2635
+ # @yieldparam err [StandardError] error object if request failed
2636
+ #
2637
+ # @return [Google::Apis::ComputeAlpha::DiskSettings]
2638
+ #
2639
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2640
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2641
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2642
+ def get_disk_setting(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2643
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskSettings', options)
2644
+ command.response_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
2645
+ command.response_class = Google::Apis::ComputeAlpha::DiskSettings
2646
+ command.params['project'] = project unless project.nil?
2647
+ command.params['zone'] = zone unless zone.nil?
2648
+ command.query['fields'] = fields unless fields.nil?
2649
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2650
+ command.query['userIp'] = user_ip unless user_ip.nil?
2651
+ execute_or_queue_command(command, &block)
2652
+ end
2653
+
2654
+ # Patch Zonal Disk Settings
2655
+ # @param [String] project
2656
+ # Project ID for this request.
2657
+ # @param [String] zone
2658
+ # The name of the zone for this request.
2659
+ # @param [Google::Apis::ComputeAlpha::DiskSettings] disk_settings_object
2660
+ # @param [String] request_id
2661
+ # An optional request ID to identify requests. Specify a unique request ID so
2662
+ # that if you must retry your request, the server will know to ignore the
2663
+ # request if it has already been completed. For example, consider a situation
2664
+ # where you make an initial request and the request times out. If you make the
2665
+ # request again with the same request ID, the server can check if original
2666
+ # operation with the same request ID was received, and if so, will ignore the
2667
+ # second request. This prevents clients from accidentally creating duplicate
2668
+ # commitments. The request ID must be a valid UUID with the exception that zero
2669
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
2670
+ # @param [String] update_mask
2671
+ # update_mask indicates fields to be updated as part of this request.
2672
+ # @param [String] fields
2673
+ # Selector specifying which fields to include in a partial response.
2674
+ # @param [String] quota_user
2675
+ # Available to use for quota purposes for server-side applications. Can be any
2676
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2677
+ # @param [String] user_ip
2678
+ # Legacy name for parameter that has been superseded by `quotaUser`.
2679
+ # @param [Google::Apis::RequestOptions] options
2680
+ # Request-specific options
2681
+ #
2682
+ # @yield [result, err] Result & error if block supplied
2683
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
2684
+ # @yieldparam err [StandardError] error object if request failed
2685
+ #
2686
+ # @return [Google::Apis::ComputeAlpha::Operation]
2687
+ #
2688
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2689
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2690
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2691
+ def patch_disk_setting(project, zone, disk_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2692
+ command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/diskSettings', options)
2693
+ command.request_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
2694
+ command.request_object = disk_settings_object
2695
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
2696
+ command.response_class = Google::Apis::ComputeAlpha::Operation
2697
+ command.params['project'] = project unless project.nil?
2698
+ command.params['zone'] = zone unless zone.nil?
2699
+ command.query['requestId'] = request_id unless request_id.nil?
2700
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2701
+ command.query['fields'] = fields unless fields.nil?
2702
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2703
+ command.query['userIp'] = user_ip unless user_ip.nil?
2704
+ execute_or_queue_command(command, &block)
2705
+ end
2706
+
2618
2707
  # Retrieves an aggregated list of disk types.
2619
2708
  # @param [String] project
2620
2709
  # Project ID for this request.
@@ -3648,7 +3737,6 @@ module Google
3648
3737
  # The name of the zone for this request.
3649
3738
  # @param [String] disk
3650
3739
  # The name of the persistent disk.
3651
- # @param [Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest] disks_stop_async_replication_request_object
3652
3740
  # @param [String] request_id
3653
3741
  # An optional request ID to identify requests. Specify a unique request ID so
3654
3742
  # that if you must retry your request, the server will know to ignore the
@@ -3678,10 +3766,8 @@ module Google
3678
3766
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3679
3767
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3680
3768
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3681
- def stop_disk_async_replication(project, zone, disk, disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3769
+ def stop_disk_async_replication(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3682
3770
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication', options)
3683
- command.request_representation = Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest::Representation
3684
- command.request_object = disks_stop_async_replication_request_object
3685
3771
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
3686
3772
  command.response_class = Google::Apis::ComputeAlpha::Operation
3687
3773
  command.params['project'] = project unless project.nil?
@@ -13924,6 +14010,48 @@ module Google
13924
14010
  execute_or_queue_command(command, &block)
13925
14011
  end
13926
14012
 
14013
+ # Gets partner metadata of the specified instance and namespaces.
14014
+ # @param [String] project
14015
+ # Project ID for this request.
14016
+ # @param [String] zone
14017
+ # The name of the zone for this request.
14018
+ # @param [String] instance
14019
+ # Name of the instance scoping this request.
14020
+ # @param [String] namespaces
14021
+ # Comma separated partner metadata namespaces.
14022
+ # @param [String] fields
14023
+ # Selector specifying which fields to include in a partial response.
14024
+ # @param [String] quota_user
14025
+ # Available to use for quota purposes for server-side applications. Can be any
14026
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14027
+ # @param [String] user_ip
14028
+ # Legacy name for parameter that has been superseded by `quotaUser`.
14029
+ # @param [Google::Apis::RequestOptions] options
14030
+ # Request-specific options
14031
+ #
14032
+ # @yield [result, err] Result & error if block supplied
14033
+ # @yieldparam result [Google::Apis::ComputeAlpha::PartnerMetadata] parsed result object
14034
+ # @yieldparam err [StandardError] error object if request failed
14035
+ #
14036
+ # @return [Google::Apis::ComputeAlpha::PartnerMetadata]
14037
+ #
14038
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14039
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14040
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14041
+ def get_instance_partner_metadata(project, zone, instance, namespaces: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14042
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getPartnerMetadata', options)
14043
+ command.response_representation = Google::Apis::ComputeAlpha::PartnerMetadata::Representation
14044
+ command.response_class = Google::Apis::ComputeAlpha::PartnerMetadata
14045
+ command.params['project'] = project unless project.nil?
14046
+ command.params['zone'] = zone unless zone.nil?
14047
+ command.params['instance'] = instance unless instance.nil?
14048
+ command.query['namespaces'] = namespaces unless namespaces.nil?
14049
+ command.query['fields'] = fields unless fields.nil?
14050
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14051
+ command.query['userIp'] = user_ip unless user_ip.nil?
14052
+ execute_or_queue_command(command, &block)
14053
+ end
14054
+
13927
14055
  # Returns the screenshot from the specified instance.
13928
14056
  # @param [String] project
13929
14057
  # Project ID for this request.
@@ -14350,6 +14478,59 @@ module Google
14350
14478
  execute_or_queue_command(command, &block)
14351
14479
  end
14352
14480
 
14481
+ # Patches partner metadata of the specified instance.
14482
+ # @param [String] project
14483
+ # Project ID for this request.
14484
+ # @param [String] zone
14485
+ # The name of the zone for this request.
14486
+ # @param [String] instance
14487
+ # Name of the instance scoping this request.
14488
+ # @param [Google::Apis::ComputeAlpha::PartnerMetadata] partner_metadata_object
14489
+ # @param [String] request_id
14490
+ # An optional request ID to identify requests. Specify a unique request ID so
14491
+ # that if you must retry your request, the server will know to ignore the
14492
+ # request if it has already been completed. For example, consider a situation
14493
+ # where you make an initial request and the request times out. If you make the
14494
+ # request again with the same request ID, the server can check if original
14495
+ # operation with the same request ID was received, and if so, will ignore the
14496
+ # second request. This prevents clients from accidentally creating duplicate
14497
+ # commitments. The request ID must be a valid UUID with the exception that zero
14498
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
14499
+ # @param [String] fields
14500
+ # Selector specifying which fields to include in a partial response.
14501
+ # @param [String] quota_user
14502
+ # Available to use for quota purposes for server-side applications. Can be any
14503
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14504
+ # @param [String] user_ip
14505
+ # Legacy name for parameter that has been superseded by `quotaUser`.
14506
+ # @param [Google::Apis::RequestOptions] options
14507
+ # Request-specific options
14508
+ #
14509
+ # @yield [result, err] Result & error if block supplied
14510
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
14511
+ # @yieldparam err [StandardError] error object if request failed
14512
+ #
14513
+ # @return [Google::Apis::ComputeAlpha::Operation]
14514
+ #
14515
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14516
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14517
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14518
+ def patch_instance_partner_metadata(project, zone, instance, partner_metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14519
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/patchPartnerMetadata', options)
14520
+ command.request_representation = Google::Apis::ComputeAlpha::PartnerMetadata::Representation
14521
+ command.request_object = partner_metadata_object
14522
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
14523
+ command.response_class = Google::Apis::ComputeAlpha::Operation
14524
+ command.params['project'] = project unless project.nil?
14525
+ command.params['zone'] = zone unless zone.nil?
14526
+ command.params['instance'] = instance unless instance.nil?
14527
+ command.query['requestId'] = request_id unless request_id.nil?
14528
+ command.query['fields'] = fields unless fields.nil?
14529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14530
+ command.query['userIp'] = user_ip unless user_ip.nil?
14531
+ execute_or_queue_command(command, &block)
14532
+ end
14533
+
14353
14534
  # Perform a manual maintenance on the instance.
14354
14535
  # @param [String] project
14355
14536
  # Project ID for this request.
@@ -27901,6 +28082,95 @@ module Google
27901
28082
  execute_or_queue_command(command, &block)
27902
28083
  end
27903
28084
 
28085
+ # Get Regional Disk Settings.
28086
+ # @param [String] project
28087
+ # Project ID for this request.
28088
+ # @param [String] region
28089
+ # Name of the region for this request.
28090
+ # @param [String] fields
28091
+ # Selector specifying which fields to include in a partial response.
28092
+ # @param [String] quota_user
28093
+ # Available to use for quota purposes for server-side applications. Can be any
28094
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28095
+ # @param [String] user_ip
28096
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28097
+ # @param [Google::Apis::RequestOptions] options
28098
+ # Request-specific options
28099
+ #
28100
+ # @yield [result, err] Result & error if block supplied
28101
+ # @yieldparam result [Google::Apis::ComputeAlpha::DiskSettings] parsed result object
28102
+ # @yieldparam err [StandardError] error object if request failed
28103
+ #
28104
+ # @return [Google::Apis::ComputeAlpha::DiskSettings]
28105
+ #
28106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28109
+ def get_region_disk_setting(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28110
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskSettings', options)
28111
+ command.response_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
28112
+ command.response_class = Google::Apis::ComputeAlpha::DiskSettings
28113
+ command.params['project'] = project unless project.nil?
28114
+ command.params['region'] = region unless region.nil?
28115
+ command.query['fields'] = fields unless fields.nil?
28116
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28117
+ command.query['userIp'] = user_ip unless user_ip.nil?
28118
+ execute_or_queue_command(command, &block)
28119
+ end
28120
+
28121
+ # Patch Regional Disk Settings
28122
+ # @param [String] project
28123
+ # Project ID for this request.
28124
+ # @param [String] region
28125
+ # Name of the region for this request.
28126
+ # @param [Google::Apis::ComputeAlpha::DiskSettings] disk_settings_object
28127
+ # @param [String] request_id
28128
+ # An optional request ID to identify requests. Specify a unique request ID so
28129
+ # that if you must retry your request, the server will know to ignore the
28130
+ # request if it has already been completed. For example, consider a situation
28131
+ # where you make an initial request and the request times out. If you make the
28132
+ # request again with the same request ID, the server can check if original
28133
+ # operation with the same request ID was received, and if so, will ignore the
28134
+ # second request. This prevents clients from accidentally creating duplicate
28135
+ # commitments. The request ID must be a valid UUID with the exception that zero
28136
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28137
+ # @param [String] update_mask
28138
+ # update_mask indicates fields to be updated as part of this request.
28139
+ # @param [String] fields
28140
+ # Selector specifying which fields to include in a partial response.
28141
+ # @param [String] quota_user
28142
+ # Available to use for quota purposes for server-side applications. Can be any
28143
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28144
+ # @param [String] user_ip
28145
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28146
+ # @param [Google::Apis::RequestOptions] options
28147
+ # Request-specific options
28148
+ #
28149
+ # @yield [result, err] Result & error if block supplied
28150
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
28151
+ # @yieldparam err [StandardError] error object if request failed
28152
+ #
28153
+ # @return [Google::Apis::ComputeAlpha::Operation]
28154
+ #
28155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28158
+ def patch_region_disk_setting(project, region, disk_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28159
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/diskSettings', options)
28160
+ command.request_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
28161
+ command.request_object = disk_settings_object
28162
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
28163
+ command.response_class = Google::Apis::ComputeAlpha::Operation
28164
+ command.params['project'] = project unless project.nil?
28165
+ command.params['region'] = region unless region.nil?
28166
+ command.query['requestId'] = request_id unless request_id.nil?
28167
+ command.query['updateMask'] = update_mask unless update_mask.nil?
28168
+ command.query['fields'] = fields unless fields.nil?
28169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28170
+ command.query['userIp'] = user_ip unless user_ip.nil?
28171
+ execute_or_queue_command(command, &block)
28172
+ end
28173
+
27904
28174
  # Returns the specified regional disk type.
27905
28175
  # @param [String] project
27906
28176
  # Project ID for this request.
@@ -28738,7 +29008,6 @@ module Google
28738
29008
  # The name of the region for this request.
28739
29009
  # @param [String] disk
28740
29010
  # The name of the persistent disk.
28741
- # @param [Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest] region_disks_stop_async_replication_request_object
28742
29011
  # @param [String] request_id
28743
29012
  # An optional request ID to identify requests. Specify a unique request ID so
28744
29013
  # that if you must retry your request, the server will know to ignore the
@@ -28768,10 +29037,8 @@ module Google
28768
29037
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28769
29038
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28770
29039
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28771
- def stop_region_disk_async_replication(project, region, disk, region_disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29040
+ def stop_region_disk_async_replication(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28772
29041
  command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication', options)
28773
- command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest::Representation
28774
- command.request_object = region_disks_stop_async_replication_request_object
28775
29042
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
28776
29043
  command.response_class = Google::Apis::ComputeAlpha::Operation
28777
29044
  command.params['project'] = project unless project.nil?
@@ -37126,6 +37393,98 @@ module Google
37126
37393
  execute_or_queue_command(command, &block)
37127
37394
  end
37128
37395
 
37396
+ # Retrieves the list of Zone resources under the specific region available to
37397
+ # the specified project.
37398
+ # @param [String] project
37399
+ # Project ID for this request.
37400
+ # @param [String] region
37401
+ # Region for this request.
37402
+ # @param [String] filter
37403
+ # A filter expression that filters resources listed in the response. Most
37404
+ # Compute resources support two types of filter expressions: expressions that
37405
+ # support regular expressions and expressions that follow API improvement
37406
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
37407
+ # field name, an operator, and the value that you want to use for filtering. The
37408
+ # value must be a string, a number, or a boolean. The operator must be either `=`
37409
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
37410
+ # Engine instances, you can exclude instances named `example-instance` by
37411
+ # specifying `name != example-instance`. The `:` operator can be used with
37412
+ # string fields to match substrings. For non-string fields it is equivalent to
37413
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
37414
+ # been defined. For example, to find all objects with `owner` label use: ```
37415
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
37416
+ # specify `scheduling.automaticRestart = false` to include instances only if
37417
+ # they are not scheduled for automatic restarts. You can use filtering on nested
37418
+ # fields to filter based on resource labels. To filter on multiple expressions,
37419
+ # provide each separate expression within parentheses. For example: ``` (
37420
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
37421
+ # default, each expression is an `AND` expression. However, you can include `AND`
37422
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
37423
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
37424
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
37425
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
37426
+ # expression with or without quotes or against multiple parenthesized
37427
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
37428
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
37429
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
37430
+ # regular expression using Google RE2 library syntax. The literal value must
37431
+ # match the entire field. For example, to filter for instances that do not end
37432
+ # with name "instance", you would use `name ne .*instance`.
37433
+ # @param [Fixnum] max_results
37434
+ # The maximum number of results per page that should be returned. If the number
37435
+ # of available results is larger than `maxResults`, Compute Engine returns a `
37436
+ # nextPageToken` that can be used to get the next page of results in subsequent
37437
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
37438
+ # @param [String] order_by
37439
+ # Sorts list results by a certain order. By default, results are returned in
37440
+ # alphanumerical order based on the resource name. You can also sort results in
37441
+ # descending order based on the creation timestamp using `orderBy="
37442
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
37443
+ # field in reverse chronological order (newest result first). Use this to sort
37444
+ # resources like operations so that the newest operation is returned first.
37445
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
37446
+ # @param [String] page_token
37447
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
37448
+ # by a previous list request to get the next page of results.
37449
+ # @param [Boolean] return_partial_success
37450
+ # Opt-in for partial success behavior which provides partial results in case of
37451
+ # failure. The default value is false.
37452
+ # @param [String] fields
37453
+ # Selector specifying which fields to include in a partial response.
37454
+ # @param [String] quota_user
37455
+ # Available to use for quota purposes for server-side applications. Can be any
37456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
37457
+ # @param [String] user_ip
37458
+ # Legacy name for parameter that has been superseded by `quotaUser`.
37459
+ # @param [Google::Apis::RequestOptions] options
37460
+ # Request-specific options
37461
+ #
37462
+ # @yield [result, err] Result & error if block supplied
37463
+ # @yieldparam result [Google::Apis::ComputeAlpha::ZoneList] parsed result object
37464
+ # @yieldparam err [StandardError] error object if request failed
37465
+ #
37466
+ # @return [Google::Apis::ComputeAlpha::ZoneList]
37467
+ #
37468
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
37469
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
37470
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
37471
+ 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)
37472
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/zones', options)
37473
+ command.response_representation = Google::Apis::ComputeAlpha::ZoneList::Representation
37474
+ command.response_class = Google::Apis::ComputeAlpha::ZoneList
37475
+ command.params['project'] = project unless project.nil?
37476
+ command.params['region'] = region unless region.nil?
37477
+ command.query['filter'] = filter unless filter.nil?
37478
+ command.query['maxResults'] = max_results unless max_results.nil?
37479
+ command.query['orderBy'] = order_by unless order_by.nil?
37480
+ command.query['pageToken'] = page_token unless page_token.nil?
37481
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
37482
+ command.query['fields'] = fields unless fields.nil?
37483
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
37484
+ command.query['userIp'] = user_ip unless user_ip.nil?
37485
+ execute_or_queue_command(command, &block)
37486
+ end
37487
+
37129
37488
  # Returns the specified Region resource. To decrease latency for this method,
37130
37489
  # you can optionally omit any unneeded information from the response by using a
37131
37490
  # field mask. This practice is especially recommended for unused quota
@@ -42144,6 +42503,100 @@ module Google
42144
42503
  execute_or_queue_command(command, &block)
42145
42504
  end
42146
42505
 
42506
+ # Lists the disks in a specified storage pool.
42507
+ # @param [String] project
42508
+ # Project ID for this request.
42509
+ # @param [String] zone
42510
+ # The name of the zone for this request.
42511
+ # @param [String] storage_pool
42512
+ # Name of the storage pool to list disks of.
42513
+ # @param [String] filter
42514
+ # A filter expression that filters resources listed in the response. Most
42515
+ # Compute resources support two types of filter expressions: expressions that
42516
+ # support regular expressions and expressions that follow API improvement
42517
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
42518
+ # field name, an operator, and the value that you want to use for filtering. The
42519
+ # value must be a string, a number, or a boolean. The operator must be either `=`
42520
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
42521
+ # Engine instances, you can exclude instances named `example-instance` by
42522
+ # specifying `name != example-instance`. The `:` operator can be used with
42523
+ # string fields to match substrings. For non-string fields it is equivalent to
42524
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
42525
+ # been defined. For example, to find all objects with `owner` label use: ```
42526
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
42527
+ # specify `scheduling.automaticRestart = false` to include instances only if
42528
+ # they are not scheduled for automatic restarts. You can use filtering on nested
42529
+ # fields to filter based on resource labels. To filter on multiple expressions,
42530
+ # provide each separate expression within parentheses. For example: ``` (
42531
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
42532
+ # default, each expression is an `AND` expression. However, you can include `AND`
42533
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
42534
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
42535
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
42536
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
42537
+ # expression with or without quotes or against multiple parenthesized
42538
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
42539
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
42540
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
42541
+ # regular expression using Google RE2 library syntax. The literal value must
42542
+ # match the entire field. For example, to filter for instances that do not end
42543
+ # with name "instance", you would use `name ne .*instance`.
42544
+ # @param [Fixnum] max_results
42545
+ # The maximum number of results per page that should be returned. If the number
42546
+ # of available results is larger than `maxResults`, Compute Engine returns a `
42547
+ # nextPageToken` that can be used to get the next page of results in subsequent
42548
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
42549
+ # @param [String] order_by
42550
+ # Sorts list results by a certain order. By default, results are returned in
42551
+ # alphanumerical order based on the resource name. You can also sort results in
42552
+ # descending order based on the creation timestamp using `orderBy="
42553
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
42554
+ # field in reverse chronological order (newest result first). Use this to sort
42555
+ # resources like operations so that the newest operation is returned first.
42556
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
42557
+ # @param [String] page_token
42558
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
42559
+ # by a previous list request to get the next page of results.
42560
+ # @param [Boolean] return_partial_success
42561
+ # Opt-in for partial success behavior which provides partial results in case of
42562
+ # failure. The default value is false.
42563
+ # @param [String] fields
42564
+ # Selector specifying which fields to include in a partial response.
42565
+ # @param [String] quota_user
42566
+ # Available to use for quota purposes for server-side applications. Can be any
42567
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
42568
+ # @param [String] user_ip
42569
+ # Legacy name for parameter that has been superseded by `quotaUser`.
42570
+ # @param [Google::Apis::RequestOptions] options
42571
+ # Request-specific options
42572
+ #
42573
+ # @yield [result, err] Result & error if block supplied
42574
+ # @yieldparam result [Google::Apis::ComputeAlpha::StoragePoolListDisks] parsed result object
42575
+ # @yieldparam err [StandardError] error object if request failed
42576
+ #
42577
+ # @return [Google::Apis::ComputeAlpha::StoragePoolListDisks]
42578
+ #
42579
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
42580
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
42581
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
42582
+ def list_storage_pool_disks(project, zone, storage_pool, 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)
42583
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/storagePools/{storagePool}/listDisks', options)
42584
+ command.response_representation = Google::Apis::ComputeAlpha::StoragePoolListDisks::Representation
42585
+ command.response_class = Google::Apis::ComputeAlpha::StoragePoolListDisks
42586
+ command.params['project'] = project unless project.nil?
42587
+ command.params['zone'] = zone unless zone.nil?
42588
+ command.params['storagePool'] = storage_pool unless storage_pool.nil?
42589
+ command.query['filter'] = filter unless filter.nil?
42590
+ command.query['maxResults'] = max_results unless max_results.nil?
42591
+ command.query['orderBy'] = order_by unless order_by.nil?
42592
+ command.query['pageToken'] = page_token unless page_token.nil?
42593
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
42594
+ command.query['fields'] = fields unless fields.nil?
42595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
42596
+ command.query['userIp'] = user_ip unless user_ip.nil?
42597
+ execute_or_queue_command(command, &block)
42598
+ end
42599
+
42147
42600
  # Sets the access control policy on the specified resource. Replaces any
42148
42601
  # existing policy.
42149
42602
  # @param [String] project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.69.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []