google-apis-compute_beta 0.15.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6502,8 +6502,7 @@ module Google
6502
6502
  execute_or_queue_command(command, &block)
6503
6503
  end
6504
6504
 
6505
- # Retrieves the specified Operations resource. Gets a list of operations by
6506
- # making a `list()` request.
6505
+ # Retrieves the specified Operations resource.
6507
6506
  # @param [String] project
6508
6507
  # Project ID for this request.
6509
6508
  # @param [String] operation
@@ -9568,7 +9567,11 @@ module Google
9568
9567
  # the instances in the group are still in the process of being patched. You must
9569
9568
  # separately verify the status of the individual instances with the
9570
9569
  # listManagedInstances method. This method supports PATCH semantics and uses the
9571
- # JSON merge patch format and processing rules.
9570
+ # JSON merge patch format and processing rules. If you update your group to
9571
+ # specify a new template or instance configuration, it's possible that your
9572
+ # intended specification for each VM in the group is different from the current
9573
+ # state of that VM. To learn how to apply an updated configuration to the VMs in
9574
+ # a MIG, see Updating instances in a MIG.
9572
9575
  # @param [String] project
9573
9576
  # Project ID for this request.
9574
9577
  # @param [String] zone
@@ -10086,7 +10089,11 @@ module Google
10086
10089
  # request. This operation is marked as DONE when the group is updated even if
10087
10090
  # the instances in the group have not yet been updated. You must separately
10088
10091
  # verify the status of the individual instances with the listManagedInstances
10089
- # method.
10092
+ # method. If you update your group to specify a new template or instance
10093
+ # configuration, it's possible that your intended specification for each VM in
10094
+ # the group is different from the current state of that VM. To learn how to
10095
+ # apply an updated configuration to the VMs in a MIG, see Updating instances in
10096
+ # a MIG.
10090
10097
  # @param [String] project
10091
10098
  # Project ID for this request.
10092
10099
  # @param [String] zone
@@ -11228,8 +11235,9 @@ module Google
11228
11235
  execute_or_queue_command(command, &block)
11229
11236
  end
11230
11237
 
11231
- # Retrieves aggregated list of all of the instances in your project across all
11232
- # regions and zones.
11238
+ # Retrieves an aggregated list of all of the instances in your project across
11239
+ # all regions and zones. The performance of this method degrades when a filter
11240
+ # is specified on a project that has a very large number of instances.
11233
11241
  # @param [String] project
11234
11242
  # Project ID for this request.
11235
11243
  # @param [String] filter
@@ -16726,9 +16734,9 @@ module Google
16726
16734
  execute_or_queue_command(command, &block)
16727
16735
  end
16728
16736
 
16729
- # Updates the specified network peering with the data included in the request
16730
- # Only the following fields can be modified: NetworkPeering.export_custom_routes,
16731
- # and NetworkPeering.import_custom_routes
16737
+ # Updates the specified network peering with the data included in the request.
16738
+ # You can only modify the NetworkPeering.export_custom_routes field and the
16739
+ # NetworkPeering.import_custom_routes field.
16732
16740
  # @param [String] project
16733
16741
  # Project ID for this request.
16734
16742
  # @param [String] network
@@ -23888,7 +23896,11 @@ module Google
23888
23896
  # the instances in the group are still in the process of being patched. You must
23889
23897
  # separately verify the status of the individual instances with the
23890
23898
  # listmanagedinstances method. This method supports PATCH semantics and uses the
23891
- # JSON merge patch format and processing rules.
23899
+ # JSON merge patch format and processing rules. If you update your group to
23900
+ # specify a new template or instance configuration, it's possible that your
23901
+ # intended specification for each VM in the group is different from the current
23902
+ # state of that VM. To learn how to apply an updated configuration to the VMs in
23903
+ # a MIG, see Updating instances in a MIG.
23892
23904
  # @param [String] project
23893
23905
  # Project ID for this request.
23894
23906
  # @param [String] region
@@ -24119,6 +24131,71 @@ module Google
24119
24131
  execute_or_queue_command(command, &block)
24120
24132
  end
24121
24133
 
24134
+ # Resizes the regional managed instance group with advanced configuration
24135
+ # options like disabling creation retries. This is an extended version of the
24136
+ # resize method. If you increase the size, the group creates new instances using
24137
+ # the current instance template. If you decrease the size, the group deletes one
24138
+ # or more instances. The resize operation is marked DONE if the resize request
24139
+ # is successful. The underlying actions take additional time. You must
24140
+ # separately verify the status of the creating or deleting actions with the get
24141
+ # or listmanagedinstances method. If the group is part of a backend service that
24142
+ # has enabled connection draining, it can take up to 60 seconds after the
24143
+ # connection draining duration has elapsed before the VM instance is removed or
24144
+ # deleted.
24145
+ # @param [String] project
24146
+ # Project ID for this request.
24147
+ # @param [String] region
24148
+ # Name of the region scoping this request. It must be a string that meets the
24149
+ # requirements in RFC1035.
24150
+ # @param [String] instance_group_manager
24151
+ # The name of the managed instance group. It must be a string that meets the
24152
+ # requirements in RFC1035.
24153
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersResizeAdvancedRequest] region_instance_group_managers_resize_advanced_request_object
24154
+ # @param [String] request_id
24155
+ # An optional request ID to identify requests. Specify a unique request ID so
24156
+ # that if you must retry your request, the server will know to ignore the
24157
+ # request if it has already been completed. For example, consider a situation
24158
+ # where you make an initial request and the request times out. If you make the
24159
+ # request again with the same request ID, the server can check if original
24160
+ # operation with the same request ID was received, and if so, will ignore the
24161
+ # second request. This prevents clients from accidentally creating duplicate
24162
+ # commitments. The request ID must be a valid UUID with the exception that zero
24163
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
24164
+ # @param [String] fields
24165
+ # Selector specifying which fields to include in a partial response.
24166
+ # @param [String] quota_user
24167
+ # Available to use for quota purposes for server-side applications. Can be any
24168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24169
+ # @param [String] user_ip
24170
+ # Legacy name for parameter that has been superseded by `quotaUser`.
24171
+ # @param [Google::Apis::RequestOptions] options
24172
+ # Request-specific options
24173
+ #
24174
+ # @yield [result, err] Result & error if block supplied
24175
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
24176
+ # @yieldparam err [StandardError] error object if request failed
24177
+ #
24178
+ # @return [Google::Apis::ComputeBeta::Operation]
24179
+ #
24180
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24181
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24182
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24183
+ def resize_region_instance_group_manager_advanced(project, region, instance_group_manager, region_instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24184
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options)
24185
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersResizeAdvancedRequest::Representation
24186
+ command.request_object = region_instance_group_managers_resize_advanced_request_object
24187
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
24188
+ command.response_class = Google::Apis::ComputeBeta::Operation
24189
+ command.params['project'] = project unless project.nil?
24190
+ command.params['region'] = region unless region.nil?
24191
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
24192
+ command.query['requestId'] = request_id unless request_id.nil?
24193
+ command.query['fields'] = fields unless fields.nil?
24194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24195
+ command.query['userIp'] = user_ip unless user_ip.nil?
24196
+ execute_or_queue_command(command, &block)
24197
+ end
24198
+
24122
24199
  # Modifies the autohealing policy for the instances in this managed instance
24123
24200
  # group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.
24124
24201
  # patch instead.
@@ -24328,7 +24405,11 @@ module Google
24328
24405
  # request. This operation is marked as DONE when the group is updated even if
24329
24406
  # the instances in the group have not yet been updated. You must separately
24330
24407
  # verify the status of the individual instances with the listmanagedinstances
24331
- # method.
24408
+ # method. If you update your group to specify a new template or instance
24409
+ # configuration, it's possible that your intended specification for each VM in
24410
+ # the group is different from the current state of that VM. To learn how to
24411
+ # apply an updated configuration to the VMs in a MIG, see Updating instances in
24412
+ # a MIG.
24332
24413
  # @param [String] project
24333
24414
  # Project ID for this request.
24334
24415
  # @param [String] region
@@ -31336,6 +31417,10 @@ module Google
31336
31417
  # @param [Boolean] return_partial_success
31337
31418
  # Opt-in for partial success behavior which provides partial results in case of
31338
31419
  # failure. The default value is false.
31420
+ # @param [String] service_project
31421
+ # The project id or project number in which the subnetwork is intended to be
31422
+ # used. Only applied for Shared VPC. See [Shared VPC documentation](https://
31423
+ # cloud.google.com/vpc/docs/shared-vpc/)
31339
31424
  # @param [String] fields
31340
31425
  # Selector specifying which fields to include in a partial response.
31341
31426
  # @param [String] quota_user
@@ -31355,7 +31440,7 @@ module Google
31355
31440
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31356
31441
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31357
31442
  # @raise [Google::Apis::AuthorizationError] Authorization is required
31358
- def list_subnetwork_usable(project, 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)
31443
+ def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31359
31444
  command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', options)
31360
31445
  command.response_representation = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList::Representation
31361
31446
  command.response_class = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList
@@ -31365,6 +31450,7 @@ module Google
31365
31450
  command.query['orderBy'] = order_by unless order_by.nil?
31366
31451
  command.query['pageToken'] = page_token unless page_token.nil?
31367
31452
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
31453
+ command.query['serviceProject'] = service_project unless service_project.nil?
31368
31454
  command.query['fields'] = fields unless fields.nil?
31369
31455
  command.query['quotaUser'] = quota_user unless quota_user.nil?
31370
31456
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -32644,6 +32730,57 @@ module Google
32644
32730
  execute_or_queue_command(command, &block)
32645
32731
  end
32646
32732
 
32733
+ # Changes the Certificate Map for TargetHttpsProxy.
32734
+ # @param [String] project
32735
+ # Project ID for this request.
32736
+ # @param [String] target_https_proxy
32737
+ # Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The
32738
+ # name must be 1-63 characters long, and comply with RFC1035.
32739
+ # @param [Google::Apis::ComputeBeta::TargetHttpsProxiesSetCertificateMapRequest] target_https_proxies_set_certificate_map_request_object
32740
+ # @param [String] request_id
32741
+ # An optional request ID to identify requests. Specify a unique request ID so
32742
+ # that if you must retry your request, the server will know to ignore the
32743
+ # request if it has already been completed. For example, consider a situation
32744
+ # where you make an initial request and the request times out. If you make the
32745
+ # request again with the same request ID, the server can check if original
32746
+ # operation with the same request ID was received, and if so, will ignore the
32747
+ # second request. This prevents clients from accidentally creating duplicate
32748
+ # commitments. The request ID must be a valid UUID with the exception that zero
32749
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
32750
+ # @param [String] fields
32751
+ # Selector specifying which fields to include in a partial response.
32752
+ # @param [String] quota_user
32753
+ # Available to use for quota purposes for server-side applications. Can be any
32754
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
32755
+ # @param [String] user_ip
32756
+ # Legacy name for parameter that has been superseded by `quotaUser`.
32757
+ # @param [Google::Apis::RequestOptions] options
32758
+ # Request-specific options
32759
+ #
32760
+ # @yield [result, err] Result & error if block supplied
32761
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
32762
+ # @yieldparam err [StandardError] error object if request failed
32763
+ #
32764
+ # @return [Google::Apis::ComputeBeta::Operation]
32765
+ #
32766
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32767
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32768
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
32769
+ def set_target_https_proxy_certificate_map(project, target_https_proxy, target_https_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
32770
+ command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap', options)
32771
+ command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxiesSetCertificateMapRequest::Representation
32772
+ command.request_object = target_https_proxies_set_certificate_map_request_object
32773
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
32774
+ command.response_class = Google::Apis::ComputeBeta::Operation
32775
+ command.params['project'] = project unless project.nil?
32776
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
32777
+ command.query['requestId'] = request_id unless request_id.nil?
32778
+ command.query['fields'] = fields unless fields.nil?
32779
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32780
+ command.query['userIp'] = user_ip unless user_ip.nil?
32781
+ execute_or_queue_command(command, &block)
32782
+ end
32783
+
32647
32784
  # Sets the QUIC override policy for TargetHttpsProxy.
32648
32785
  # @param [String] project
32649
32786
  # Project ID for this request.
@@ -34136,6 +34273,57 @@ module Google
34136
34273
  execute_or_queue_command(command, &block)
34137
34274
  end
34138
34275
 
34276
+ # Changes the Certificate Map for TargetSslProxy.
34277
+ # @param [String] project
34278
+ # Project ID for this request.
34279
+ # @param [String] target_ssl_proxy
34280
+ # Name of the TargetSslProxy resource whose CertificateMap is to be set. The
34281
+ # name must be 1-63 characters long, and comply with RFC1035.
34282
+ # @param [Google::Apis::ComputeBeta::TargetSslProxiesSetCertificateMapRequest] target_ssl_proxies_set_certificate_map_request_object
34283
+ # @param [String] request_id
34284
+ # An optional request ID to identify requests. Specify a unique request ID so
34285
+ # that if you must retry your request, the server will know to ignore the
34286
+ # request if it has already been completed. For example, consider a situation
34287
+ # where you make an initial request and the request times out. If you make the
34288
+ # request again with the same request ID, the server can check if original
34289
+ # operation with the same request ID was received, and if so, will ignore the
34290
+ # second request. This prevents clients from accidentally creating duplicate
34291
+ # commitments. The request ID must be a valid UUID with the exception that zero
34292
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
34293
+ # @param [String] fields
34294
+ # Selector specifying which fields to include in a partial response.
34295
+ # @param [String] quota_user
34296
+ # Available to use for quota purposes for server-side applications. Can be any
34297
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34298
+ # @param [String] user_ip
34299
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34300
+ # @param [Google::Apis::RequestOptions] options
34301
+ # Request-specific options
34302
+ #
34303
+ # @yield [result, err] Result & error if block supplied
34304
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
34305
+ # @yieldparam err [StandardError] error object if request failed
34306
+ #
34307
+ # @return [Google::Apis::ComputeBeta::Operation]
34308
+ #
34309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34312
+ def set_target_ssl_proxy_certificate_map(project, target_ssl_proxy, target_ssl_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34313
+ command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap', options)
34314
+ command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetCertificateMapRequest::Representation
34315
+ command.request_object = target_ssl_proxies_set_certificate_map_request_object
34316
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
34317
+ command.response_class = Google::Apis::ComputeBeta::Operation
34318
+ command.params['project'] = project unless project.nil?
34319
+ command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
34320
+ command.query['requestId'] = request_id unless request_id.nil?
34321
+ command.query['fields'] = fields unless fields.nil?
34322
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34323
+ command.query['userIp'] = user_ip unless user_ip.nil?
34324
+ execute_or_queue_command(command, &block)
34325
+ end
34326
+
34139
34327
  # Changes the ProxyHeaderType for TargetSslProxy.
34140
34328
  # @param [String] project
34141
34329
  # Project ID for this request.
@@ -36571,14 +36759,14 @@ module Google
36571
36759
 
36572
36760
  # Waits for the specified Operation resource to return as `DONE` or for the
36573
36761
  # request to approach the 2 minute deadline, and retrieves the specified
36574
- # Operation resource. This method differs from the `GET` method in that it waits
36575
- # for no more than the default deadline (2 minutes) and then returns the current
36576
- # state of the operation, which might be `DONE` or still in progress. This
36577
- # method is called on a best-effort basis. Specifically: - In uncommon cases,
36578
- # when the server is overloaded, the request might return before the default
36579
- # deadline is reached, or might return after zero seconds. - If the default
36580
- # deadline is reached, there is no guarantee that the operation is actually done
36581
- # when the method returns. Be prepared to retry if the operation is not `DONE`.
36762
+ # Operation resource. This method waits for no more than the 2 minutes and then
36763
+ # returns the current state of the operation, which might be `DONE` or still in
36764
+ # progress. This method is called on a best-effort basis. Specifically: - In
36765
+ # uncommon cases, when the server is overloaded, the request might return before
36766
+ # the default deadline is reached, or might return after zero seconds. - If the
36767
+ # default deadline is reached, there is no guarantee that the operation is
36768
+ # actually done when the method returns. Be prepared to retry if the operation
36769
+ # is not `DONE`.
36582
36770
  # @param [String] project
36583
36771
  # Project ID for this request.
36584
36772
  # @param [String] zone
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'Beta'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # View and manage your Google Compute Engine resources
@@ -38,13 +38,13 @@ module Google
38
38
  # View your Google Compute Engine resources
39
39
  AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
40
40
 
41
- # Manage your data and permissions in Google Cloud Storage
41
+ # Manage your data and permissions in Cloud Storage and see the email address for your Google Account
42
42
  AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
43
43
 
44
44
  # View your data in Google Cloud Storage
45
45
  AUTH_DEVSTORAGE_READ_ONLY = 'https://www.googleapis.com/auth/devstorage.read_only'
46
46
 
47
- # Manage your data in Google Cloud Storage
47
+ # Manage your data in Cloud Storage and see the email address of your Google Account
48
48
  AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
49
49
  end
50
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.19.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: 2021-08-02 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.15.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_beta
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.19.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: