google-apis-compute_beta 0.80.0 → 0.82.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.
@@ -114,6 +114,7 @@ module Google
114
114
  # @param [Boolean] return_partial_success
115
115
  # Opt-in for partial success behavior which provides partial results in case of
116
116
  # failure. The default value is false.
117
+ # @param [Fixnum] service_project_number
117
118
  # @param [String] fields
118
119
  # Selector specifying which fields to include in a partial response.
119
120
  # @param [String] quota_user
@@ -133,7 +134,7 @@ module Google
133
134
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
134
135
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
135
136
  # @raise [Google::Apis::AuthorizationError] Authorization is required
136
- def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: 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)
137
+ def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
137
138
  command = make_simple_command(:get, 'projects/{project}/aggregated/acceleratorTypes', options)
138
139
  command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Representation
139
140
  command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList
@@ -144,6 +145,7 @@ module Google
144
145
  command.query['orderBy'] = order_by unless order_by.nil?
145
146
  command.query['pageToken'] = page_token unless page_token.nil?
146
147
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
148
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
147
149
  command.query['fields'] = fields unless fields.nil?
148
150
  command.query['quotaUser'] = quota_user unless quota_user.nil?
149
151
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -343,6 +345,7 @@ module Google
343
345
  # @param [Boolean] return_partial_success
344
346
  # Opt-in for partial success behavior which provides partial results in case of
345
347
  # failure. The default value is false.
348
+ # @param [Fixnum] service_project_number
346
349
  # @param [String] fields
347
350
  # Selector specifying which fields to include in a partial response.
348
351
  # @param [String] quota_user
@@ -362,7 +365,7 @@ module Google
362
365
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
363
366
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
364
367
  # @raise [Google::Apis::AuthorizationError] Authorization is required
365
- def list_aggregated_addresses(project, filter: nil, include_all_scopes: 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)
368
+ def list_aggregated_addresses(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
366
369
  command = make_simple_command(:get, 'projects/{project}/aggregated/addresses', options)
367
370
  command.response_representation = Google::Apis::ComputeBeta::AddressAggregatedList::Representation
368
371
  command.response_class = Google::Apis::ComputeBeta::AddressAggregatedList
@@ -373,6 +376,7 @@ module Google
373
376
  command.query['orderBy'] = order_by unless order_by.nil?
374
377
  command.query['pageToken'] = page_token unless page_token.nil?
375
378
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
379
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
376
380
  command.query['fields'] = fields unless fields.nil?
377
381
  command.query['quotaUser'] = quota_user unless quota_user.nil?
378
382
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -821,6 +825,7 @@ module Google
821
825
  # @param [Boolean] return_partial_success
822
826
  # Opt-in for partial success behavior which provides partial results in case of
823
827
  # failure. The default value is false.
828
+ # @param [Fixnum] service_project_number
824
829
  # @param [String] fields
825
830
  # Selector specifying which fields to include in a partial response.
826
831
  # @param [String] quota_user
@@ -840,7 +845,7 @@ module Google
840
845
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
841
846
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
842
847
  # @raise [Google::Apis::AuthorizationError] Authorization is required
843
- def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: 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)
848
+ def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
844
849
  command = make_simple_command(:get, 'projects/{project}/aggregated/autoscalers', options)
845
850
  command.response_representation = Google::Apis::ComputeBeta::AutoscalerAggregatedList::Representation
846
851
  command.response_class = Google::Apis::ComputeBeta::AutoscalerAggregatedList
@@ -851,6 +856,7 @@ module Google
851
856
  command.query['orderBy'] = order_by unless order_by.nil?
852
857
  command.query['pageToken'] = page_token unless page_token.nil?
853
858
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
859
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
854
860
  command.query['fields'] = fields unless fields.nil?
855
861
  command.query['quotaUser'] = quota_user unless quota_user.nil?
856
862
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1949,6 +1955,7 @@ module Google
1949
1955
  # @param [Boolean] return_partial_success
1950
1956
  # Opt-in for partial success behavior which provides partial results in case of
1951
1957
  # failure. The default value is false.
1958
+ # @param [Fixnum] service_project_number
1952
1959
  # @param [String] fields
1953
1960
  # Selector specifying which fields to include in a partial response.
1954
1961
  # @param [String] quota_user
@@ -1968,7 +1975,7 @@ module Google
1968
1975
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1969
1976
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1970
1977
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1971
- def aggregated_backend_service_list(project, filter: nil, include_all_scopes: 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)
1978
+ def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1972
1979
  command = make_simple_command(:get, 'projects/{project}/aggregated/backendServices', options)
1973
1980
  command.response_representation = Google::Apis::ComputeBeta::BackendServiceAggregatedList::Representation
1974
1981
  command.response_class = Google::Apis::ComputeBeta::BackendServiceAggregatedList
@@ -1979,6 +1986,7 @@ module Google
1979
1986
  command.query['orderBy'] = order_by unless order_by.nil?
1980
1987
  command.query['pageToken'] = page_token unless page_token.nil?
1981
1988
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1989
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
1982
1990
  command.query['fields'] = fields unless fields.nil?
1983
1991
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1984
1992
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -2775,6 +2783,7 @@ module Google
2775
2783
  # @param [Boolean] return_partial_success
2776
2784
  # Opt-in for partial success behavior which provides partial results in case of
2777
2785
  # failure. The default value is false.
2786
+ # @param [Fixnum] service_project_number
2778
2787
  # @param [String] fields
2779
2788
  # Selector specifying which fields to include in a partial response.
2780
2789
  # @param [String] quota_user
@@ -2794,7 +2803,7 @@ module Google
2794
2803
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2795
2804
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2796
2805
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2797
- def list_aggregated_disk_types(project, filter: nil, include_all_scopes: 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)
2806
+ def list_aggregated_disk_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2798
2807
  command = make_simple_command(:get, 'projects/{project}/aggregated/diskTypes', options)
2799
2808
  command.response_representation = Google::Apis::ComputeBeta::DiskTypeAggregatedList::Representation
2800
2809
  command.response_class = Google::Apis::ComputeBeta::DiskTypeAggregatedList
@@ -2805,6 +2814,7 @@ module Google
2805
2814
  command.query['orderBy'] = order_by unless order_by.nil?
2806
2815
  command.query['pageToken'] = page_token unless page_token.nil?
2807
2816
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2817
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
2808
2818
  command.query['fields'] = fields unless fields.nil?
2809
2819
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2810
2820
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -3057,6 +3067,7 @@ module Google
3057
3067
  # @param [Boolean] return_partial_success
3058
3068
  # Opt-in for partial success behavior which provides partial results in case of
3059
3069
  # failure. The default value is false.
3070
+ # @param [Fixnum] service_project_number
3060
3071
  # @param [String] fields
3061
3072
  # Selector specifying which fields to include in a partial response.
3062
3073
  # @param [String] quota_user
@@ -3076,7 +3087,7 @@ module Google
3076
3087
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3077
3088
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3078
3089
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3079
- def list_aggregated_disk(project, filter: nil, include_all_scopes: 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)
3090
+ def list_aggregated_disk(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3080
3091
  command = make_simple_command(:get, 'projects/{project}/aggregated/disks', options)
3081
3092
  command.response_representation = Google::Apis::ComputeBeta::DiskAggregatedList::Representation
3082
3093
  command.response_class = Google::Apis::ComputeBeta::DiskAggregatedList
@@ -3087,6 +3098,7 @@ module Google
3087
3098
  command.query['orderBy'] = order_by unless order_by.nil?
3088
3099
  command.query['pageToken'] = page_token unless page_token.nil?
3089
3100
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
3101
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
3090
3102
  command.query['fields'] = fields unless fields.nil?
3091
3103
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3092
3104
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -5492,6 +5504,7 @@ module Google
5492
5504
  # @param [Boolean] return_partial_success
5493
5505
  # Opt-in for partial success behavior which provides partial results in case of
5494
5506
  # failure. The default value is false.
5507
+ # @param [Fixnum] service_project_number
5495
5508
  # @param [String] fields
5496
5509
  # Selector specifying which fields to include in a partial response.
5497
5510
  # @param [String] quota_user
@@ -5511,7 +5524,7 @@ module Google
5511
5524
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5512
5525
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5513
5526
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5514
- def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: 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)
5527
+ def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5515
5528
  command = make_simple_command(:get, 'projects/{project}/aggregated/forwardingRules', options)
5516
5529
  command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Representation
5517
5530
  command.response_class = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList
@@ -5522,6 +5535,7 @@ module Google
5522
5535
  command.query['orderBy'] = order_by unless order_by.nil?
5523
5536
  command.query['pageToken'] = page_token unless page_token.nil?
5524
5537
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5538
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
5525
5539
  command.query['fields'] = fields unless fields.nil?
5526
5540
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5527
5541
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -6027,6 +6041,7 @@ module Google
6027
6041
  # @param [Boolean] return_partial_success
6028
6042
  # Opt-in for partial success behavior which provides partial results in case of
6029
6043
  # failure. The default value is false.
6044
+ # @param [Fixnum] service_project_number
6030
6045
  # @param [String] fields
6031
6046
  # Selector specifying which fields to include in a partial response.
6032
6047
  # @param [String] quota_user
@@ -6046,7 +6061,7 @@ module Google
6046
6061
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6047
6062
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6048
6063
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6049
- def aggregated_future_reservation_list(project, filter: nil, include_all_scopes: 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)
6064
+ def aggregated_future_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6050
6065
  command = make_simple_command(:get, 'projects/{project}/aggregated/futureReservations', options)
6051
6066
  command.response_representation = Google::Apis::ComputeBeta::FutureReservationsAggregatedListResponse::Representation
6052
6067
  command.response_class = Google::Apis::ComputeBeta::FutureReservationsAggregatedListResponse
@@ -6057,6 +6072,7 @@ module Google
6057
6072
  command.query['orderBy'] = order_by unless order_by.nil?
6058
6073
  command.query['pageToken'] = page_token unless page_token.nil?
6059
6074
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
6075
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
6060
6076
  command.query['fields'] = fields unless fields.nil?
6061
6077
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6062
6078
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -7635,6 +7651,7 @@ module Google
7635
7651
  # @param [Boolean] return_partial_success
7636
7652
  # Opt-in for partial success behavior which provides partial results in case of
7637
7653
  # failure. The default value is false.
7654
+ # @param [Fixnum] service_project_number
7638
7655
  # @param [String] fields
7639
7656
  # Selector specifying which fields to include in a partial response.
7640
7657
  # @param [String] quota_user
@@ -7654,7 +7671,7 @@ module Google
7654
7671
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7655
7672
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7656
7673
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7657
- def list_aggregated_global_operation(project, filter: nil, include_all_scopes: 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)
7674
+ def list_aggregated_global_operation(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7658
7675
  command = make_simple_command(:get, 'projects/{project}/aggregated/operations', options)
7659
7676
  command.response_representation = Google::Apis::ComputeBeta::OperationAggregatedList::Representation
7660
7677
  command.response_class = Google::Apis::ComputeBeta::OperationAggregatedList
@@ -7665,6 +7682,7 @@ module Google
7665
7682
  command.query['orderBy'] = order_by unless order_by.nil?
7666
7683
  command.query['pageToken'] = page_token unless page_token.nil?
7667
7684
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
7685
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
7668
7686
  command.query['fields'] = fields unless fields.nil?
7669
7687
  command.query['quotaUser'] = quota_user unless quota_user.nil?
7670
7688
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -8370,6 +8388,7 @@ module Google
8370
8388
  # @param [Boolean] return_partial_success
8371
8389
  # Opt-in for partial success behavior which provides partial results in case of
8372
8390
  # failure. The default value is false.
8391
+ # @param [Fixnum] service_project_number
8373
8392
  # @param [String] fields
8374
8393
  # Selector specifying which fields to include in a partial response.
8375
8394
  # @param [String] quota_user
@@ -8389,7 +8408,7 @@ module Google
8389
8408
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8390
8409
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8391
8410
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8392
- def aggregated_health_check_list(project, filter: nil, include_all_scopes: 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)
8411
+ def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8393
8412
  command = make_simple_command(:get, 'projects/{project}/aggregated/healthChecks', options)
8394
8413
  command.response_representation = Google::Apis::ComputeBeta::HealthChecksAggregatedList::Representation
8395
8414
  command.response_class = Google::Apis::ComputeBeta::HealthChecksAggregatedList
@@ -8400,6 +8419,7 @@ module Google
8400
8419
  command.query['orderBy'] = order_by unless order_by.nil?
8401
8420
  command.query['pageToken'] = page_token unless page_token.nil?
8402
8421
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8422
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
8403
8423
  command.query['fields'] = fields unless fields.nil?
8404
8424
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8405
8425
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -10062,6 +10082,64 @@ module Google
10062
10082
  execute_or_queue_command(command, &block)
10063
10083
  end
10064
10084
 
10085
+ # Cancels the specified resize request and removes it from the queue. Cancelled
10086
+ # resize request does no longer wait for the resources to be provisioned. Cancel
10087
+ # is only possible for requests that are accepted in the queue.
10088
+ # @param [String] project
10089
+ # Project ID for this request.
10090
+ # @param [String] zone
10091
+ # The name of the zone where the managed instance group is located. The name
10092
+ # should conform to RFC1035.
10093
+ # @param [String] instance_group_manager
10094
+ # The name of the managed instance group. The name should conform to RFC1035 or
10095
+ # be a resource ID.
10096
+ # @param [String] resize_request
10097
+ # The name of the resize request to cancel. The name should conform to RFC1035
10098
+ # or be a resource ID.
10099
+ # @param [String] request_id
10100
+ # An optional request ID to identify requests. Specify a unique request ID so
10101
+ # that if you must retry your request, the server will know to ignore the
10102
+ # request if it has already been completed. For example, consider a situation
10103
+ # where you make an initial request and the request times out. If you make the
10104
+ # request again with the same request ID, the server can check if original
10105
+ # operation with the same request ID was received, and if so, will ignore the
10106
+ # second request. This prevents clients from accidentally creating duplicate
10107
+ # commitments. The request ID must be a valid UUID with the exception that zero
10108
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
10109
+ # @param [String] fields
10110
+ # Selector specifying which fields to include in a partial response.
10111
+ # @param [String] quota_user
10112
+ # Available to use for quota purposes for server-side applications. Can be any
10113
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10114
+ # @param [String] user_ip
10115
+ # Legacy name for parameter that has been superseded by `quotaUser`.
10116
+ # @param [Google::Apis::RequestOptions] options
10117
+ # Request-specific options
10118
+ #
10119
+ # @yield [result, err] Result & error if block supplied
10120
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
10121
+ # @yieldparam err [StandardError] error object if request failed
10122
+ #
10123
+ # @return [Google::Apis::ComputeBeta::Operation]
10124
+ #
10125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10128
+ def cancel_instance_group_manager_resize_request(project, zone, instance_group_manager, resize_request, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10129
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel', options)
10130
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
10131
+ command.response_class = Google::Apis::ComputeBeta::Operation
10132
+ command.params['project'] = project unless project.nil?
10133
+ command.params['zone'] = zone unless zone.nil?
10134
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
10135
+ command.params['resizeRequest'] = resize_request unless resize_request.nil?
10136
+ command.query['requestId'] = request_id unless request_id.nil?
10137
+ command.query['fields'] = fields unless fields.nil?
10138
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10139
+ command.query['userIp'] = user_ip unless user_ip.nil?
10140
+ execute_or_queue_command(command, &block)
10141
+ end
10142
+
10065
10143
  # Deletes the specified, inactive resize request. Requests that are still active
10066
10144
  # cannot be deleted. Deleting request does not delete instances that were
10067
10145
  # provisioned previously.
@@ -10443,6 +10521,7 @@ module Google
10443
10521
  # @param [Boolean] return_partial_success
10444
10522
  # Opt-in for partial success behavior which provides partial results in case of
10445
10523
  # failure. The default value is false.
10524
+ # @param [Fixnum] service_project_number
10446
10525
  # @param [String] fields
10447
10526
  # Selector specifying which fields to include in a partial response.
10448
10527
  # @param [String] quota_user
@@ -10462,7 +10541,7 @@ module Google
10462
10541
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10463
10542
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10464
10543
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10465
- def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: 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)
10544
+ def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10466
10545
  command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroupManagers', options)
10467
10546
  command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Representation
10468
10547
  command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList
@@ -10473,6 +10552,7 @@ module Google
10473
10552
  command.query['orderBy'] = order_by unless order_by.nil?
10474
10553
  command.query['pageToken'] = page_token unless page_token.nil?
10475
10554
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10555
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
10476
10556
  command.query['fields'] = fields unless fields.nil?
10477
10557
  command.query['quotaUser'] = quota_user unless quota_user.nil?
10478
10558
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -11538,6 +11618,70 @@ module Google
11538
11618
  execute_or_queue_command(command, &block)
11539
11619
  end
11540
11620
 
11621
+ # Flags the specified instances in the managed instance group to be resumed.
11622
+ # This method increases the targetSize and decreases the targetSuspendedSize of
11623
+ # the managed instance group by the number of instances that you resume. The
11624
+ # resumeInstances operation is marked DONE if the resumeInstances request is
11625
+ # successful. The underlying actions take additional time. You must separately
11626
+ # verify the status of the RESUMING action with the listmanagedinstances method.
11627
+ # In this request, you can only specify instances that are suspended. For
11628
+ # example, if an instance was previously suspended using the suspendInstances
11629
+ # method, it can be resumed using the resumeInstances method. If a health check
11630
+ # is attached to the managed instance group, the specified instances will be
11631
+ # verified as healthy after they are resumed. You can specify a maximum of 1000
11632
+ # instances with this method per request.
11633
+ # @param [String] project
11634
+ # Project ID for this request.
11635
+ # @param [String] zone
11636
+ # The name of the zone where the managed instance group is located.
11637
+ # @param [String] instance_group_manager
11638
+ # The name of the managed instance group.
11639
+ # @param [Google::Apis::ComputeBeta::InstanceGroupManagersResumeInstancesRequest] instance_group_managers_resume_instances_request_object
11640
+ # @param [String] request_id
11641
+ # An optional request ID to identify requests. Specify a unique request ID so
11642
+ # that if you must retry your request, the server will know to ignore the
11643
+ # request if it has already been completed. For example, consider a situation
11644
+ # where you make an initial request and the request times out. If you make the
11645
+ # request again with the same request ID, the server can check if original
11646
+ # operation with the same request ID was received, and if so, will ignore the
11647
+ # second request. This prevents clients from accidentally creating duplicate
11648
+ # commitments. The request ID must be a valid UUID with the exception that zero
11649
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
11650
+ # @param [String] fields
11651
+ # Selector specifying which fields to include in a partial response.
11652
+ # @param [String] quota_user
11653
+ # Available to use for quota purposes for server-side applications. Can be any
11654
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11655
+ # @param [String] user_ip
11656
+ # Legacy name for parameter that has been superseded by `quotaUser`.
11657
+ # @param [Google::Apis::RequestOptions] options
11658
+ # Request-specific options
11659
+ #
11660
+ # @yield [result, err] Result & error if block supplied
11661
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
11662
+ # @yieldparam err [StandardError] error object if request failed
11663
+ #
11664
+ # @return [Google::Apis::ComputeBeta::Operation]
11665
+ #
11666
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11667
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11668
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11669
+ def resume_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11670
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances', options)
11671
+ command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersResumeInstancesRequest::Representation
11672
+ command.request_object = instance_group_managers_resume_instances_request_object
11673
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
11674
+ command.response_class = Google::Apis::ComputeBeta::Operation
11675
+ command.params['project'] = project unless project.nil?
11676
+ command.params['zone'] = zone unless zone.nil?
11677
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
11678
+ command.query['requestId'] = request_id unless request_id.nil?
11679
+ command.query['fields'] = fields unless fields.nil?
11680
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11681
+ command.query['userIp'] = user_ip unless user_ip.nil?
11682
+ execute_or_queue_command(command, &block)
11683
+ end
11684
+
11541
11685
  # Motifies the autohealing policy for the instances in this managed instance
11542
11686
  # group. [Deprecated] This method is deprecated. Use instanceGroupManagers.patch
11543
11687
  # instead.
@@ -11707,6 +11851,210 @@ module Google
11707
11851
  execute_or_queue_command(command, &block)
11708
11852
  end
11709
11853
 
11854
+ # Flags the specified instances in the managed instance group to be started.
11855
+ # This method increases the targetSize and decreases the targetStoppedSize of
11856
+ # the managed instance group by the number of instances that you start. The
11857
+ # startInstances operation is marked DONE if the startInstances request is
11858
+ # successful. The underlying actions take additional time. You must separately
11859
+ # verify the status of the STARTING action with the listmanagedinstances method.
11860
+ # In this request, you can only specify instances that are stopped. For example,
11861
+ # if an instance was previously stopped using the stopInstances method, it can
11862
+ # be started using the startInstances method. If a health check is attached to
11863
+ # the managed instance group, the specified instances will be verified as
11864
+ # healthy after they are started. You can specify a maximum of 1000 instances
11865
+ # with this method per request.
11866
+ # @param [String] project
11867
+ # Project ID for this request.
11868
+ # @param [String] zone
11869
+ # The name of the zone where the managed instance group is located.
11870
+ # @param [String] instance_group_manager
11871
+ # The name of the managed instance group.
11872
+ # @param [Google::Apis::ComputeBeta::InstanceGroupManagersStartInstancesRequest] instance_group_managers_start_instances_request_object
11873
+ # @param [String] request_id
11874
+ # An optional request ID to identify requests. Specify a unique request ID so
11875
+ # that if you must retry your request, the server will know to ignore the
11876
+ # request if it has already been completed. For example, consider a situation
11877
+ # where you make an initial request and the request times out. If you make the
11878
+ # request again with the same request ID, the server can check if original
11879
+ # operation with the same request ID was received, and if so, will ignore the
11880
+ # second request. This prevents clients from accidentally creating duplicate
11881
+ # commitments. The request ID must be a valid UUID with the exception that zero
11882
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
11883
+ # @param [String] fields
11884
+ # Selector specifying which fields to include in a partial response.
11885
+ # @param [String] quota_user
11886
+ # Available to use for quota purposes for server-side applications. Can be any
11887
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11888
+ # @param [String] user_ip
11889
+ # Legacy name for parameter that has been superseded by `quotaUser`.
11890
+ # @param [Google::Apis::RequestOptions] options
11891
+ # Request-specific options
11892
+ #
11893
+ # @yield [result, err] Result & error if block supplied
11894
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
11895
+ # @yieldparam err [StandardError] error object if request failed
11896
+ #
11897
+ # @return [Google::Apis::ComputeBeta::Operation]
11898
+ #
11899
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11900
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11901
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11902
+ def start_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11903
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances', options)
11904
+ command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersStartInstancesRequest::Representation
11905
+ command.request_object = instance_group_managers_start_instances_request_object
11906
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
11907
+ command.response_class = Google::Apis::ComputeBeta::Operation
11908
+ command.params['project'] = project unless project.nil?
11909
+ command.params['zone'] = zone unless zone.nil?
11910
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
11911
+ command.query['requestId'] = request_id unless request_id.nil?
11912
+ command.query['fields'] = fields unless fields.nil?
11913
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11914
+ command.query['userIp'] = user_ip unless user_ip.nil?
11915
+ execute_or_queue_command(command, &block)
11916
+ end
11917
+
11918
+ # Flags the specified instances in the managed instance group to be immediately
11919
+ # stopped. You can only specify instances that are running in this request. This
11920
+ # method reduces the targetSize and increases the targetStoppedSize of the
11921
+ # managed instance group by the number of instances that you stop. The
11922
+ # stopInstances operation is marked DONE if the stopInstances request is
11923
+ # successful. The underlying actions take additional time. You must separately
11924
+ # verify the status of the STOPPING action with the listmanagedinstances method.
11925
+ # If the standbyPolicy.initialDelaySec field is set, the group delays stopping
11926
+ # the instances until initialDelaySec have passed from instance.
11927
+ # creationTimestamp (that is, when the instance was created). This delay gives
11928
+ # your application time to set itself up and initialize on the instance. If more
11929
+ # than initialDelaySec seconds have passed since instance.creationTimestamp when
11930
+ # this method is called, there will be zero delay. If the group is part of a
11931
+ # backend service that has enabled connection draining, it can take up to 60
11932
+ # seconds after the connection draining duration has elapsed before the VM
11933
+ # instance is stopped. Stopped instances can be started using the startInstances
11934
+ # method. You can specify a maximum of 1000 instances with this method per
11935
+ # request.
11936
+ # @param [String] project
11937
+ # Project ID for this request.
11938
+ # @param [String] zone
11939
+ # The name of the zone where the managed instance group is located.
11940
+ # @param [String] instance_group_manager
11941
+ # The name of the managed instance group.
11942
+ # @param [Google::Apis::ComputeBeta::InstanceGroupManagersStopInstancesRequest] instance_group_managers_stop_instances_request_object
11943
+ # @param [String] request_id
11944
+ # An optional request ID to identify requests. Specify a unique request ID so
11945
+ # that if you must retry your request, the server will know to ignore the
11946
+ # request if it has already been completed. For example, consider a situation
11947
+ # where you make an initial request and the request times out. If you make the
11948
+ # request again with the same request ID, the server can check if original
11949
+ # operation with the same request ID was received, and if so, will ignore the
11950
+ # second request. This prevents clients from accidentally creating duplicate
11951
+ # commitments. The request ID must be a valid UUID with the exception that zero
11952
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
11953
+ # @param [String] fields
11954
+ # Selector specifying which fields to include in a partial response.
11955
+ # @param [String] quota_user
11956
+ # Available to use for quota purposes for server-side applications. Can be any
11957
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11958
+ # @param [String] user_ip
11959
+ # Legacy name for parameter that has been superseded by `quotaUser`.
11960
+ # @param [Google::Apis::RequestOptions] options
11961
+ # Request-specific options
11962
+ #
11963
+ # @yield [result, err] Result & error if block supplied
11964
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
11965
+ # @yieldparam err [StandardError] error object if request failed
11966
+ #
11967
+ # @return [Google::Apis::ComputeBeta::Operation]
11968
+ #
11969
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11970
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11971
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11972
+ def stop_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11973
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances', options)
11974
+ command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersStopInstancesRequest::Representation
11975
+ command.request_object = instance_group_managers_stop_instances_request_object
11976
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
11977
+ command.response_class = Google::Apis::ComputeBeta::Operation
11978
+ command.params['project'] = project unless project.nil?
11979
+ command.params['zone'] = zone unless zone.nil?
11980
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
11981
+ command.query['requestId'] = request_id unless request_id.nil?
11982
+ command.query['fields'] = fields unless fields.nil?
11983
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11984
+ command.query['userIp'] = user_ip unless user_ip.nil?
11985
+ execute_or_queue_command(command, &block)
11986
+ end
11987
+
11988
+ # Flags the specified instances in the managed instance group to be immediately
11989
+ # suspended. You can only specify instances that are running in this request.
11990
+ # This method reduces the targetSize and increases the targetSuspendedSize of
11991
+ # the managed instance group by the number of instances that you suspend. The
11992
+ # suspendInstances operation is marked DONE if the suspendInstances request is
11993
+ # successful. The underlying actions take additional time. You must separately
11994
+ # verify the status of the SUSPENDING action with the listmanagedinstances
11995
+ # method. If the standbyPolicy.initialDelaySec field is set, the group delays
11996
+ # suspension of the instances until initialDelaySec have passed from instance.
11997
+ # creationTimestamp (that is, when the instance was created). This delay gives
11998
+ # your application time to set itself up and initialize on the instance. If more
11999
+ # than initialDelaySec seconds have passed since instance.creationTimestamp when
12000
+ # this method is called, there will be zero delay. If the group is part of a
12001
+ # backend service that has enabled connection draining, it can take up to 60
12002
+ # seconds after the connection draining duration has elapsed before the VM
12003
+ # instance is suspended. Suspended instances can be resumed using the
12004
+ # resumeInstances method. You can specify a maximum of 1000 instances with this
12005
+ # method per request.
12006
+ # @param [String] project
12007
+ # Project ID for this request.
12008
+ # @param [String] zone
12009
+ # The name of the zone where the managed instance group is located.
12010
+ # @param [String] instance_group_manager
12011
+ # The name of the managed instance group.
12012
+ # @param [Google::Apis::ComputeBeta::InstanceGroupManagersSuspendInstancesRequest] instance_group_managers_suspend_instances_request_object
12013
+ # @param [String] request_id
12014
+ # An optional request ID to identify requests. Specify a unique request ID so
12015
+ # that if you must retry your request, the server will know to ignore the
12016
+ # request if it has already been completed. For example, consider a situation
12017
+ # where you make an initial request and the request times out. If you make the
12018
+ # request again with the same request ID, the server can check if original
12019
+ # operation with the same request ID was received, and if so, will ignore the
12020
+ # second request. This prevents clients from accidentally creating duplicate
12021
+ # commitments. The request ID must be a valid UUID with the exception that zero
12022
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
12023
+ # @param [String] fields
12024
+ # Selector specifying which fields to include in a partial response.
12025
+ # @param [String] quota_user
12026
+ # Available to use for quota purposes for server-side applications. Can be any
12027
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12028
+ # @param [String] user_ip
12029
+ # Legacy name for parameter that has been superseded by `quotaUser`.
12030
+ # @param [Google::Apis::RequestOptions] options
12031
+ # Request-specific options
12032
+ #
12033
+ # @yield [result, err] Result & error if block supplied
12034
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
12035
+ # @yieldparam err [StandardError] error object if request failed
12036
+ #
12037
+ # @return [Google::Apis::ComputeBeta::Operation]
12038
+ #
12039
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12040
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12041
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12042
+ def suspend_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12043
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances', options)
12044
+ command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersSuspendInstancesRequest::Representation
12045
+ command.request_object = instance_group_managers_suspend_instances_request_object
12046
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
12047
+ command.response_class = Google::Apis::ComputeBeta::Operation
12048
+ command.params['project'] = project unless project.nil?
12049
+ command.params['zone'] = zone unless zone.nil?
12050
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
12051
+ command.query['requestId'] = request_id unless request_id.nil?
12052
+ command.query['fields'] = fields unless fields.nil?
12053
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12054
+ command.query['userIp'] = user_ip unless user_ip.nil?
12055
+ execute_or_queue_command(command, &block)
12056
+ end
12057
+
11710
12058
  # Returns permissions that a caller has on the specified resource.
11711
12059
  # @param [String] project
11712
12060
  # Project ID for this request.
@@ -11982,6 +12330,7 @@ module Google
11982
12330
  # @param [Boolean] return_partial_success
11983
12331
  # Opt-in for partial success behavior which provides partial results in case of
11984
12332
  # failure. The default value is false.
12333
+ # @param [Fixnum] service_project_number
11985
12334
  # @param [String] fields
11986
12335
  # Selector specifying which fields to include in a partial response.
11987
12336
  # @param [String] quota_user
@@ -12001,7 +12350,7 @@ module Google
12001
12350
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12002
12351
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12003
12352
  # @raise [Google::Apis::AuthorizationError] Authorization is required
12004
- def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: 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)
12353
+ def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12005
12354
  command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options)
12006
12355
  command.response_representation = Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Representation
12007
12356
  command.response_class = Google::Apis::ComputeBeta::InstanceGroupAggregatedList
@@ -12012,6 +12361,7 @@ module Google
12012
12361
  command.query['orderBy'] = order_by unless order_by.nil?
12013
12362
  command.query['pageToken'] = page_token unless page_token.nil?
12014
12363
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
12364
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
12015
12365
  command.query['fields'] = fields unless fields.nil?
12016
12366
  command.query['quotaUser'] = quota_user unless quota_user.nil?
12017
12367
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -12659,6 +13009,7 @@ module Google
12659
13009
  # @param [Boolean] return_partial_success
12660
13010
  # Opt-in for partial success behavior which provides partial results in case of
12661
13011
  # failure. The default value is false.
13012
+ # @param [Fixnum] service_project_number
12662
13013
  # @param [String] fields
12663
13014
  # Selector specifying which fields to include in a partial response.
12664
13015
  # @param [String] quota_user
@@ -12678,7 +13029,7 @@ module Google
12678
13029
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12679
13030
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12680
13031
  # @raise [Google::Apis::AuthorizationError] Authorization is required
12681
- def aggregated_instance_template_list(project, filter: nil, include_all_scopes: 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)
13032
+ def aggregated_instance_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12682
13033
  command = make_simple_command(:get, 'projects/{project}/aggregated/instanceTemplates', options)
12683
13034
  command.response_representation = Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Representation
12684
13035
  command.response_class = Google::Apis::ComputeBeta::InstanceTemplateAggregatedList
@@ -12689,6 +13040,7 @@ module Google
12689
13040
  command.query['orderBy'] = order_by unless order_by.nil?
12690
13041
  command.query['pageToken'] = page_token unless page_token.nil?
12691
13042
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
13043
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
12692
13044
  command.query['fields'] = fields unless fields.nil?
12693
13045
  command.query['quotaUser'] = quota_user unless quota_user.nil?
12694
13046
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -13213,6 +13565,7 @@ module Google
13213
13565
  # @param [Boolean] return_partial_success
13214
13566
  # Opt-in for partial success behavior which provides partial results in case of
13215
13567
  # failure. The default value is false.
13568
+ # @param [Fixnum] service_project_number
13216
13569
  # @param [String] fields
13217
13570
  # Selector specifying which fields to include in a partial response.
13218
13571
  # @param [String] quota_user
@@ -13232,7 +13585,7 @@ module Google
13232
13585
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13233
13586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13234
13587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13235
- def list_aggregated_instances(project, filter: nil, include_all_scopes: 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)
13588
+ def list_aggregated_instances(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13236
13589
  command = make_simple_command(:get, 'projects/{project}/aggregated/instances', options)
13237
13590
  command.response_representation = Google::Apis::ComputeBeta::InstanceAggregatedList::Representation
13238
13591
  command.response_class = Google::Apis::ComputeBeta::InstanceAggregatedList
@@ -13243,6 +13596,7 @@ module Google
13243
13596
  command.query['orderBy'] = order_by unless order_by.nil?
13244
13597
  command.query['pageToken'] = page_token unless page_token.nil?
13245
13598
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
13599
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
13246
13600
  command.query['fields'] = fields unless fields.nil?
13247
13601
  command.query['quotaUser'] = quota_user unless quota_user.nil?
13248
13602
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -15845,6 +16199,7 @@ module Google
15845
16199
  # @param [Boolean] return_partial_success
15846
16200
  # Opt-in for partial success behavior which provides partial results in case of
15847
16201
  # failure. The default value is false.
16202
+ # @param [Fixnum] service_project_number
15848
16203
  # @param [String] fields
15849
16204
  # Selector specifying which fields to include in a partial response.
15850
16205
  # @param [String] quota_user
@@ -15864,7 +16219,7 @@ module Google
15864
16219
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15865
16220
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15866
16221
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15867
- def aggregated_instant_snapshot_list(project, filter: nil, include_all_scopes: 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)
16222
+ def aggregated_instant_snapshot_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15868
16223
  command = make_simple_command(:get, 'projects/{project}/aggregated/instantSnapshots', options)
15869
16224
  command.response_representation = Google::Apis::ComputeBeta::InstantSnapshotAggregatedList::Representation
15870
16225
  command.response_class = Google::Apis::ComputeBeta::InstantSnapshotAggregatedList
@@ -15875,6 +16230,7 @@ module Google
15875
16230
  command.query['orderBy'] = order_by unless order_by.nil?
15876
16231
  command.query['pageToken'] = page_token unless page_token.nil?
15877
16232
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16233
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
15878
16234
  command.query['fields'] = fields unless fields.nil?
15879
16235
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15880
16236
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16361,6 +16717,7 @@ module Google
16361
16717
  # @param [Boolean] return_partial_success
16362
16718
  # Opt-in for partial success behavior which provides partial results in case of
16363
16719
  # failure. The default value is false.
16720
+ # @param [Fixnum] service_project_number
16364
16721
  # @param [String] fields
16365
16722
  # Selector specifying which fields to include in a partial response.
16366
16723
  # @param [String] quota_user
@@ -16380,7 +16737,7 @@ module Google
16380
16737
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16381
16738
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16382
16739
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16383
- def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: 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)
16740
+ def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16384
16741
  command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', options)
16385
16742
  command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Representation
16386
16743
  command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList
@@ -16391,6 +16748,7 @@ module Google
16391
16748
  command.query['orderBy'] = order_by unless order_by.nil?
16392
16749
  command.query['pageToken'] = page_token unless page_token.nil?
16393
16750
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16751
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
16394
16752
  command.query['fields'] = fields unless fields.nil?
16395
16753
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16396
16754
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -18302,6 +18660,7 @@ module Google
18302
18660
  # @param [Boolean] return_partial_success
18303
18661
  # Opt-in for partial success behavior which provides partial results in case of
18304
18662
  # failure. The default value is false.
18663
+ # @param [Fixnum] service_project_number
18305
18664
  # @param [String] fields
18306
18665
  # Selector specifying which fields to include in a partial response.
18307
18666
  # @param [String] quota_user
@@ -18321,7 +18680,7 @@ module Google
18321
18680
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18322
18681
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18323
18682
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18324
- def list_aggregated_machine_types(project, filter: nil, include_all_scopes: 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)
18683
+ def list_aggregated_machine_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18325
18684
  command = make_simple_command(:get, 'projects/{project}/aggregated/machineTypes', options)
18326
18685
  command.response_representation = Google::Apis::ComputeBeta::MachineTypeAggregatedList::Representation
18327
18686
  command.response_class = Google::Apis::ComputeBeta::MachineTypeAggregatedList
@@ -18332,6 +18691,7 @@ module Google
18332
18691
  command.query['orderBy'] = order_by unless order_by.nil?
18333
18692
  command.query['pageToken'] = page_token unless page_token.nil?
18334
18693
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
18694
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
18335
18695
  command.query['fields'] = fields unless fields.nil?
18336
18696
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18337
18697
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -18531,6 +18891,7 @@ module Google
18531
18891
  # @param [Boolean] return_partial_success
18532
18892
  # Opt-in for partial success behavior which provides partial results in case of
18533
18893
  # failure. The default value is false.
18894
+ # @param [Fixnum] service_project_number
18534
18895
  # @param [String] fields
18535
18896
  # Selector specifying which fields to include in a partial response.
18536
18897
  # @param [String] quota_user
@@ -18550,7 +18911,7 @@ module Google
18550
18911
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18551
18912
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18552
18913
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18553
- def aggregated_network_attachment_list(project, filter: nil, include_all_scopes: 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)
18914
+ def aggregated_network_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18554
18915
  command = make_simple_command(:get, 'projects/{project}/aggregated/networkAttachments', options)
18555
18916
  command.response_representation = Google::Apis::ComputeBeta::NetworkAttachmentAggregatedList::Representation
18556
18917
  command.response_class = Google::Apis::ComputeBeta::NetworkAttachmentAggregatedList
@@ -18561,6 +18922,7 @@ module Google
18561
18922
  command.query['orderBy'] = order_by unless order_by.nil?
18562
18923
  command.query['pageToken'] = page_token unless page_token.nil?
18563
18924
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
18925
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
18564
18926
  command.query['fields'] = fields unless fields.nil?
18565
18927
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18566
18928
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -19047,6 +19409,7 @@ module Google
19047
19409
  # @param [Boolean] return_partial_success
19048
19410
  # Opt-in for partial success behavior which provides partial results in case of
19049
19411
  # failure. The default value is false.
19412
+ # @param [Fixnum] service_project_number
19050
19413
  # @param [String] fields
19051
19414
  # Selector specifying which fields to include in a partial response.
19052
19415
  # @param [String] quota_user
@@ -19066,7 +19429,7 @@ module Google
19066
19429
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19067
19430
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19068
19431
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19069
- def aggregated_network_edge_security_service_list(project, filter: nil, include_all_scopes: 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)
19432
+ def aggregated_network_edge_security_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19070
19433
  command = make_simple_command(:get, 'projects/{project}/aggregated/networkEdgeSecurityServices', options)
19071
19434
  command.response_representation = Google::Apis::ComputeBeta::NetworkEdgeSecurityServiceAggregatedList::Representation
19072
19435
  command.response_class = Google::Apis::ComputeBeta::NetworkEdgeSecurityServiceAggregatedList
@@ -19077,6 +19440,7 @@ module Google
19077
19440
  command.query['orderBy'] = order_by unless order_by.nil?
19078
19441
  command.query['pageToken'] = page_token unless page_token.nil?
19079
19442
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19443
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
19080
19444
  command.query['fields'] = fields unless fields.nil?
19081
19445
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19082
19446
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -19345,6 +19709,7 @@ module Google
19345
19709
  # @param [Boolean] return_partial_success
19346
19710
  # Opt-in for partial success behavior which provides partial results in case of
19347
19711
  # failure. The default value is false.
19712
+ # @param [Fixnum] service_project_number
19348
19713
  # @param [String] fields
19349
19714
  # Selector specifying which fields to include in a partial response.
19350
19715
  # @param [String] quota_user
@@ -19364,7 +19729,7 @@ module Google
19364
19729
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19365
19730
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19366
19731
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19367
- def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: 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)
19732
+ def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19368
19733
  command = make_simple_command(:get, 'projects/{project}/aggregated/networkEndpointGroups', options)
19369
19734
  command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation
19370
19735
  command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList
@@ -19375,6 +19740,7 @@ module Google
19375
19740
  command.query['orderBy'] = order_by unless order_by.nil?
19376
19741
  command.query['pageToken'] = page_token unless page_token.nil?
19377
19742
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19743
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
19378
19744
  command.query['fields'] = fields unless fields.nil?
19379
19745
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19380
19746
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -21419,6 +21785,7 @@ module Google
21419
21785
  # @param [Boolean] return_partial_success
21420
21786
  # Opt-in for partial success behavior which provides partial results in case of
21421
21787
  # failure. The default value is false.
21788
+ # @param [Fixnum] service_project_number
21422
21789
  # @param [String] fields
21423
21790
  # Selector specifying which fields to include in a partial response.
21424
21791
  # @param [String] quota_user
@@ -21438,7 +21805,7 @@ module Google
21438
21805
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21439
21806
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21440
21807
  # @raise [Google::Apis::AuthorizationError] Authorization is required
21441
- def aggregated_node_group_list(project, filter: nil, include_all_scopes: 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)
21808
+ def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21442
21809
  command = make_simple_command(:get, 'projects/{project}/aggregated/nodeGroups', options)
21443
21810
  command.response_representation = Google::Apis::ComputeBeta::NodeGroupAggregatedList::Representation
21444
21811
  command.response_class = Google::Apis::ComputeBeta::NodeGroupAggregatedList
@@ -21449,6 +21816,7 @@ module Google
21449
21816
  command.query['orderBy'] = order_by unless order_by.nil?
21450
21817
  command.query['pageToken'] = page_token unless page_token.nil?
21451
21818
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
21819
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
21452
21820
  command.query['fields'] = fields unless fields.nil?
21453
21821
  command.query['quotaUser'] = quota_user unless quota_user.nil?
21454
21822
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -21937,6 +22305,59 @@ module Google
21937
22305
  execute_or_queue_command(command, &block)
21938
22306
  end
21939
22307
 
22308
+ # Perform maintenance on a subset of nodes in the node group.
22309
+ # @param [String] project
22310
+ # Project ID for this request.
22311
+ # @param [String] zone
22312
+ # The name of the zone for this request.
22313
+ # @param [String] node_group
22314
+ # Name of the node group scoping this request.
22315
+ # @param [Google::Apis::ComputeBeta::NodeGroupsPerformMaintenanceRequest] node_groups_perform_maintenance_request_object
22316
+ # @param [String] request_id
22317
+ # An optional request ID to identify requests. Specify a unique request ID so
22318
+ # that if you must retry your request, the server will know to ignore the
22319
+ # request if it has already been completed. For example, consider a situation
22320
+ # where you make an initial request and the request times out. If you make the
22321
+ # request again with the same request ID, the server can check if original
22322
+ # operation with the same request ID was received, and if so, will ignore the
22323
+ # second request. This prevents clients from accidentally creating duplicate
22324
+ # commitments. The request ID must be a valid UUID with the exception that zero
22325
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
22326
+ # @param [String] fields
22327
+ # Selector specifying which fields to include in a partial response.
22328
+ # @param [String] quota_user
22329
+ # Available to use for quota purposes for server-side applications. Can be any
22330
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22331
+ # @param [String] user_ip
22332
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22333
+ # @param [Google::Apis::RequestOptions] options
22334
+ # Request-specific options
22335
+ #
22336
+ # @yield [result, err] Result & error if block supplied
22337
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
22338
+ # @yieldparam err [StandardError] error object if request failed
22339
+ #
22340
+ # @return [Google::Apis::ComputeBeta::Operation]
22341
+ #
22342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22345
+ def perform_node_group_maintenance(project, zone, node_group, node_groups_perform_maintenance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22346
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance', options)
22347
+ command.request_representation = Google::Apis::ComputeBeta::NodeGroupsPerformMaintenanceRequest::Representation
22348
+ command.request_object = node_groups_perform_maintenance_request_object
22349
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
22350
+ command.response_class = Google::Apis::ComputeBeta::Operation
22351
+ command.params['project'] = project unless project.nil?
22352
+ command.params['zone'] = zone unless zone.nil?
22353
+ command.params['nodeGroup'] = node_group unless node_group.nil?
22354
+ command.query['requestId'] = request_id unless request_id.nil?
22355
+ command.query['fields'] = fields unless fields.nil?
22356
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22357
+ command.query['userIp'] = user_ip unless user_ip.nil?
22358
+ execute_or_queue_command(command, &block)
22359
+ end
22360
+
21940
22361
  # Sets the access control policy on the specified resource. Replaces any
21941
22362
  # existing policy.
21942
22363
  # @param [String] project
@@ -22190,6 +22611,7 @@ module Google
22190
22611
  # @param [Boolean] return_partial_success
22191
22612
  # Opt-in for partial success behavior which provides partial results in case of
22192
22613
  # failure. The default value is false.
22614
+ # @param [Fixnum] service_project_number
22193
22615
  # @param [String] fields
22194
22616
  # Selector specifying which fields to include in a partial response.
22195
22617
  # @param [String] quota_user
@@ -22209,7 +22631,7 @@ module Google
22209
22631
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22210
22632
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22211
22633
  # @raise [Google::Apis::AuthorizationError] Authorization is required
22212
- def aggregated_node_template_list(project, filter: nil, include_all_scopes: 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)
22634
+ def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22213
22635
  command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTemplates', options)
22214
22636
  command.response_representation = Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Representation
22215
22637
  command.response_class = Google::Apis::ComputeBeta::NodeTemplateAggregatedList
@@ -22220,6 +22642,7 @@ module Google
22220
22642
  command.query['orderBy'] = order_by unless order_by.nil?
22221
22643
  command.query['pageToken'] = page_token unless page_token.nil?
22222
22644
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
22645
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
22223
22646
  command.query['fields'] = fields unless fields.nil?
22224
22647
  command.query['quotaUser'] = quota_user unless quota_user.nil?
22225
22648
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -22647,6 +23070,7 @@ module Google
22647
23070
  # @param [Boolean] return_partial_success
22648
23071
  # Opt-in for partial success behavior which provides partial results in case of
22649
23072
  # failure. The default value is false.
23073
+ # @param [Fixnum] service_project_number
22650
23074
  # @param [String] fields
22651
23075
  # Selector specifying which fields to include in a partial response.
22652
23076
  # @param [String] quota_user
@@ -22666,7 +23090,7 @@ module Google
22666
23090
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22667
23091
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22668
23092
  # @raise [Google::Apis::AuthorizationError] Authorization is required
22669
- def aggregated_node_type_list(project, filter: nil, include_all_scopes: 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)
23093
+ def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22670
23094
  command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTypes', options)
22671
23095
  command.response_representation = Google::Apis::ComputeBeta::NodeTypeAggregatedList::Representation
22672
23096
  command.response_class = Google::Apis::ComputeBeta::NodeTypeAggregatedList
@@ -22677,6 +23101,7 @@ module Google
22677
23101
  command.query['orderBy'] = order_by unless order_by.nil?
22678
23102
  command.query['pageToken'] = page_token unless page_token.nil?
22679
23103
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
23104
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
22680
23105
  command.query['fields'] = fields unless fields.nil?
22681
23106
  command.query['quotaUser'] = quota_user unless quota_user.nil?
22682
23107
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -23580,6 +24005,7 @@ module Google
23580
24005
  # @param [Boolean] return_partial_success
23581
24006
  # Opt-in for partial success behavior which provides partial results in case of
23582
24007
  # failure. The default value is false.
24008
+ # @param [Fixnum] service_project_number
23583
24009
  # @param [String] fields
23584
24010
  # Selector specifying which fields to include in a partial response.
23585
24011
  # @param [String] quota_user
@@ -23599,7 +24025,7 @@ module Google
23599
24025
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23600
24026
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23601
24027
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23602
- def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: 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)
24028
+ def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23603
24029
  command = make_simple_command(:get, 'projects/{project}/aggregated/packetMirrorings', options)
23604
24030
  command.response_representation = Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Representation
23605
24031
  command.response_class = Google::Apis::ComputeBeta::PacketMirroringAggregatedList
@@ -23610,6 +24036,7 @@ module Google
23610
24036
  command.query['orderBy'] = order_by unless order_by.nil?
23611
24037
  command.query['pageToken'] = page_token unless page_token.nil?
23612
24038
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
24039
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
23613
24040
  command.query['fields'] = fields unless fields.nil?
23614
24041
  command.query['quotaUser'] = quota_user unless quota_user.nil?
23615
24042
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -25015,6 +25442,7 @@ module Google
25015
25442
  # @param [Boolean] return_partial_success
25016
25443
  # Opt-in for partial success behavior which provides partial results in case of
25017
25444
  # failure. The default value is false.
25445
+ # @param [Fixnum] service_project_number
25018
25446
  # @param [String] fields
25019
25447
  # Selector specifying which fields to include in a partial response.
25020
25448
  # @param [String] quota_user
@@ -25034,7 +25462,7 @@ module Google
25034
25462
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25035
25463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25036
25464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
25037
- def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: 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)
25465
+ def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25038
25466
  command = make_simple_command(:get, 'projects/{project}/aggregated/publicDelegatedPrefixes', options)
25039
25467
  command.response_representation = Google::Apis::ComputeBeta::PublicDelegatedPrefixAggregatedList::Representation
25040
25468
  command.response_class = Google::Apis::ComputeBeta::PublicDelegatedPrefixAggregatedList
@@ -25045,6 +25473,7 @@ module Google
25045
25473
  command.query['orderBy'] = order_by unless order_by.nil?
25046
25474
  command.query['pageToken'] = page_token unless page_token.nil?
25047
25475
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
25476
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
25048
25477
  command.query['fields'] = fields unless fields.nil?
25049
25478
  command.query['quotaUser'] = quota_user unless quota_user.nil?
25050
25479
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -26444,6 +26873,7 @@ module Google
26444
26873
  # @param [Boolean] return_partial_success
26445
26874
  # Opt-in for partial success behavior which provides partial results in case of
26446
26875
  # failure. The default value is false.
26876
+ # @param [Fixnum] service_project_number
26447
26877
  # @param [String] fields
26448
26878
  # Selector specifying which fields to include in a partial response.
26449
26879
  # @param [String] quota_user
@@ -26463,7 +26893,7 @@ module Google
26463
26893
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26464
26894
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26465
26895
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26466
- def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: 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)
26896
+ def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26467
26897
  command = make_simple_command(:get, 'projects/{project}/aggregated/commitments', options)
26468
26898
  command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation
26469
26899
  command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList
@@ -26474,6 +26904,7 @@ module Google
26474
26904
  command.query['orderBy'] = order_by unless order_by.nil?
26475
26905
  command.query['pageToken'] = page_token unless page_token.nil?
26476
26906
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
26907
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
26477
26908
  command.query['fields'] = fields unless fields.nil?
26478
26909
  command.query['quotaUser'] = quota_user unless quota_user.nil?
26479
26910
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -29672,6 +30103,70 @@ module Google
29672
30103
  execute_or_queue_command(command, &block)
29673
30104
  end
29674
30105
 
30106
+ # Flags the specified instances in the managed instance group to be resumed.
30107
+ # This method increases the targetSize and decreases the targetSuspendedSize of
30108
+ # the managed instance group by the number of instances that you resume. The
30109
+ # resumeInstances operation is marked DONE if the resumeInstances request is
30110
+ # successful. The underlying actions take additional time. You must separately
30111
+ # verify the status of the RESUMING action with the listmanagedinstances method.
30112
+ # In this request, you can only specify instances that are suspended. For
30113
+ # example, if an instance was previously suspended using the suspendInstances
30114
+ # method, it can be resumed using the resumeInstances method. If a health check
30115
+ # is attached to the managed instance group, the specified instances will be
30116
+ # verified as healthy after they are resumed. You can specify a maximum of 1000
30117
+ # instances with this method per request.
30118
+ # @param [String] project
30119
+ # Project ID for this request.
30120
+ # @param [String] region
30121
+ # Name of the region scoping this request.
30122
+ # @param [String] instance_group_manager
30123
+ # Name of the managed instance group.
30124
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersResumeInstancesRequest] region_instance_group_managers_resume_instances_request_object
30125
+ # @param [String] request_id
30126
+ # An optional request ID to identify requests. Specify a unique request ID so
30127
+ # that if you must retry your request, the server will know to ignore the
30128
+ # request if it has already been completed. For example, consider a situation
30129
+ # where you make an initial request and the request times out. If you make the
30130
+ # request again with the same request ID, the server can check if original
30131
+ # operation with the same request ID was received, and if so, will ignore the
30132
+ # second request. This prevents clients from accidentally creating duplicate
30133
+ # commitments. The request ID must be a valid UUID with the exception that zero
30134
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
30135
+ # @param [String] fields
30136
+ # Selector specifying which fields to include in a partial response.
30137
+ # @param [String] quota_user
30138
+ # Available to use for quota purposes for server-side applications. Can be any
30139
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30140
+ # @param [String] user_ip
30141
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30142
+ # @param [Google::Apis::RequestOptions] options
30143
+ # Request-specific options
30144
+ #
30145
+ # @yield [result, err] Result & error if block supplied
30146
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
30147
+ # @yieldparam err [StandardError] error object if request failed
30148
+ #
30149
+ # @return [Google::Apis::ComputeBeta::Operation]
30150
+ #
30151
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30152
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30153
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30154
+ def resume_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_resume_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30155
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances', options)
30156
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersResumeInstancesRequest::Representation
30157
+ command.request_object = region_instance_group_managers_resume_instances_request_object
30158
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
30159
+ command.response_class = Google::Apis::ComputeBeta::Operation
30160
+ command.params['project'] = project unless project.nil?
30161
+ command.params['region'] = region unless region.nil?
30162
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
30163
+ command.query['requestId'] = request_id unless request_id.nil?
30164
+ command.query['fields'] = fields unless fields.nil?
30165
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30166
+ command.query['userIp'] = user_ip unless user_ip.nil?
30167
+ execute_or_queue_command(command, &block)
30168
+ end
30169
+
29675
30170
  # Modifies the autohealing policy for the instances in this managed instance
29676
30171
  # group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.
29677
30172
  # patch instead.
@@ -29835,6 +30330,210 @@ module Google
29835
30330
  execute_or_queue_command(command, &block)
29836
30331
  end
29837
30332
 
30333
+ # Flags the specified instances in the managed instance group to be started.
30334
+ # This method increases the targetSize and decreases the targetStoppedSize of
30335
+ # the managed instance group by the number of instances that you start. The
30336
+ # startInstances operation is marked DONE if the startInstances request is
30337
+ # successful. The underlying actions take additional time. You must separately
30338
+ # verify the status of the STARTING action with the listmanagedinstances method.
30339
+ # In this request, you can only specify instances that are stopped. For example,
30340
+ # if an instance was previously stopped using the stopInstances method, it can
30341
+ # be started using the startInstances method. If a health check is attached to
30342
+ # the managed instance group, the specified instances will be verified as
30343
+ # healthy after they are started. You can specify a maximum of 1000 instances
30344
+ # with this method per request.
30345
+ # @param [String] project
30346
+ # Project ID for this request.
30347
+ # @param [String] region
30348
+ # Name of the region scoping this request.
30349
+ # @param [String] instance_group_manager
30350
+ # Name of the managed instance group.
30351
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersStartInstancesRequest] region_instance_group_managers_start_instances_request_object
30352
+ # @param [String] request_id
30353
+ # An optional request ID to identify requests. Specify a unique request ID so
30354
+ # that if you must retry your request, the server will know to ignore the
30355
+ # request if it has already been completed. For example, consider a situation
30356
+ # where you make an initial request and the request times out. If you make the
30357
+ # request again with the same request ID, the server can check if original
30358
+ # operation with the same request ID was received, and if so, will ignore the
30359
+ # second request. This prevents clients from accidentally creating duplicate
30360
+ # commitments. The request ID must be a valid UUID with the exception that zero
30361
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
30362
+ # @param [String] fields
30363
+ # Selector specifying which fields to include in a partial response.
30364
+ # @param [String] quota_user
30365
+ # Available to use for quota purposes for server-side applications. Can be any
30366
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30367
+ # @param [String] user_ip
30368
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30369
+ # @param [Google::Apis::RequestOptions] options
30370
+ # Request-specific options
30371
+ #
30372
+ # @yield [result, err] Result & error if block supplied
30373
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
30374
+ # @yieldparam err [StandardError] error object if request failed
30375
+ #
30376
+ # @return [Google::Apis::ComputeBeta::Operation]
30377
+ #
30378
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30379
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30380
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30381
+ def start_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_start_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30382
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances', options)
30383
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersStartInstancesRequest::Representation
30384
+ command.request_object = region_instance_group_managers_start_instances_request_object
30385
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
30386
+ command.response_class = Google::Apis::ComputeBeta::Operation
30387
+ command.params['project'] = project unless project.nil?
30388
+ command.params['region'] = region unless region.nil?
30389
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
30390
+ command.query['requestId'] = request_id unless request_id.nil?
30391
+ command.query['fields'] = fields unless fields.nil?
30392
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30393
+ command.query['userIp'] = user_ip unless user_ip.nil?
30394
+ execute_or_queue_command(command, &block)
30395
+ end
30396
+
30397
+ # Flags the specified instances in the managed instance group to be immediately
30398
+ # stopped. You can only specify instances that are running in this request. This
30399
+ # method reduces the targetSize and increases the targetStoppedSize of the
30400
+ # managed instance group by the number of instances that you stop. The
30401
+ # stopInstances operation is marked DONE if the stopInstances request is
30402
+ # successful. The underlying actions take additional time. You must separately
30403
+ # verify the status of the STOPPING action with the listmanagedinstances method.
30404
+ # If the standbyPolicy.initialDelaySec field is set, the group delays stopping
30405
+ # the instances until initialDelaySec have passed from instance.
30406
+ # creationTimestamp (that is, when the instance was created). This delay gives
30407
+ # your application time to set itself up and initialize on the instance. If more
30408
+ # than initialDelaySec seconds have passed since instance.creationTimestamp when
30409
+ # this method is called, there will be zero delay. If the group is part of a
30410
+ # backend service that has enabled connection draining, it can take up to 60
30411
+ # seconds after the connection draining duration has elapsed before the VM
30412
+ # instance is stopped. Stopped instances can be started using the startInstances
30413
+ # method. You can specify a maximum of 1000 instances with this method per
30414
+ # request.
30415
+ # @param [String] project
30416
+ # Project ID for this request.
30417
+ # @param [String] region
30418
+ # Name of the region scoping this request.
30419
+ # @param [String] instance_group_manager
30420
+ # The name of the managed instance group.
30421
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersStopInstancesRequest] region_instance_group_managers_stop_instances_request_object
30422
+ # @param [String] request_id
30423
+ # An optional request ID to identify requests. Specify a unique request ID so
30424
+ # that if you must retry your request, the server will know to ignore the
30425
+ # request if it has already been completed. For example, consider a situation
30426
+ # where you make an initial request and the request times out. If you make the
30427
+ # request again with the same request ID, the server can check if original
30428
+ # operation with the same request ID was received, and if so, will ignore the
30429
+ # second request. This prevents clients from accidentally creating duplicate
30430
+ # commitments. The request ID must be a valid UUID with the exception that zero
30431
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
30432
+ # @param [String] fields
30433
+ # Selector specifying which fields to include in a partial response.
30434
+ # @param [String] quota_user
30435
+ # Available to use for quota purposes for server-side applications. Can be any
30436
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30437
+ # @param [String] user_ip
30438
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30439
+ # @param [Google::Apis::RequestOptions] options
30440
+ # Request-specific options
30441
+ #
30442
+ # @yield [result, err] Result & error if block supplied
30443
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
30444
+ # @yieldparam err [StandardError] error object if request failed
30445
+ #
30446
+ # @return [Google::Apis::ComputeBeta::Operation]
30447
+ #
30448
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30449
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30450
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30451
+ def stop_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_stop_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30452
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances', options)
30453
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersStopInstancesRequest::Representation
30454
+ command.request_object = region_instance_group_managers_stop_instances_request_object
30455
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
30456
+ command.response_class = Google::Apis::ComputeBeta::Operation
30457
+ command.params['project'] = project unless project.nil?
30458
+ command.params['region'] = region unless region.nil?
30459
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
30460
+ command.query['requestId'] = request_id unless request_id.nil?
30461
+ command.query['fields'] = fields unless fields.nil?
30462
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30463
+ command.query['userIp'] = user_ip unless user_ip.nil?
30464
+ execute_or_queue_command(command, &block)
30465
+ end
30466
+
30467
+ # Flags the specified instances in the managed instance group to be immediately
30468
+ # suspended. You can only specify instances that are running in this request.
30469
+ # This method reduces the targetSize and increases the targetSuspendedSize of
30470
+ # the managed instance group by the number of instances that you suspend. The
30471
+ # suspendInstances operation is marked DONE if the suspendInstances request is
30472
+ # successful. The underlying actions take additional time. You must separately
30473
+ # verify the status of the SUSPENDING action with the listmanagedinstances
30474
+ # method. If the standbyPolicy.initialDelaySec field is set, the group delays
30475
+ # suspension of the instances until initialDelaySec have passed from instance.
30476
+ # creationTimestamp (that is, when the instance was created). This delay gives
30477
+ # your application time to set itself up and initialize on the instance. If more
30478
+ # than initialDelaySec seconds have passed since instance.creationTimestamp when
30479
+ # this method is called, there will be zero delay. If the group is part of a
30480
+ # backend service that has enabled connection draining, it can take up to 60
30481
+ # seconds after the connection draining duration has elapsed before the VM
30482
+ # instance is suspended. Suspended instances can be resumed using the
30483
+ # resumeInstances method. You can specify a maximum of 1000 instances with this
30484
+ # method per request.
30485
+ # @param [String] project
30486
+ # Project ID for this request.
30487
+ # @param [String] region
30488
+ # Name of the region scoping this request.
30489
+ # @param [String] instance_group_manager
30490
+ # Name of the managed instance group.
30491
+ # @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSuspendInstancesRequest] region_instance_group_managers_suspend_instances_request_object
30492
+ # @param [String] request_id
30493
+ # An optional request ID to identify requests. Specify a unique request ID so
30494
+ # that if you must retry your request, the server will know to ignore the
30495
+ # request if it has already been completed. For example, consider a situation
30496
+ # where you make an initial request and the request times out. If you make the
30497
+ # request again with the same request ID, the server can check if original
30498
+ # operation with the same request ID was received, and if so, will ignore the
30499
+ # second request. This prevents clients from accidentally creating duplicate
30500
+ # commitments. The request ID must be a valid UUID with the exception that zero
30501
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
30502
+ # @param [String] fields
30503
+ # Selector specifying which fields to include in a partial response.
30504
+ # @param [String] quota_user
30505
+ # Available to use for quota purposes for server-side applications. Can be any
30506
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30507
+ # @param [String] user_ip
30508
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30509
+ # @param [Google::Apis::RequestOptions] options
30510
+ # Request-specific options
30511
+ #
30512
+ # @yield [result, err] Result & error if block supplied
30513
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
30514
+ # @yieldparam err [StandardError] error object if request failed
30515
+ #
30516
+ # @return [Google::Apis::ComputeBeta::Operation]
30517
+ #
30518
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30519
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30520
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30521
+ def suspend_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_suspend_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30522
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances', options)
30523
+ command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSuspendInstancesRequest::Representation
30524
+ command.request_object = region_instance_group_managers_suspend_instances_request_object
30525
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
30526
+ command.response_class = Google::Apis::ComputeBeta::Operation
30527
+ command.params['project'] = project unless project.nil?
30528
+ command.params['region'] = region unless region.nil?
30529
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
30530
+ command.query['requestId'] = request_id unless request_id.nil?
30531
+ command.query['fields'] = fields unless fields.nil?
30532
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30533
+ command.query['userIp'] = user_ip unless user_ip.nil?
30534
+ execute_or_queue_command(command, &block)
30535
+ end
30536
+
29838
30537
  # Returns permissions that a caller has on the specified resource.
29839
30538
  # @param [String] project
29840
30539
  # Project ID for this request.
@@ -35781,6 +36480,7 @@ module Google
35781
36480
  # @param [Boolean] return_partial_success
35782
36481
  # Opt-in for partial success behavior which provides partial results in case of
35783
36482
  # failure. The default value is false.
36483
+ # @param [Fixnum] service_project_number
35784
36484
  # @param [String] fields
35785
36485
  # Selector specifying which fields to include in a partial response.
35786
36486
  # @param [String] quota_user
@@ -35800,7 +36500,7 @@ module Google
35800
36500
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35801
36501
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35802
36502
  # @raise [Google::Apis::AuthorizationError] Authorization is required
35803
- def aggregated_reservation_list(project, filter: nil, include_all_scopes: 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)
36503
+ def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35804
36504
  command = make_simple_command(:get, 'projects/{project}/aggregated/reservations', options)
35805
36505
  command.response_representation = Google::Apis::ComputeBeta::ReservationAggregatedList::Representation
35806
36506
  command.response_class = Google::Apis::ComputeBeta::ReservationAggregatedList
@@ -35811,6 +36511,7 @@ module Google
35811
36511
  command.query['orderBy'] = order_by unless order_by.nil?
35812
36512
  command.query['pageToken'] = page_token unless page_token.nil?
35813
36513
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
36514
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
35814
36515
  command.query['fields'] = fields unless fields.nil?
35815
36516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
35816
36517
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -36351,6 +37052,7 @@ module Google
36351
37052
  # @param [Boolean] return_partial_success
36352
37053
  # Opt-in for partial success behavior which provides partial results in case of
36353
37054
  # failure. The default value is false.
37055
+ # @param [Fixnum] service_project_number
36354
37056
  # @param [String] fields
36355
37057
  # Selector specifying which fields to include in a partial response.
36356
37058
  # @param [String] quota_user
@@ -36370,7 +37072,7 @@ module Google
36370
37072
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36371
37073
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36372
37074
  # @raise [Google::Apis::AuthorizationError] Authorization is required
36373
- def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: 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)
37075
+ def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36374
37076
  command = make_simple_command(:get, 'projects/{project}/aggregated/resourcePolicies', options)
36375
37077
  command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Representation
36376
37078
  command.response_class = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList
@@ -36381,6 +37083,7 @@ module Google
36381
37083
  command.query['orderBy'] = order_by unless order_by.nil?
36382
37084
  command.query['pageToken'] = page_token unless page_token.nil?
36383
37085
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
37086
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
36384
37087
  command.query['fields'] = fields unless fields.nil?
36385
37088
  command.query['quotaUser'] = quota_user unless quota_user.nil?
36386
37089
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -36864,6 +37567,7 @@ module Google
36864
37567
  # @param [Boolean] return_partial_success
36865
37568
  # Opt-in for partial success behavior which provides partial results in case of
36866
37569
  # failure. The default value is false.
37570
+ # @param [Fixnum] service_project_number
36867
37571
  # @param [String] fields
36868
37572
  # Selector specifying which fields to include in a partial response.
36869
37573
  # @param [String] quota_user
@@ -36883,7 +37587,7 @@ module Google
36883
37587
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36884
37588
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36885
37589
  # @raise [Google::Apis::AuthorizationError] Authorization is required
36886
- def list_aggregated_routers(project, filter: nil, include_all_scopes: 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)
37590
+ def list_aggregated_routers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36887
37591
  command = make_simple_command(:get, 'projects/{project}/aggregated/routers', options)
36888
37592
  command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation
36889
37593
  command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList
@@ -36894,6 +37598,7 @@ module Google
36894
37598
  command.query['orderBy'] = order_by unless order_by.nil?
36895
37599
  command.query['pageToken'] = page_token unless page_token.nil?
36896
37600
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
37601
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
36897
37602
  command.query['fields'] = fields unless fields.nil?
36898
37603
  command.query['quotaUser'] = quota_user unless quota_user.nil?
36899
37604
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -37875,6 +38580,7 @@ module Google
37875
38580
  # @param [Boolean] return_partial_success
37876
38581
  # Opt-in for partial success behavior which provides partial results in case of
37877
38582
  # failure. The default value is false.
38583
+ # @param [Fixnum] service_project_number
37878
38584
  # @param [String] fields
37879
38585
  # Selector specifying which fields to include in a partial response.
37880
38586
  # @param [String] quota_user
@@ -37894,7 +38600,7 @@ module Google
37894
38600
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
37895
38601
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
37896
38602
  # @raise [Google::Apis::AuthorizationError] Authorization is required
37897
- def aggregated_security_policy_list(project, filter: nil, include_all_scopes: 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)
38603
+ def aggregated_security_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37898
38604
  command = make_simple_command(:get, 'projects/{project}/aggregated/securityPolicies', options)
37899
38605
  command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesAggregatedList::Representation
37900
38606
  command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesAggregatedList
@@ -37905,6 +38611,7 @@ module Google
37905
38611
  command.query['orderBy'] = order_by unless order_by.nil?
37906
38612
  command.query['pageToken'] = page_token unless page_token.nil?
37907
38613
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
38614
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
37908
38615
  command.query['fields'] = fields unless fields.nil?
37909
38616
  command.query['quotaUser'] = quota_user unless quota_user.nil?
37910
38617
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -38548,6 +39255,7 @@ module Google
38548
39255
  # @param [Boolean] return_partial_success
38549
39256
  # Opt-in for partial success behavior which provides partial results in case of
38550
39257
  # failure. The default value is false.
39258
+ # @param [Fixnum] service_project_number
38551
39259
  # @param [String] fields
38552
39260
  # Selector specifying which fields to include in a partial response.
38553
39261
  # @param [String] quota_user
@@ -38567,7 +39275,7 @@ module Google
38567
39275
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38568
39276
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38569
39277
  # @raise [Google::Apis::AuthorizationError] Authorization is required
38570
- def aggregated_service_attachment_list(project, filter: nil, include_all_scopes: 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)
39278
+ def aggregated_service_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38571
39279
  command = make_simple_command(:get, 'projects/{project}/aggregated/serviceAttachments', options)
38572
39280
  command.response_representation = Google::Apis::ComputeBeta::ServiceAttachmentAggregatedList::Representation
38573
39281
  command.response_class = Google::Apis::ComputeBeta::ServiceAttachmentAggregatedList
@@ -38578,6 +39286,7 @@ module Google
38578
39286
  command.query['orderBy'] = order_by unless order_by.nil?
38579
39287
  command.query['pageToken'] = page_token unless page_token.nil?
38580
39288
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
39289
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
38581
39290
  command.query['fields'] = fields unless fields.nil?
38582
39291
  command.query['quotaUser'] = quota_user unless quota_user.nil?
38583
39292
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -39531,6 +40240,7 @@ module Google
39531
40240
  # @param [Boolean] return_partial_success
39532
40241
  # Opt-in for partial success behavior which provides partial results in case of
39533
40242
  # failure. The default value is false.
40243
+ # @param [Fixnum] service_project_number
39534
40244
  # @param [String] fields
39535
40245
  # Selector specifying which fields to include in a partial response.
39536
40246
  # @param [String] quota_user
@@ -39550,7 +40260,7 @@ module Google
39550
40260
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39551
40261
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39552
40262
  # @raise [Google::Apis::AuthorizationError] Authorization is required
39553
- def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: 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)
40263
+ def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39554
40264
  command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', options)
39555
40265
  command.response_representation = Google::Apis::ComputeBeta::SslCertificateAggregatedList::Representation
39556
40266
  command.response_class = Google::Apis::ComputeBeta::SslCertificateAggregatedList
@@ -39561,6 +40271,7 @@ module Google
39561
40271
  command.query['orderBy'] = order_by unless order_by.nil?
39562
40272
  command.query['pageToken'] = page_token unless page_token.nil?
39563
40273
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
40274
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
39564
40275
  command.query['fields'] = fields unless fields.nil?
39565
40276
  command.query['quotaUser'] = quota_user unless quota_user.nil?
39566
40277
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -39889,6 +40600,7 @@ module Google
39889
40600
  # @param [Boolean] return_partial_success
39890
40601
  # Opt-in for partial success behavior which provides partial results in case of
39891
40602
  # failure. The default value is false.
40603
+ # @param [Fixnum] service_project_number
39892
40604
  # @param [String] fields
39893
40605
  # Selector specifying which fields to include in a partial response.
39894
40606
  # @param [String] quota_user
@@ -39908,7 +40620,7 @@ module Google
39908
40620
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39909
40621
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39910
40622
  # @raise [Google::Apis::AuthorizationError] Authorization is required
39911
- def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: 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)
40623
+ def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39912
40624
  command = make_simple_command(:get, 'projects/{project}/aggregated/sslPolicies', options)
39913
40625
  command.response_representation = Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Representation
39914
40626
  command.response_class = Google::Apis::ComputeBeta::SslPoliciesAggregatedList
@@ -39919,6 +40631,7 @@ module Google
39919
40631
  command.query['orderBy'] = order_by unless order_by.nil?
39920
40632
  command.query['pageToken'] = page_token unless page_token.nil?
39921
40633
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
40634
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
39922
40635
  command.query['fields'] = fields unless fields.nil?
39923
40636
  command.query['quotaUser'] = quota_user unless quota_user.nil?
39924
40637
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -40388,6 +41101,7 @@ module Google
40388
41101
  # @param [Boolean] return_partial_success
40389
41102
  # Opt-in for partial success behavior which provides partial results in case of
40390
41103
  # failure. The default value is false.
41104
+ # @param [Fixnum] service_project_number
40391
41105
  # @param [String] fields
40392
41106
  # Selector specifying which fields to include in a partial response.
40393
41107
  # @param [String] quota_user
@@ -40407,7 +41121,7 @@ module Google
40407
41121
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
40408
41122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
40409
41123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
40410
- def list_aggregated_subnetworks(project, filter: nil, include_all_scopes: 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)
41124
+ def list_aggregated_subnetworks(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40411
41125
  command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks', options)
40412
41126
  command.response_representation = Google::Apis::ComputeBeta::SubnetworkAggregatedList::Representation
40413
41127
  command.response_class = Google::Apis::ComputeBeta::SubnetworkAggregatedList
@@ -40418,6 +41132,7 @@ module Google
40418
41132
  command.query['orderBy'] = order_by unless order_by.nil?
40419
41133
  command.query['pageToken'] = page_token unless page_token.nil?
40420
41134
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
41135
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
40421
41136
  command.query['fields'] = fields unless fields.nil?
40422
41137
  command.query['quotaUser'] = quota_user unless quota_user.nil?
40423
41138
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -41423,6 +42138,7 @@ module Google
41423
42138
  # @param [Boolean] return_partial_success
41424
42139
  # Opt-in for partial success behavior which provides partial results in case of
41425
42140
  # failure. The default value is false.
42141
+ # @param [Fixnum] service_project_number
41426
42142
  # @param [String] fields
41427
42143
  # Selector specifying which fields to include in a partial response.
41428
42144
  # @param [String] quota_user
@@ -41442,7 +42158,7 @@ module Google
41442
42158
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41443
42159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41444
42160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
41445
- def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: 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)
42161
+ def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41446
42162
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpProxies', options)
41447
42163
  command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Representation
41448
42164
  command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList
@@ -41453,6 +42169,7 @@ module Google
41453
42169
  command.query['orderBy'] = order_by unless order_by.nil?
41454
42170
  command.query['pageToken'] = page_token unless page_token.nil?
41455
42171
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
42172
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
41456
42173
  command.query['fields'] = fields unless fields.nil?
41457
42174
  command.query['quotaUser'] = quota_user unless quota_user.nil?
41458
42175
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -41883,6 +42600,7 @@ module Google
41883
42600
  # @param [Boolean] return_partial_success
41884
42601
  # Opt-in for partial success behavior which provides partial results in case of
41885
42602
  # failure. The default value is false.
42603
+ # @param [Fixnum] service_project_number
41886
42604
  # @param [String] fields
41887
42605
  # Selector specifying which fields to include in a partial response.
41888
42606
  # @param [String] quota_user
@@ -41902,7 +42620,7 @@ module Google
41902
42620
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41903
42621
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41904
42622
  # @raise [Google::Apis::AuthorizationError] Authorization is required
41905
- def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: 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)
42623
+ def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41906
42624
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpsProxies', options)
41907
42625
  command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Representation
41908
42626
  command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList
@@ -41913,6 +42631,7 @@ module Google
41913
42631
  command.query['orderBy'] = order_by unless order_by.nil?
41914
42632
  command.query['pageToken'] = page_token unless page_token.nil?
41915
42633
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
42634
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
41916
42635
  command.query['fields'] = fields unless fields.nil?
41917
42636
  command.query['quotaUser'] = quota_user unless quota_user.nil?
41918
42637
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -42548,6 +43267,7 @@ module Google
42548
43267
  # @param [Boolean] return_partial_success
42549
43268
  # Opt-in for partial success behavior which provides partial results in case of
42550
43269
  # failure. The default value is false.
43270
+ # @param [Fixnum] service_project_number
42551
43271
  # @param [String] fields
42552
43272
  # Selector specifying which fields to include in a partial response.
42553
43273
  # @param [String] quota_user
@@ -42567,7 +43287,7 @@ module Google
42567
43287
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
42568
43288
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
42569
43289
  # @raise [Google::Apis::AuthorizationError] Authorization is required
42570
- def list_aggregated_target_instance(project, filter: nil, include_all_scopes: 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)
43290
+ def list_aggregated_target_instance(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
42571
43291
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetInstances', options)
42572
43292
  command.response_representation = Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Representation
42573
43293
  command.response_class = Google::Apis::ComputeBeta::TargetInstanceAggregatedList
@@ -42578,6 +43298,7 @@ module Google
42578
43298
  command.query['orderBy'] = order_by unless order_by.nil?
42579
43299
  command.query['pageToken'] = page_token unless page_token.nil?
42580
43300
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
43301
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
42581
43302
  command.query['fields'] = fields unless fields.nil?
42582
43303
  command.query['quotaUser'] = quota_user unless quota_user.nil?
42583
43304
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -43081,6 +43802,7 @@ module Google
43081
43802
  # @param [Boolean] return_partial_success
43082
43803
  # Opt-in for partial success behavior which provides partial results in case of
43083
43804
  # failure. The default value is false.
43805
+ # @param [Fixnum] service_project_number
43084
43806
  # @param [String] fields
43085
43807
  # Selector specifying which fields to include in a partial response.
43086
43808
  # @param [String] quota_user
@@ -43100,7 +43822,7 @@ module Google
43100
43822
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
43101
43823
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
43102
43824
  # @raise [Google::Apis::AuthorizationError] Authorization is required
43103
- def list_aggregated_target_pools(project, filter: nil, include_all_scopes: 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)
43825
+ def list_aggregated_target_pools(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
43104
43826
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetPools', options)
43105
43827
  command.response_representation = Google::Apis::ComputeBeta::TargetPoolAggregatedList::Representation
43106
43828
  command.response_class = Google::Apis::ComputeBeta::TargetPoolAggregatedList
@@ -43111,6 +43833,7 @@ module Google
43111
43833
  command.query['orderBy'] = order_by unless order_by.nil?
43112
43834
  command.query['pageToken'] = page_token unless page_token.nil?
43113
43835
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
43836
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
43114
43837
  command.query['fields'] = fields unless fields.nil?
43115
43838
  command.query['quotaUser'] = quota_user unless quota_user.nil?
43116
43839
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -44228,6 +44951,7 @@ module Google
44228
44951
  # @param [Boolean] return_partial_success
44229
44952
  # Opt-in for partial success behavior which provides partial results in case of
44230
44953
  # failure. The default value is false.
44954
+ # @param [Fixnum] service_project_number
44231
44955
  # @param [String] fields
44232
44956
  # Selector specifying which fields to include in a partial response.
44233
44957
  # @param [String] quota_user
@@ -44247,7 +44971,7 @@ module Google
44247
44971
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
44248
44972
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
44249
44973
  # @raise [Google::Apis::AuthorizationError] Authorization is required
44250
- def aggregated_target_tcp_proxy_list(project, filter: nil, include_all_scopes: 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)
44974
+ def aggregated_target_tcp_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
44251
44975
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetTcpProxies', options)
44252
44976
  command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyAggregatedList::Representation
44253
44977
  command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyAggregatedList
@@ -44258,6 +44982,7 @@ module Google
44258
44982
  command.query['orderBy'] = order_by unless order_by.nil?
44259
44983
  command.query['pageToken'] = page_token unless page_token.nil?
44260
44984
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
44985
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
44261
44986
  command.query['fields'] = fields unless fields.nil?
44262
44987
  command.query['quotaUser'] = quota_user unless quota_user.nil?
44263
44988
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -44685,6 +45410,7 @@ module Google
44685
45410
  # @param [Boolean] return_partial_success
44686
45411
  # Opt-in for partial success behavior which provides partial results in case of
44687
45412
  # failure. The default value is false.
45413
+ # @param [Fixnum] service_project_number
44688
45414
  # @param [String] fields
44689
45415
  # Selector specifying which fields to include in a partial response.
44690
45416
  # @param [String] quota_user
@@ -44704,7 +45430,7 @@ module Google
44704
45430
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
44705
45431
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
44706
45432
  # @raise [Google::Apis::AuthorizationError] Authorization is required
44707
- def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: 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)
45433
+ def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
44708
45434
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetVpnGateways', options)
44709
45435
  command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Representation
44710
45436
  command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList
@@ -44715,6 +45441,7 @@ module Google
44715
45441
  command.query['orderBy'] = order_by unless order_by.nil?
44716
45442
  command.query['pageToken'] = page_token unless page_token.nil?
44717
45443
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
45444
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
44718
45445
  command.query['fields'] = fields unless fields.nil?
44719
45446
  command.query['quotaUser'] = quota_user unless quota_user.nil?
44720
45447
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -45112,6 +45839,7 @@ module Google
45112
45839
  # @param [Boolean] return_partial_success
45113
45840
  # Opt-in for partial success behavior which provides partial results in case of
45114
45841
  # failure. The default value is false.
45842
+ # @param [Fixnum] service_project_number
45115
45843
  # @param [String] fields
45116
45844
  # Selector specifying which fields to include in a partial response.
45117
45845
  # @param [String] quota_user
@@ -45131,7 +45859,7 @@ module Google
45131
45859
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
45132
45860
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
45133
45861
  # @raise [Google::Apis::AuthorizationError] Authorization is required
45134
- def aggregated_url_map_list(project, filter: nil, include_all_scopes: 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)
45862
+ def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
45135
45863
  command = make_simple_command(:get, 'projects/{project}/aggregated/urlMaps', options)
45136
45864
  command.response_representation = Google::Apis::ComputeBeta::UrlMapsAggregatedList::Representation
45137
45865
  command.response_class = Google::Apis::ComputeBeta::UrlMapsAggregatedList
@@ -45142,6 +45870,7 @@ module Google
45142
45870
  command.query['orderBy'] = order_by unless order_by.nil?
45143
45871
  command.query['pageToken'] = page_token unless page_token.nil?
45144
45872
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
45873
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
45145
45874
  command.query['fields'] = fields unless fields.nil?
45146
45875
  command.query['quotaUser'] = quota_user unless quota_user.nil?
45147
45876
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -45662,6 +46391,7 @@ module Google
45662
46391
  # @param [Boolean] return_partial_success
45663
46392
  # Opt-in for partial success behavior which provides partial results in case of
45664
46393
  # failure. The default value is false.
46394
+ # @param [Fixnum] service_project_number
45665
46395
  # @param [String] fields
45666
46396
  # Selector specifying which fields to include in a partial response.
45667
46397
  # @param [String] quota_user
@@ -45681,7 +46411,7 @@ module Google
45681
46411
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
45682
46412
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
45683
46413
  # @raise [Google::Apis::AuthorizationError] Authorization is required
45684
- def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: 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)
46414
+ def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
45685
46415
  command = make_simple_command(:get, 'projects/{project}/aggregated/vpnGateways', options)
45686
46416
  command.response_representation = Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Representation
45687
46417
  command.response_class = Google::Apis::ComputeBeta::VpnGatewayAggregatedList
@@ -45692,6 +46422,7 @@ module Google
45692
46422
  command.query['orderBy'] = order_by unless order_by.nil?
45693
46423
  command.query['pageToken'] = page_token unless page_token.nil?
45694
46424
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
46425
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
45695
46426
  command.query['fields'] = fields unless fields.nil?
45696
46427
  command.query['quotaUser'] = quota_user unless quota_user.nil?
45697
46428
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -46126,6 +46857,7 @@ module Google
46126
46857
  # @param [Boolean] return_partial_success
46127
46858
  # Opt-in for partial success behavior which provides partial results in case of
46128
46859
  # failure. The default value is false.
46860
+ # @param [Fixnum] service_project_number
46129
46861
  # @param [String] fields
46130
46862
  # Selector specifying which fields to include in a partial response.
46131
46863
  # @param [String] quota_user
@@ -46145,7 +46877,7 @@ module Google
46145
46877
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
46146
46878
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
46147
46879
  # @raise [Google::Apis::AuthorizationError] Authorization is required
46148
- def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: 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)
46880
+ def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
46149
46881
  command = make_simple_command(:get, 'projects/{project}/aggregated/vpnTunnels', options)
46150
46882
  command.response_representation = Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Representation
46151
46883
  command.response_class = Google::Apis::ComputeBeta::VpnTunnelAggregatedList
@@ -46156,6 +46888,7 @@ module Google
46156
46888
  command.query['orderBy'] = order_by unless order_by.nil?
46157
46889
  command.query['pageToken'] = page_token unless page_token.nil?
46158
46890
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
46891
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
46159
46892
  command.query['fields'] = fields unless fields.nil?
46160
46893
  command.query['quotaUser'] = quota_user unless quota_user.nil?
46161
46894
  command.query['userIp'] = user_ip unless user_ip.nil?