google-apis-compute_alpha 0.2.0 → 0.7.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.
@@ -99,7 +99,7 @@ module Google
99
99
  # by a previous list request to get the next page of results.
100
100
  # @param [Boolean] return_partial_success
101
101
  # Opt-in for partial success behavior which provides partial results in case of
102
- # failure. The default value is false and the logic is the same as today.
102
+ # failure. The default value is false.
103
103
  # @param [String] fields
104
104
  # Selector specifying which fields to include in a partial response.
105
105
  # @param [String] quota_user
@@ -217,7 +217,7 @@ module Google
217
217
  # by a previous list request to get the next page of results.
218
218
  # @param [Boolean] return_partial_success
219
219
  # Opt-in for partial success behavior which provides partial results in case of
220
- # failure. The default value is false and the logic is the same as today.
220
+ # failure. The default value is false.
221
221
  # @param [String] fields
222
222
  # Selector specifying which fields to include in a partial response.
223
223
  # @param [String] quota_user
@@ -300,7 +300,7 @@ module Google
300
300
  # by a previous list request to get the next page of results.
301
301
  # @param [Boolean] return_partial_success
302
302
  # Opt-in for partial success behavior which provides partial results in case of
303
- # failure. The default value is false and the logic is the same as today.
303
+ # failure. The default value is false.
304
304
  # @param [String] fields
305
305
  # Selector specifying which fields to include in a partial response.
306
306
  # @param [String] quota_user
@@ -520,7 +520,7 @@ module Google
520
520
  # by a previous list request to get the next page of results.
521
521
  # @param [Boolean] return_partial_success
522
522
  # Opt-in for partial success behavior which provides partial results in case of
523
- # failure. The default value is false and the logic is the same as today.
523
+ # failure. The default value is false.
524
524
  # @param [String] fields
525
525
  # Selector specifying which fields to include in a partial response.
526
526
  # @param [String] quota_user
@@ -700,7 +700,7 @@ module Google
700
700
  # by a previous list request to get the next page of results.
701
701
  # @param [Boolean] return_partial_success
702
702
  # Opt-in for partial success behavior which provides partial results in case of
703
- # failure. The default value is false and the logic is the same as today.
703
+ # failure. The default value is false.
704
704
  # @param [String] fields
705
705
  # Selector specifying which fields to include in a partial response.
706
706
  # @param [String] quota_user
@@ -921,7 +921,7 @@ module Google
921
921
  # by a previous list request to get the next page of results.
922
922
  # @param [Boolean] return_partial_success
923
923
  # Opt-in for partial success behavior which provides partial results in case of
924
- # failure. The default value is false and the logic is the same as today.
924
+ # failure. The default value is false.
925
925
  # @param [String] fields
926
926
  # Selector specifying which fields to include in a partial response.
927
927
  # @param [String] quota_user
@@ -1429,7 +1429,7 @@ module Google
1429
1429
  # by a previous list request to get the next page of results.
1430
1430
  # @param [Boolean] return_partial_success
1431
1431
  # Opt-in for partial success behavior which provides partial results in case of
1432
- # failure. The default value is false and the logic is the same as today.
1432
+ # failure. The default value is false.
1433
1433
  # @param [String] fields
1434
1434
  # Selector specifying which fields to include in a partial response.
1435
1435
  # @param [String] quota_user
@@ -1800,7 +1800,7 @@ module Google
1800
1800
  # by a previous list request to get the next page of results.
1801
1801
  # @param [Boolean] return_partial_success
1802
1802
  # Opt-in for partial success behavior which provides partial results in case of
1803
- # failure. The default value is false and the logic is the same as today.
1803
+ # failure. The default value is false.
1804
1804
  # @param [String] fields
1805
1805
  # Selector specifying which fields to include in a partial response.
1806
1806
  # @param [String] quota_user
@@ -2104,7 +2104,7 @@ module Google
2104
2104
  # by a previous list request to get the next page of results.
2105
2105
  # @param [Boolean] return_partial_success
2106
2106
  # Opt-in for partial success behavior which provides partial results in case of
2107
- # failure. The default value is false and the logic is the same as today.
2107
+ # failure. The default value is false.
2108
2108
  # @param [String] fields
2109
2109
  # Selector specifying which fields to include in a partial response.
2110
2110
  # @param [String] quota_user
@@ -2246,7 +2246,8 @@ module Google
2246
2246
  execute_or_queue_command(command, &block)
2247
2247
  end
2248
2248
 
2249
- # Sets the security policy for the specified backend service.
2249
+ # Sets the Google Cloud Armor security policy for the specified backend service.
2250
+ # For more information, see Google Cloud Armor Overview
2250
2251
  # @param [String] project
2251
2252
  # Project ID for this request.
2252
2253
  # @param [String] backend_service
@@ -2435,7 +2436,7 @@ module Google
2435
2436
  # by a previous list request to get the next page of results.
2436
2437
  # @param [Boolean] return_partial_success
2437
2438
  # Opt-in for partial success behavior which provides partial results in case of
2438
- # failure. The default value is false and the logic is the same as today.
2439
+ # failure. The default value is false.
2439
2440
  # @param [String] fields
2440
2441
  # Selector specifying which fields to include in a partial response.
2441
2442
  # @param [String] quota_user
@@ -2553,7 +2554,7 @@ module Google
2553
2554
  # by a previous list request to get the next page of results.
2554
2555
  # @param [Boolean] return_partial_success
2555
2556
  # Opt-in for partial success behavior which provides partial results in case of
2556
- # failure. The default value is false and the logic is the same as today.
2557
+ # failure. The default value is false.
2557
2558
  # @param [String] fields
2558
2559
  # Selector specifying which fields to include in a partial response.
2559
2560
  # @param [String] quota_user
@@ -2691,7 +2692,7 @@ module Google
2691
2692
  # by a previous list request to get the next page of results.
2692
2693
  # @param [Boolean] return_partial_success
2693
2694
  # Opt-in for partial success behavior which provides partial results in case of
2694
- # failure. The default value is false and the logic is the same as today.
2695
+ # failure. The default value is false.
2695
2696
  # @param [String] fields
2696
2697
  # Selector specifying which fields to include in a partial response.
2697
2698
  # @param [String] quota_user
@@ -3022,7 +3023,7 @@ module Google
3022
3023
  # by a previous list request to get the next page of results.
3023
3024
  # @param [Boolean] return_partial_success
3024
3025
  # Opt-in for partial success behavior which provides partial results in case of
3025
- # failure. The default value is false and the logic is the same as today.
3026
+ # failure. The default value is false.
3026
3027
  # @param [String] fields
3027
3028
  # Selector specifying which fields to include in a partial response.
3028
3029
  # @param [String] quota_user
@@ -3540,7 +3541,7 @@ module Google
3540
3541
  # by a previous list request to get the next page of results.
3541
3542
  # @param [Boolean] return_partial_success
3542
3543
  # Opt-in for partial success behavior which provides partial results in case of
3543
- # failure. The default value is false and the logic is the same as today.
3544
+ # failure. The default value is false.
3544
3545
  # @param [String] fields
3545
3546
  # Selector specifying which fields to include in a partial response.
3546
3547
  # @param [String] quota_user
@@ -4081,7 +4082,7 @@ module Google
4081
4082
  # Parent ID for this request.
4082
4083
  # @param [Boolean] return_partial_success
4083
4084
  # Opt-in for partial success behavior which provides partial results in case of
4084
- # failure. The default value is false and the logic is the same as today.
4085
+ # failure. The default value is false.
4085
4086
  # @param [String] fields
4086
4087
  # Selector specifying which fields to include in a partial response.
4087
4088
  # @param [String] quota_user
@@ -4638,7 +4639,7 @@ module Google
4638
4639
  # by a previous list request to get the next page of results.
4639
4640
  # @param [Boolean] return_partial_success
4640
4641
  # Opt-in for partial success behavior which provides partial results in case of
4641
- # failure. The default value is false and the logic is the same as today.
4642
+ # failure. The default value is false.
4642
4643
  # @param [String] fields
4643
4644
  # Selector specifying which fields to include in a partial response.
4644
4645
  # @param [String] quota_user
@@ -4865,7 +4866,7 @@ module Google
4865
4866
  # by a previous list request to get the next page of results.
4866
4867
  # @param [Boolean] return_partial_success
4867
4868
  # Opt-in for partial success behavior which provides partial results in case of
4868
- # failure. The default value is false and the logic is the same as today.
4869
+ # failure. The default value is false.
4869
4870
  # @param [String] fields
4870
4871
  # Selector specifying which fields to include in a partial response.
4871
4872
  # @param [String] quota_user
@@ -5086,7 +5087,7 @@ module Google
5086
5087
  # by a previous list request to get the next page of results.
5087
5088
  # @param [Boolean] return_partial_success
5088
5089
  # Opt-in for partial success behavior which provides partial results in case of
5089
- # failure. The default value is false and the logic is the same as today.
5090
+ # failure. The default value is false.
5090
5091
  # @param [String] fields
5091
5092
  # Selector specifying which fields to include in a partial response.
5092
5093
  # @param [String] quota_user
@@ -5541,7 +5542,7 @@ module Google
5541
5542
  # by a previous list request to get the next page of results.
5542
5543
  # @param [Boolean] return_partial_success
5543
5544
  # Opt-in for partial success behavior which provides partial results in case of
5544
- # failure. The default value is false and the logic is the same as today.
5545
+ # failure. The default value is false.
5545
5546
  # @param [String] fields
5546
5547
  # Selector specifying which fields to include in a partial response.
5547
5548
  # @param [String] quota_user
@@ -5830,7 +5831,7 @@ module Google
5830
5831
  # by a previous list request to get the next page of results.
5831
5832
  # @param [Boolean] return_partial_success
5832
5833
  # Opt-in for partial success behavior which provides partial results in case of
5833
- # failure. The default value is false and the logic is the same as today.
5834
+ # failure. The default value is false.
5834
5835
  # @param [String] fields
5835
5836
  # Selector specifying which fields to include in a partial response.
5836
5837
  # @param [String] quota_user
@@ -6330,7 +6331,7 @@ module Google
6330
6331
  # by a previous list request to get the next page of results.
6331
6332
  # @param [Boolean] return_partial_success
6332
6333
  # Opt-in for partial success behavior which provides partial results in case of
6333
- # failure. The default value is false and the logic is the same as today.
6334
+ # failure. The default value is false.
6334
6335
  # @param [String] fields
6335
6336
  # Selector specifying which fields to include in a partial response.
6336
6337
  # @param [String] quota_user
@@ -6408,7 +6409,7 @@ module Google
6408
6409
  # by a previous list request to get the next page of results.
6409
6410
  # @param [Boolean] return_partial_success
6410
6411
  # Opt-in for partial success behavior which provides partial results in case of
6411
- # failure. The default value is false and the logic is the same as today.
6412
+ # failure. The default value is false.
6412
6413
  # @param [String] fields
6413
6414
  # Selector specifying which fields to include in a partial response.
6414
6415
  # @param [String] quota_user
@@ -6491,7 +6492,7 @@ module Google
6491
6492
  # by a previous list request to get the next page of results.
6492
6493
  # @param [Boolean] return_partial_success
6493
6494
  # Opt-in for partial success behavior which provides partial results in case of
6494
- # failure. The default value is false and the logic is the same as today.
6495
+ # failure. The default value is false.
6495
6496
  # @param [String] fields
6496
6497
  # Selector specifying which fields to include in a partial response.
6497
6498
  # @param [String] quota_user
@@ -6638,7 +6639,7 @@ module Google
6638
6639
  # by a previous list request to get the next page of results.
6639
6640
  # @param [Boolean] return_partial_success
6640
6641
  # Opt-in for partial success behavior which provides partial results in case of
6641
- # failure. The default value is false and the logic is the same as today.
6642
+ # failure. The default value is false.
6642
6643
  # @param [String] fields
6643
6644
  # Selector specifying which fields to include in a partial response.
6644
6645
  # @param [String] quota_user
@@ -6831,7 +6832,7 @@ module Google
6831
6832
  # Parent ID for this request.
6832
6833
  # @param [Boolean] return_partial_success
6833
6834
  # Opt-in for partial success behavior which provides partial results in case of
6834
- # failure. The default value is false and the logic is the same as today.
6835
+ # failure. The default value is false.
6835
6836
  # @param [String] fields
6836
6837
  # Selector specifying which fields to include in a partial response.
6837
6838
  # @param [String] quota_user
@@ -7039,7 +7040,7 @@ module Google
7039
7040
  # by a previous list request to get the next page of results.
7040
7041
  # @param [Boolean] return_partial_success
7041
7042
  # Opt-in for partial success behavior which provides partial results in case of
7042
- # failure. The default value is false and the logic is the same as today.
7043
+ # failure. The default value is false.
7043
7044
  # @param [String] fields
7044
7045
  # Selector specifying which fields to include in a partial response.
7045
7046
  # @param [String] quota_user
@@ -7175,7 +7176,7 @@ module Google
7175
7176
  # by a previous list request to get the next page of results.
7176
7177
  # @param [Boolean] return_partial_success
7177
7178
  # Opt-in for partial success behavior which provides partial results in case of
7178
- # failure. The default value is false and the logic is the same as today.
7179
+ # failure. The default value is false.
7179
7180
  # @param [String] fields
7180
7181
  # Selector specifying which fields to include in a partial response.
7181
7182
  # @param [String] quota_user
@@ -7385,7 +7386,7 @@ module Google
7385
7386
  # by a previous list request to get the next page of results.
7386
7387
  # @param [Boolean] return_partial_success
7387
7388
  # Opt-in for partial success behavior which provides partial results in case of
7388
- # failure. The default value is false and the logic is the same as today.
7389
+ # failure. The default value is false.
7389
7390
  # @param [String] fields
7390
7391
  # Selector specifying which fields to include in a partial response.
7391
7392
  # @param [String] quota_user
@@ -7739,7 +7740,7 @@ module Google
7739
7740
  # by a previous list request to get the next page of results.
7740
7741
  # @param [Boolean] return_partial_success
7741
7742
  # Opt-in for partial success behavior which provides partial results in case of
7742
- # failure. The default value is false and the logic is the same as today.
7743
+ # failure. The default value is false.
7743
7744
  # @param [String] fields
7744
7745
  # Selector specifying which fields to include in a partial response.
7745
7746
  # @param [String] quota_user
@@ -8093,7 +8094,7 @@ module Google
8093
8094
  # by a previous list request to get the next page of results.
8094
8095
  # @param [Boolean] return_partial_success
8095
8096
  # Opt-in for partial success behavior which provides partial results in case of
8096
- # failure. The default value is false and the logic is the same as today.
8097
+ # failure. The default value is false.
8097
8098
  # @param [String] fields
8098
8099
  # Selector specifying which fields to include in a partial response.
8099
8100
  # @param [String] quota_user
@@ -8273,6 +8274,46 @@ module Google
8273
8274
  execute_or_queue_command(command, &block)
8274
8275
  end
8275
8276
 
8277
+ # Returns the latest image that is part of an image family, is not deprecated
8278
+ # and is rolled out in the specified zone.
8279
+ # @param [String] project
8280
+ # Project ID for this request.
8281
+ # @param [String] zone
8282
+ # The name of the zone for this request.
8283
+ # @param [String] family
8284
+ # Name of the image family to search for.
8285
+ # @param [String] fields
8286
+ # Selector specifying which fields to include in a partial response.
8287
+ # @param [String] quota_user
8288
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
8289
+ # characters.
8290
+ # @param [String] user_ip
8291
+ # Deprecated. Please use quotaUser instead.
8292
+ # @param [Google::Apis::RequestOptions] options
8293
+ # Request-specific options
8294
+ #
8295
+ # @yield [result, err] Result & error if block supplied
8296
+ # @yieldparam result [Google::Apis::ComputeAlpha::ImageFamilyView] parsed result object
8297
+ # @yieldparam err [StandardError] error object if request failed
8298
+ #
8299
+ # @return [Google::Apis::ComputeAlpha::ImageFamilyView]
8300
+ #
8301
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8302
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8303
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8304
+ def get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8305
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/imageFamilyViews/{family}', options)
8306
+ command.response_representation = Google::Apis::ComputeAlpha::ImageFamilyView::Representation
8307
+ command.response_class = Google::Apis::ComputeAlpha::ImageFamilyView
8308
+ command.params['project'] = project unless project.nil?
8309
+ command.params['zone'] = zone unless zone.nil?
8310
+ command.params['family'] = family unless family.nil?
8311
+ command.query['fields'] = fields unless fields.nil?
8312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8313
+ command.query['userIp'] = user_ip unless user_ip.nil?
8314
+ execute_or_queue_command(command, &block)
8315
+ end
8316
+
8276
8317
  # Deletes the specified image.
8277
8318
  # @param [String] project
8278
8319
  # Project ID for this request.
@@ -8582,7 +8623,9 @@ module Google
8582
8623
  # by a previous list request to get the next page of results.
8583
8624
  # @param [Boolean] return_partial_success
8584
8625
  # Opt-in for partial success behavior which provides partial results in case of
8585
- # failure. The default value is false and the logic is the same as today.
8626
+ # failure. The default value is false.
8627
+ # @param [String] zone
8628
+ # The zone query parameter.
8586
8629
  # @param [String] fields
8587
8630
  # Selector specifying which fields to include in a partial response.
8588
8631
  # @param [String] quota_user
@@ -8602,7 +8645,7 @@ module Google
8602
8645
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8603
8646
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8604
8647
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8605
- def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8648
+ def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8606
8649
  command = make_simple_command(:get, 'projects/{project}/global/images', options)
8607
8650
  command.response_representation = Google::Apis::ComputeAlpha::ImageList::Representation
8608
8651
  command.response_class = Google::Apis::ComputeAlpha::ImageList
@@ -8612,6 +8655,7 @@ module Google
8612
8655
  command.query['orderBy'] = order_by unless order_by.nil?
8613
8656
  command.query['pageToken'] = page_token unless page_token.nil?
8614
8657
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8658
+ command.query['zone'] = zone unless zone.nil?
8615
8659
  command.query['fields'] = fields unless fields.nil?
8616
8660
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8617
8661
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -8900,7 +8944,7 @@ module Google
8900
8944
  # by a previous list request to get the next page of results.
8901
8945
  # @param [Boolean] return_partial_success
8902
8946
  # Opt-in for partial success behavior which provides partial results in case of
8903
- # failure. The default value is false and the logic is the same as today.
8947
+ # failure. The default value is false.
8904
8948
  # @param [String] fields
8905
8949
  # Selector specifying which fields to include in a partial response.
8906
8950
  # @param [String] quota_user
@@ -9340,7 +9384,7 @@ module Google
9340
9384
  # by a previous list request to get the next page of results.
9341
9385
  # @param [Boolean] return_partial_success
9342
9386
  # Opt-in for partial success behavior which provides partial results in case of
9343
- # failure. The default value is false and the logic is the same as today.
9387
+ # failure. The default value is false.
9344
9388
  # @param [String] fields
9345
9389
  # Selector specifying which fields to include in a partial response.
9346
9390
  # @param [String] quota_user
@@ -9424,7 +9468,7 @@ module Google
9424
9468
  # by a previous list request to get the next page of results.
9425
9469
  # @param [Boolean] return_partial_success
9426
9470
  # Opt-in for partial success behavior which provides partial results in case of
9427
- # failure. The default value is false and the logic is the same as today.
9471
+ # failure. The default value is false.
9428
9472
  # @param [String] fields
9429
9473
  # Selector specifying which fields to include in a partial response.
9430
9474
  # @param [String] quota_user
@@ -9510,7 +9554,7 @@ module Google
9510
9554
  # by a previous list request to get the next page of results.
9511
9555
  # @param [Boolean] return_partial_success
9512
9556
  # Opt-in for partial success behavior which provides partial results in case of
9513
- # failure. The default value is false and the logic is the same as today.
9557
+ # failure. The default value is false.
9514
9558
  # @param [String] fields
9515
9559
  # Selector specifying which fields to include in a partial response.
9516
9560
  # @param [String] quota_user
@@ -9593,7 +9637,7 @@ module Google
9593
9637
  # by a previous list request to get the next page of results.
9594
9638
  # @param [Boolean] return_partial_success
9595
9639
  # Opt-in for partial success behavior which provides partial results in case of
9596
- # failure. The default value is false and the logic is the same as today.
9640
+ # failure. The default value is false.
9597
9641
  # @param [String] fields
9598
9642
  # Selector specifying which fields to include in a partial response.
9599
9643
  # @param [String] quota_user
@@ -9946,6 +9990,71 @@ module Google
9946
9990
  execute_or_queue_command(command, &block)
9947
9991
  end
9948
9992
 
9993
+ # Flags the specified instances in the managed instance group to be resumed.
9994
+ # This method increases the targetSize and decreases the targetSuspendedSize of
9995
+ # the managed instance group by the number of instances that you resume. The
9996
+ # resumeInstances operation is marked DONE if the resumeInstances request is
9997
+ # successful. The underlying actions take additional time. You must separately
9998
+ # verify the status of the RESUMING action with the listmanagedinstances method.
9999
+ # In this request, you can only specify instances that are suspended. For
10000
+ # example, if an instance was previously suspended using the suspendInstances
10001
+ # method, it can be resumed using the resumeInstances method.
10002
+ # If a health check is attached to the managed instance group, the specified
10003
+ # instances will be verified as healthy after they are resumed.
10004
+ # You can specify a maximum of 1000 instances with this method per request.
10005
+ # @param [String] project
10006
+ # Project ID for this request.
10007
+ # @param [String] zone
10008
+ # The name of the zone where the managed instance group is located.
10009
+ # @param [String] instance_group_manager
10010
+ # The name of the managed instance group.
10011
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManagersResumeInstancesRequest] instance_group_managers_resume_instances_request_object
10012
+ # @param [String] request_id
10013
+ # An optional request ID to identify requests. Specify a unique request ID so
10014
+ # that if you must retry your request, the server will know to ignore the
10015
+ # request if it has already been completed.
10016
+ # For example, consider a situation where you make an initial request and the
10017
+ # request times out. If you make the request again with the same request ID, the
10018
+ # server can check if original operation with the same request ID was received,
10019
+ # and if so, will ignore the second request. This prevents clients from
10020
+ # accidentally creating duplicate commitments.
10021
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10022
+ # supported (00000000-0000-0000-0000-000000000000).
10023
+ # @param [String] fields
10024
+ # Selector specifying which fields to include in a partial response.
10025
+ # @param [String] quota_user
10026
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10027
+ # characters.
10028
+ # @param [String] user_ip
10029
+ # Deprecated. Please use quotaUser instead.
10030
+ # @param [Google::Apis::RequestOptions] options
10031
+ # Request-specific options
10032
+ #
10033
+ # @yield [result, err] Result & error if block supplied
10034
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
10035
+ # @yieldparam err [StandardError] error object if request failed
10036
+ #
10037
+ # @return [Google::Apis::ComputeAlpha::Operation]
10038
+ #
10039
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10040
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10041
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10042
+ 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)
10043
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances', options)
10044
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersResumeInstancesRequest::Representation
10045
+ command.request_object = instance_group_managers_resume_instances_request_object
10046
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10047
+ command.response_class = Google::Apis::ComputeAlpha::Operation
10048
+ command.params['project'] = project unless project.nil?
10049
+ command.params['zone'] = zone unless zone.nil?
10050
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
10051
+ command.query['requestId'] = request_id unless request_id.nil?
10052
+ command.query['fields'] = fields unless fields.nil?
10053
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10054
+ command.query['userIp'] = user_ip unless user_ip.nil?
10055
+ execute_or_queue_command(command, &block)
10056
+ end
10057
+
9949
10058
  # Motifies the autohealing policy for the instances in this managed instance
9950
10059
  # group. [Deprecated] This method is deprecated. Use instanceGroupManagers.patch
9951
10060
  # instead.
@@ -10118,60 +10227,25 @@ module Google
10118
10227
  execute_or_queue_command(command, &block)
10119
10228
  end
10120
10229
 
10121
- # Returns permissions that a caller has on the specified resource.
10122
- # @param [String] project
10123
- # Project ID for this request.
10124
- # @param [String] zone
10125
- # The name of the zone for this request.
10126
- # @param [String] resource
10127
- # Name or id of the resource for this request.
10128
- # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
10129
- # @param [String] fields
10130
- # Selector specifying which fields to include in a partial response.
10131
- # @param [String] quota_user
10132
- # An opaque string that represents a user for quota purposes. Must not exceed 40
10133
- # characters.
10134
- # @param [String] user_ip
10135
- # Deprecated. Please use quotaUser instead.
10136
- # @param [Google::Apis::RequestOptions] options
10137
- # Request-specific options
10138
- #
10139
- # @yield [result, err] Result & error if block supplied
10140
- # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
10141
- # @yieldparam err [StandardError] error object if request failed
10142
- #
10143
- # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
10144
- #
10145
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10146
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10147
- # @raise [Google::Apis::AuthorizationError] Authorization is required
10148
- def test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10149
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options)
10150
- command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
10151
- command.request_object = test_permissions_request_object
10152
- command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
10153
- command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
10154
- command.params['project'] = project unless project.nil?
10155
- command.params['zone'] = zone unless zone.nil?
10156
- command.params['resource'] = resource unless resource.nil?
10157
- command.query['fields'] = fields unless fields.nil?
10158
- command.query['quotaUser'] = quota_user unless quota_user.nil?
10159
- command.query['userIp'] = user_ip unless user_ip.nil?
10160
- execute_or_queue_command(command, &block)
10161
- end
10162
-
10163
- # Updates a managed instance group using the information that you specify in the
10164
- # request. This operation is marked as DONE when the group is updated even if
10165
- # the instances in the group have not yet been updated. You must separately
10166
- # verify the status of the individual instances with the listManagedInstances
10167
- # method.
10230
+ # Flags the specified instances in the managed instance group to be started.
10231
+ # This method increases the targetSize and decreases the targetStoppedSize of
10232
+ # the managed instance group by the number of instances that you start. The
10233
+ # startInstances operation is marked DONE if the startInstances request is
10234
+ # successful. The underlying actions take additional time. You must separately
10235
+ # verify the status of the STARTING action with the listmanagedinstances method.
10236
+ # In this request, you can only specify instances that are stopped. For example,
10237
+ # if an instance was previously stopped using the stopInstances method, it can
10238
+ # be started using the startInstances method.
10239
+ # If a health check is attached to the managed instance group, the specified
10240
+ # instances will be verified as healthy after they are started.
10241
+ # You can specify a maximum of 1000 instances with this method per request.
10168
10242
  # @param [String] project
10169
10243
  # Project ID for this request.
10170
10244
  # @param [String] zone
10171
- # The name of the zone where you want to create the managed instance group.
10245
+ # The name of the zone where the managed instance group is located.
10172
10246
  # @param [String] instance_group_manager
10173
- # The name of the instance group manager.
10174
- # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
10247
+ # The name of the managed instance group.
10248
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManagersStartInstancesRequest] instance_group_managers_start_instances_request_object
10175
10249
  # @param [String] request_id
10176
10250
  # An optional request ID to identify requests. Specify a unique request ID so
10177
10251
  # that if you must retry your request, the server will know to ignore the
@@ -10202,10 +10276,10 @@ module Google
10202
10276
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10203
10277
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10204
10278
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10205
- def update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10206
- command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options)
10207
- command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
10208
- command.request_object = instance_group_manager_object
10279
+ 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)
10280
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances', options)
10281
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersStartInstancesRequest::Representation
10282
+ command.request_object = instance_group_managers_start_instances_request_object
10209
10283
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10210
10284
  command.response_class = Google::Apis::ComputeAlpha::Operation
10211
10285
  command.params['project'] = project unless project.nil?
@@ -10218,17 +10292,35 @@ module Google
10218
10292
  execute_or_queue_command(command, &block)
10219
10293
  end
10220
10294
 
10221
- # Inserts or updates per-instance configs for the managed instance group.
10222
- # perInstanceConfig.name serves as a key used to distinguish whether to perform
10223
- # insert or patch.
10295
+ # Flags the specified instances in the managed instance group to be immediately
10296
+ # stopped. You can only specify instances that are running in this request. This
10297
+ # method reduces the targetSize and increases the targetStoppedSize of the
10298
+ # managed instance group by the number of instances that you stop. The
10299
+ # stopInstances operation is marked DONE if the stopInstances request is
10300
+ # successful. The underlying actions take additional time. You must separately
10301
+ # verify the status of the STOPPING action with the listmanagedinstances method.
10302
+ # If the instanceLifecyclePolicy.metadataBasedReadinessSignal field is set on
10303
+ # the Instance Group Manager, each instance will be initialized before it is
10304
+ # stopped, to give user programs time to perform necessary tasks. To initialize
10305
+ # an instance, the Instance Group Manager sets the metadata key google-compute-
10306
+ # initialization-intent to value INITIALIZE_AND_STOP on the instance, and waits
10307
+ # for the user program to signal it is ready. This is done by setting the guest
10308
+ # attribute path google-compute/initialization-state to value INITIALIZED. If
10309
+ # the instance does not signal successful initialization (does not set the guest
10310
+ # attribute to INITIALIZED) before timeout, the initialization is considered
10311
+ # failed and the instance is not stopped.
10312
+ # If the group is part of a backend service that has enabled connection draining,
10313
+ # it can take up to 60 seconds after the connection draining duration has
10314
+ # elapsed before the VM instance is suspended.
10315
+ # Stopped instances can be started using the startInstances method.
10316
+ # You can specify a maximum of 1000 instances with this method per request.
10224
10317
  # @param [String] project
10225
10318
  # Project ID for this request.
10226
10319
  # @param [String] zone
10227
- # The name of the zone where the managed instance group is located. It should
10228
- # conform to RFC1035.
10320
+ # The name of the zone where the managed instance group is located.
10229
10321
  # @param [String] instance_group_manager
10230
- # The name of the managed instance group. It should conform to RFC1035.
10231
- # @param [Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq] instance_group_managers_update_per_instance_configs_req_object
10322
+ # The name of the managed instance group.
10323
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManagersStopInstancesRequest] instance_group_managers_stop_instances_request_object
10232
10324
  # @param [String] request_id
10233
10325
  # An optional request ID to identify requests. Specify a unique request ID so
10234
10326
  # that if you must retry your request, the server will know to ignore the
@@ -10259,10 +10351,10 @@ module Google
10259
10351
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10260
10352
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10261
10353
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10262
- def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10263
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options)
10264
- command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation
10265
- command.request_object = instance_group_managers_update_per_instance_configs_req_object
10354
+ 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)
10355
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances', options)
10356
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersStopInstancesRequest::Representation
10357
+ command.request_object = instance_group_managers_stop_instances_request_object
10266
10358
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10267
10359
  command.response_class = Google::Apis::ComputeAlpha::Operation
10268
10360
  command.params['project'] = project unless project.nil?
@@ -10275,16 +10367,36 @@ module Google
10275
10367
  execute_or_queue_command(command, &block)
10276
10368
  end
10277
10369
 
10278
- # Adds a list of instances to the specified instance group. All of the instances
10279
- # in the instance group must be in the same network/subnetwork. Read Adding
10280
- # instances for more information.
10370
+ # Flags the specified instances in the managed instance group to be immediately
10371
+ # suspended. You can only specify instances that are running in this request.
10372
+ # This method reduces the targetSize and increases the targetSuspendedSize of
10373
+ # the managed instance group by the number of instances that you suspend. The
10374
+ # suspendInstances operation is marked DONE if the suspendInstances request is
10375
+ # successful. The underlying actions take additional time. You must separately
10376
+ # verify the status of the SUSPENDING action with the listmanagedinstances
10377
+ # method.
10378
+ # If the instanceLifecyclePolicy.metadataBasedReadinessSignal field is set on
10379
+ # the Instance Group Manager, each instance will be initialized before it is
10380
+ # suspended, to give user programs time to perform necessary tasks. To
10381
+ # initialize an instance, the Instance Group Manager sets the metadata key
10382
+ # google-compute-initialization-intent to value INITIALIZE_AND_SUSPEND on the
10383
+ # instance, and waits for the user program to signal it is ready. This is done
10384
+ # by setting the guest attribute path google-compute/initialization-state to
10385
+ # value INITIALIZED. If the instance does not signal successful initialization (
10386
+ # does not set the guest attribute to INITIALIZED) before timeout, the
10387
+ # initialization is considered failed and the instance is not suspended.
10388
+ # If the group is part of a backend service that has enabled connection draining,
10389
+ # it can take up to 60 seconds after the connection draining duration has
10390
+ # elapsed before the VM instance is suspended.
10391
+ # Suspended instances can be resumed using the resumeInstances method.
10392
+ # You can specify a maximum of 1000 instances with this method per request.
10281
10393
  # @param [String] project
10282
10394
  # Project ID for this request.
10283
10395
  # @param [String] zone
10284
- # The name of the zone where the instance group is located.
10285
- # @param [String] instance_group
10286
- # The name of the instance group where you are adding instances.
10287
- # @param [Google::Apis::ComputeAlpha::InstanceGroupsAddInstancesRequest] instance_groups_add_instances_request_object
10396
+ # The name of the zone where the managed instance group is located.
10397
+ # @param [String] instance_group_manager
10398
+ # The name of the managed instance group.
10399
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManagersSuspendInstancesRequest] instance_group_managers_suspend_instances_request_object
10288
10400
  # @param [String] request_id
10289
10401
  # An optional request ID to identify requests. Specify a unique request ID so
10290
10402
  # that if you must retry your request, the server will know to ignore the
@@ -10315,15 +10427,15 @@ module Google
10315
10427
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10316
10428
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10317
10429
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10318
- def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10319
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options)
10320
- command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsAddInstancesRequest::Representation
10321
- command.request_object = instance_groups_add_instances_request_object
10430
+ 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)
10431
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances', options)
10432
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSuspendInstancesRequest::Representation
10433
+ command.request_object = instance_group_managers_suspend_instances_request_object
10322
10434
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10323
10435
  command.response_class = Google::Apis::ComputeAlpha::Operation
10324
10436
  command.params['project'] = project unless project.nil?
10325
10437
  command.params['zone'] = zone unless zone.nil?
10326
- command.params['instanceGroup'] = instance_group unless instance_group.nil?
10438
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
10327
10439
  command.query['requestId'] = request_id unless request_id.nil?
10328
10440
  command.query['fields'] = fields unless fields.nil?
10329
10441
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -10331,53 +10443,14 @@ module Google
10331
10443
  execute_or_queue_command(command, &block)
10332
10444
  end
10333
10445
 
10334
- # Retrieves the list of instance groups and sorts them by zone.
10446
+ # Returns permissions that a caller has on the specified resource.
10335
10447
  # @param [String] project
10336
10448
  # Project ID for this request.
10337
- # @param [String] filter
10338
- # A filter expression that filters resources listed in the response. The
10339
- # expression must specify the field name, a comparison operator, and the value
10340
- # that you want to use for filtering. The value must be a string, a number, or a
10341
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
10342
- # For example, if you are filtering Compute Engine instances, you can exclude
10343
- # instances named `example-instance` by specifying `name != example-instance`.
10344
- # You can also filter nested fields. For example, you could specify `scheduling.
10345
- # automaticRestart = false` to include instances only if they are not scheduled
10346
- # for automatic restarts. You can use filtering on nested fields to filter based
10347
- # on resource labels.
10348
- # To filter on multiple expressions, provide each separate expression within
10349
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
10350
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
10351
- # expression. However, you can include `AND` and `OR` expressions explicitly.
10352
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
10353
- # Broadwell") AND (scheduling.automaticRestart = true) ```
10354
- # @param [Boolean] include_all_scopes
10355
- # Indicates whether every visible scope for each scope type (zone, region,
10356
- # global) should be included in the response. For new resource types added after
10357
- # this field, the flag has no effect as new resource types will always include
10358
- # every visible scope for each scope type in response. For resource types which
10359
- # predate this field, if this flag is omitted or false, only scopes of the scope
10360
- # types where the resource type is expected to be found will be included.
10361
- # @param [Fixnum] max_results
10362
- # The maximum number of results per page that should be returned. If the number
10363
- # of available results is larger than `maxResults`, Compute Engine returns a `
10364
- # nextPageToken` that can be used to get the next page of results in subsequent
10365
- # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
10366
- # @param [String] order_by
10367
- # Sorts list results by a certain order. By default, results are returned in
10368
- # alphanumerical order based on the resource name.
10369
- # You can also sort results in descending order based on the creation timestamp
10370
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
10371
- # creationTimestamp` field in reverse chronological order (newest result first).
10372
- # Use this to sort resources like operations so that the newest operation is
10373
- # returned first.
10374
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
10375
- # @param [String] page_token
10376
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
10377
- # by a previous list request to get the next page of results.
10378
- # @param [Boolean] return_partial_success
10379
- # Opt-in for partial success behavior which provides partial results in case of
10380
- # failure. The default value is false and the logic is the same as today.
10449
+ # @param [String] zone
10450
+ # The name of the zone for this request.
10451
+ # @param [String] resource
10452
+ # Name or id of the resource for this request.
10453
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
10381
10454
  # @param [String] fields
10382
10455
  # Selector specifying which fields to include in a partial response.
10383
10456
  # @param [String] quota_user
@@ -10389,40 +10462,292 @@ module Google
10389
10462
  # Request-specific options
10390
10463
  #
10391
10464
  # @yield [result, err] Result & error if block supplied
10392
- # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroupAggregatedList] parsed result object
10465
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
10393
10466
  # @yieldparam err [StandardError] error object if request failed
10394
10467
  #
10395
- # @return [Google::Apis::ComputeAlpha::InstanceGroupAggregatedList]
10468
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
10396
10469
  #
10397
10470
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10398
10471
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10399
10472
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10400
- def aggregated_instance_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)
10401
- command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options)
10402
- command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList::Representation
10403
- command.response_class = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList
10473
+ def test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10474
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options)
10475
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
10476
+ command.request_object = test_permissions_request_object
10477
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
10478
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
10404
10479
  command.params['project'] = project unless project.nil?
10405
- command.query['filter'] = filter unless filter.nil?
10406
- command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
10407
- command.query['maxResults'] = max_results unless max_results.nil?
10408
- command.query['orderBy'] = order_by unless order_by.nil?
10409
- command.query['pageToken'] = page_token unless page_token.nil?
10410
- command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10480
+ command.params['zone'] = zone unless zone.nil?
10481
+ command.params['resource'] = resource unless resource.nil?
10411
10482
  command.query['fields'] = fields unless fields.nil?
10412
10483
  command.query['quotaUser'] = quota_user unless quota_user.nil?
10413
10484
  command.query['userIp'] = user_ip unless user_ip.nil?
10414
10485
  execute_or_queue_command(command, &block)
10415
10486
  end
10416
10487
 
10417
- # Deletes the specified instance group. The instances in the group are not
10418
- # deleted. Note that instance group must not belong to a backend service. Read
10419
- # Deleting an instance group for more information.
10488
+ # Updates a managed instance group using the information that you specify in the
10489
+ # request. This operation is marked as DONE when the group is updated even if
10490
+ # the instances in the group have not yet been updated. You must separately
10491
+ # verify the status of the individual instances with the listManagedInstances
10492
+ # method.
10420
10493
  # @param [String] project
10421
10494
  # Project ID for this request.
10422
10495
  # @param [String] zone
10423
- # The name of the zone where the instance group is located.
10424
- # @param [String] instance_group
10425
- # The name of the instance group to delete.
10496
+ # The name of the zone where you want to create the managed instance group.
10497
+ # @param [String] instance_group_manager
10498
+ # The name of the instance group manager.
10499
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
10500
+ # @param [String] request_id
10501
+ # An optional request ID to identify requests. Specify a unique request ID so
10502
+ # that if you must retry your request, the server will know to ignore the
10503
+ # request if it has already been completed.
10504
+ # For example, consider a situation where you make an initial request and the
10505
+ # request times out. If you make the request again with the same request ID, the
10506
+ # server can check if original operation with the same request ID was received,
10507
+ # and if so, will ignore the second request. This prevents clients from
10508
+ # accidentally creating duplicate commitments.
10509
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10510
+ # supported (00000000-0000-0000-0000-000000000000).
10511
+ # @param [String] fields
10512
+ # Selector specifying which fields to include in a partial response.
10513
+ # @param [String] quota_user
10514
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10515
+ # characters.
10516
+ # @param [String] user_ip
10517
+ # Deprecated. Please use quotaUser instead.
10518
+ # @param [Google::Apis::RequestOptions] options
10519
+ # Request-specific options
10520
+ #
10521
+ # @yield [result, err] Result & error if block supplied
10522
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
10523
+ # @yieldparam err [StandardError] error object if request failed
10524
+ #
10525
+ # @return [Google::Apis::ComputeAlpha::Operation]
10526
+ #
10527
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10528
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10529
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10530
+ def update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10531
+ command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options)
10532
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
10533
+ command.request_object = instance_group_manager_object
10534
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10535
+ command.response_class = Google::Apis::ComputeAlpha::Operation
10536
+ command.params['project'] = project unless project.nil?
10537
+ command.params['zone'] = zone unless zone.nil?
10538
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
10539
+ command.query['requestId'] = request_id unless request_id.nil?
10540
+ command.query['fields'] = fields unless fields.nil?
10541
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10542
+ command.query['userIp'] = user_ip unless user_ip.nil?
10543
+ execute_or_queue_command(command, &block)
10544
+ end
10545
+
10546
+ # Inserts or updates per-instance configs for the managed instance group.
10547
+ # perInstanceConfig.name serves as a key used to distinguish whether to perform
10548
+ # insert or patch.
10549
+ # @param [String] project
10550
+ # Project ID for this request.
10551
+ # @param [String] zone
10552
+ # The name of the zone where the managed instance group is located. It should
10553
+ # conform to RFC1035.
10554
+ # @param [String] instance_group_manager
10555
+ # The name of the managed instance group. It should conform to RFC1035.
10556
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq] instance_group_managers_update_per_instance_configs_req_object
10557
+ # @param [String] request_id
10558
+ # An optional request ID to identify requests. Specify a unique request ID so
10559
+ # that if you must retry your request, the server will know to ignore the
10560
+ # request if it has already been completed.
10561
+ # For example, consider a situation where you make an initial request and the
10562
+ # request times out. If you make the request again with the same request ID, the
10563
+ # server can check if original operation with the same request ID was received,
10564
+ # and if so, will ignore the second request. This prevents clients from
10565
+ # accidentally creating duplicate commitments.
10566
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10567
+ # supported (00000000-0000-0000-0000-000000000000).
10568
+ # @param [String] fields
10569
+ # Selector specifying which fields to include in a partial response.
10570
+ # @param [String] quota_user
10571
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10572
+ # characters.
10573
+ # @param [String] user_ip
10574
+ # Deprecated. Please use quotaUser instead.
10575
+ # @param [Google::Apis::RequestOptions] options
10576
+ # Request-specific options
10577
+ #
10578
+ # @yield [result, err] Result & error if block supplied
10579
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
10580
+ # @yieldparam err [StandardError] error object if request failed
10581
+ #
10582
+ # @return [Google::Apis::ComputeAlpha::Operation]
10583
+ #
10584
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10585
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10586
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10587
+ def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10588
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options)
10589
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation
10590
+ command.request_object = instance_group_managers_update_per_instance_configs_req_object
10591
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10592
+ command.response_class = Google::Apis::ComputeAlpha::Operation
10593
+ command.params['project'] = project unless project.nil?
10594
+ command.params['zone'] = zone unless zone.nil?
10595
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
10596
+ command.query['requestId'] = request_id unless request_id.nil?
10597
+ command.query['fields'] = fields unless fields.nil?
10598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10599
+ command.query['userIp'] = user_ip unless user_ip.nil?
10600
+ execute_or_queue_command(command, &block)
10601
+ end
10602
+
10603
+ # Adds a list of instances to the specified instance group. All of the instances
10604
+ # in the instance group must be in the same network/subnetwork. Read Adding
10605
+ # instances for more information.
10606
+ # @param [String] project
10607
+ # Project ID for this request.
10608
+ # @param [String] zone
10609
+ # The name of the zone where the instance group is located.
10610
+ # @param [String] instance_group
10611
+ # The name of the instance group where you are adding instances.
10612
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupsAddInstancesRequest] instance_groups_add_instances_request_object
10613
+ # @param [String] request_id
10614
+ # An optional request ID to identify requests. Specify a unique request ID so
10615
+ # that if you must retry your request, the server will know to ignore the
10616
+ # request if it has already been completed.
10617
+ # For example, consider a situation where you make an initial request and the
10618
+ # request times out. If you make the request again with the same request ID, the
10619
+ # server can check if original operation with the same request ID was received,
10620
+ # and if so, will ignore the second request. This prevents clients from
10621
+ # accidentally creating duplicate commitments.
10622
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10623
+ # supported (00000000-0000-0000-0000-000000000000).
10624
+ # @param [String] fields
10625
+ # Selector specifying which fields to include in a partial response.
10626
+ # @param [String] quota_user
10627
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10628
+ # characters.
10629
+ # @param [String] user_ip
10630
+ # Deprecated. Please use quotaUser instead.
10631
+ # @param [Google::Apis::RequestOptions] options
10632
+ # Request-specific options
10633
+ #
10634
+ # @yield [result, err] Result & error if block supplied
10635
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
10636
+ # @yieldparam err [StandardError] error object if request failed
10637
+ #
10638
+ # @return [Google::Apis::ComputeAlpha::Operation]
10639
+ #
10640
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10641
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10642
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10643
+ def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10644
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options)
10645
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsAddInstancesRequest::Representation
10646
+ command.request_object = instance_groups_add_instances_request_object
10647
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10648
+ command.response_class = Google::Apis::ComputeAlpha::Operation
10649
+ command.params['project'] = project unless project.nil?
10650
+ command.params['zone'] = zone unless zone.nil?
10651
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
10652
+ command.query['requestId'] = request_id unless request_id.nil?
10653
+ command.query['fields'] = fields unless fields.nil?
10654
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10655
+ command.query['userIp'] = user_ip unless user_ip.nil?
10656
+ execute_or_queue_command(command, &block)
10657
+ end
10658
+
10659
+ # Retrieves the list of instance groups and sorts them by zone.
10660
+ # @param [String] project
10661
+ # Project ID for this request.
10662
+ # @param [String] filter
10663
+ # A filter expression that filters resources listed in the response. The
10664
+ # expression must specify the field name, a comparison operator, and the value
10665
+ # that you want to use for filtering. The value must be a string, a number, or a
10666
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
10667
+ # For example, if you are filtering Compute Engine instances, you can exclude
10668
+ # instances named `example-instance` by specifying `name != example-instance`.
10669
+ # You can also filter nested fields. For example, you could specify `scheduling.
10670
+ # automaticRestart = false` to include instances only if they are not scheduled
10671
+ # for automatic restarts. You can use filtering on nested fields to filter based
10672
+ # on resource labels.
10673
+ # To filter on multiple expressions, provide each separate expression within
10674
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
10675
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
10676
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
10677
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
10678
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
10679
+ # @param [Boolean] include_all_scopes
10680
+ # Indicates whether every visible scope for each scope type (zone, region,
10681
+ # global) should be included in the response. For new resource types added after
10682
+ # this field, the flag has no effect as new resource types will always include
10683
+ # every visible scope for each scope type in response. For resource types which
10684
+ # predate this field, if this flag is omitted or false, only scopes of the scope
10685
+ # types where the resource type is expected to be found will be included.
10686
+ # @param [Fixnum] max_results
10687
+ # The maximum number of results per page that should be returned. If the number
10688
+ # of available results is larger than `maxResults`, Compute Engine returns a `
10689
+ # nextPageToken` that can be used to get the next page of results in subsequent
10690
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
10691
+ # @param [String] order_by
10692
+ # Sorts list results by a certain order. By default, results are returned in
10693
+ # alphanumerical order based on the resource name.
10694
+ # You can also sort results in descending order based on the creation timestamp
10695
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
10696
+ # creationTimestamp` field in reverse chronological order (newest result first).
10697
+ # Use this to sort resources like operations so that the newest operation is
10698
+ # returned first.
10699
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
10700
+ # @param [String] page_token
10701
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
10702
+ # by a previous list request to get the next page of results.
10703
+ # @param [Boolean] return_partial_success
10704
+ # Opt-in for partial success behavior which provides partial results in case of
10705
+ # failure. The default value is false.
10706
+ # @param [String] fields
10707
+ # Selector specifying which fields to include in a partial response.
10708
+ # @param [String] quota_user
10709
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10710
+ # characters.
10711
+ # @param [String] user_ip
10712
+ # Deprecated. Please use quotaUser instead.
10713
+ # @param [Google::Apis::RequestOptions] options
10714
+ # Request-specific options
10715
+ #
10716
+ # @yield [result, err] Result & error if block supplied
10717
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroupAggregatedList] parsed result object
10718
+ # @yieldparam err [StandardError] error object if request failed
10719
+ #
10720
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupAggregatedList]
10721
+ #
10722
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10723
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10724
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10725
+ def aggregated_instance_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)
10726
+ command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options)
10727
+ command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList::Representation
10728
+ command.response_class = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList
10729
+ command.params['project'] = project unless project.nil?
10730
+ command.query['filter'] = filter unless filter.nil?
10731
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
10732
+ command.query['maxResults'] = max_results unless max_results.nil?
10733
+ command.query['orderBy'] = order_by unless order_by.nil?
10734
+ command.query['pageToken'] = page_token unless page_token.nil?
10735
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10736
+ command.query['fields'] = fields unless fields.nil?
10737
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10738
+ command.query['userIp'] = user_ip unless user_ip.nil?
10739
+ execute_or_queue_command(command, &block)
10740
+ end
10741
+
10742
+ # Deletes the specified instance group. The instances in the group are not
10743
+ # deleted. Note that instance group must not belong to a backend service. Read
10744
+ # Deleting an instance group for more information.
10745
+ # @param [String] project
10746
+ # Project ID for this request.
10747
+ # @param [String] zone
10748
+ # The name of the zone where the instance group is located.
10749
+ # @param [String] instance_group
10750
+ # The name of the instance group to delete.
10426
10751
  # @param [String] request_id
10427
10752
  # An optional request ID to identify requests. Specify a unique request ID so
10428
10753
  # that if you must retry your request, the server will know to ignore the
@@ -10605,7 +10930,7 @@ module Google
10605
10930
  # by a previous list request to get the next page of results.
10606
10931
  # @param [Boolean] return_partial_success
10607
10932
  # Opt-in for partial success behavior which provides partial results in case of
10608
- # failure. The default value is false and the logic is the same as today.
10933
+ # failure. The default value is false.
10609
10934
  # @param [String] fields
10610
10935
  # Selector specifying which fields to include in a partial response.
10611
10936
  # @param [String] quota_user
@@ -10688,7 +11013,7 @@ module Google
10688
11013
  # by a previous list request to get the next page of results.
10689
11014
  # @param [Boolean] return_partial_success
10690
11015
  # Opt-in for partial success behavior which provides partial results in case of
10691
- # failure. The default value is false and the logic is the same as today.
11016
+ # failure. The default value is false.
10692
11017
  # @param [String] fields
10693
11018
  # Selector specifying which fields to include in a partial response.
10694
11019
  # @param [String] quota_user
@@ -11100,7 +11425,7 @@ module Google
11100
11425
  # by a previous list request to get the next page of results.
11101
11426
  # @param [Boolean] return_partial_success
11102
11427
  # Opt-in for partial success behavior which provides partial results in case of
11103
- # failure. The default value is false and the logic is the same as today.
11428
+ # failure. The default value is false.
11104
11429
  # @param [String] fields
11105
11430
  # Selector specifying which fields to include in a partial response.
11106
11431
  # @param [String] quota_user
@@ -11375,7 +11700,7 @@ module Google
11375
11700
  # by a previous list request to get the next page of results.
11376
11701
  # @param [Boolean] return_partial_success
11377
11702
  # Opt-in for partial success behavior which provides partial results in case of
11378
- # failure. The default value is false and the logic is the same as today.
11703
+ # failure. The default value is false.
11379
11704
  # @param [String] fields
11380
11705
  # Selector specifying which fields to include in a partial response.
11381
11706
  # @param [String] quota_user
@@ -12143,7 +12468,7 @@ module Google
12143
12468
  # by a previous list request to get the next page of results.
12144
12469
  # @param [Boolean] return_partial_success
12145
12470
  # Opt-in for partial success behavior which provides partial results in case of
12146
- # failure. The default value is false and the logic is the same as today.
12471
+ # failure. The default value is false.
12147
12472
  # @param [String] fields
12148
12473
  # Selector specifying which fields to include in a partial response.
12149
12474
  # @param [String] quota_user
@@ -12227,7 +12552,7 @@ module Google
12227
12552
  # by a previous list request to get the next page of results.
12228
12553
  # @param [Boolean] return_partial_success
12229
12554
  # Opt-in for partial success behavior which provides partial results in case of
12230
- # failure. The default value is false and the logic is the same as today.
12555
+ # failure. The default value is false.
12231
12556
  # @param [String] fields
12232
12557
  # Selector specifying which fields to include in a partial response.
12233
12558
  # @param [String] quota_user
@@ -12425,6 +12750,44 @@ module Google
12425
12750
  execute_or_queue_command(command, &block)
12426
12751
  end
12427
12752
 
12753
+ # TODO(b/180520210): Add IAM permission for this API. Sends diagnostic interrupt
12754
+ # to the instance.
12755
+ # @param [String] project
12756
+ # Project ID for this request.
12757
+ # @param [String] zone
12758
+ # The name of the zone for this request.
12759
+ # @param [String] instance
12760
+ # Name of the instance scoping this request.
12761
+ # @param [String] fields
12762
+ # Selector specifying which fields to include in a partial response.
12763
+ # @param [String] quota_user
12764
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
12765
+ # characters.
12766
+ # @param [String] user_ip
12767
+ # Deprecated. Please use quotaUser instead.
12768
+ # @param [Google::Apis::RequestOptions] options
12769
+ # Request-specific options
12770
+ #
12771
+ # @yield [result, err] Result & error if block supplied
12772
+ # @yieldparam result [NilClass] No result returned for this method
12773
+ # @yieldparam err [StandardError] error object if request failed
12774
+ #
12775
+ # @return [void]
12776
+ #
12777
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12778
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12779
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12780
+ def send_instance_diagnostic_interrupt(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12781
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt', options)
12782
+ command.params['project'] = project unless project.nil?
12783
+ command.params['zone'] = zone unless zone.nil?
12784
+ command.params['instance'] = instance unless instance.nil?
12785
+ command.query['fields'] = fields unless fields.nil?
12786
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12787
+ command.query['userIp'] = user_ip unless user_ip.nil?
12788
+ execute_or_queue_command(command, &block)
12789
+ end
12790
+
12428
12791
  # Sets deletion protection on the instance.
12429
12792
  # @param [String] project
12430
12793
  # Project ID for this request.
@@ -13895,7 +14258,7 @@ module Google
13895
14258
  # by a previous list request to get the next page of results.
13896
14259
  # @param [Boolean] return_partial_success
13897
14260
  # Opt-in for partial success behavior which provides partial results in case of
13898
- # failure. The default value is false and the logic is the same as today.
14261
+ # failure. The default value is false.
13899
14262
  # @param [String] fields
13900
14263
  # Selector specifying which fields to include in a partial response.
13901
14264
  # @param [String] quota_user
@@ -14162,7 +14525,7 @@ module Google
14162
14525
  # by a previous list request to get the next page of results.
14163
14526
  # @param [Boolean] return_partial_success
14164
14527
  # Opt-in for partial success behavior which provides partial results in case of
14165
- # failure. The default value is false and the logic is the same as today.
14528
+ # failure. The default value is false.
14166
14529
  # @param [String] fields
14167
14530
  # Selector specifying which fields to include in a partial response.
14168
14531
  # @param [String] quota_user
@@ -14472,7 +14835,7 @@ module Google
14472
14835
  # by a previous list request to get the next page of results.
14473
14836
  # @param [Boolean] return_partial_success
14474
14837
  # Opt-in for partial success behavior which provides partial results in case of
14475
- # failure. The default value is false and the logic is the same as today.
14838
+ # failure. The default value is false.
14476
14839
  # @param [String] fields
14477
14840
  # Selector specifying which fields to include in a partial response.
14478
14841
  # @param [String] quota_user
@@ -14796,7 +15159,7 @@ module Google
14796
15159
  # by a previous list request to get the next page of results.
14797
15160
  # @param [Boolean] return_partial_success
14798
15161
  # Opt-in for partial success behavior which provides partial results in case of
14799
- # failure. The default value is false and the logic is the same as today.
15162
+ # failure. The default value is false.
14800
15163
  # @param [String] fields
14801
15164
  # Selector specifying which fields to include in a partial response.
14802
15165
  # @param [String] quota_user
@@ -15388,7 +15751,7 @@ module Google
15388
15751
  # by a previous list request to get the next page of results.
15389
15752
  # @param [Boolean] return_partial_success
15390
15753
  # Opt-in for partial success behavior which provides partial results in case of
15391
- # failure. The default value is false and the logic is the same as today.
15754
+ # failure. The default value is false.
15392
15755
  # @param [String] fields
15393
15756
  # Selector specifying which fields to include in a partial response.
15394
15757
  # @param [String] quota_user
@@ -15726,7 +16089,7 @@ module Google
15726
16089
  # by a previous list request to get the next page of results.
15727
16090
  # @param [Boolean] return_partial_success
15728
16091
  # Opt-in for partial success behavior which provides partial results in case of
15729
- # failure. The default value is false and the logic is the same as today.
16092
+ # failure. The default value is false.
15730
16093
  # @param [String] fields
15731
16094
  # Selector specifying which fields to include in a partial response.
15732
16095
  # @param [String] quota_user
@@ -15887,7 +16250,7 @@ module Google
15887
16250
  # by a previous list request to get the next page of results.
15888
16251
  # @param [Boolean] return_partial_success
15889
16252
  # Opt-in for partial success behavior which provides partial results in case of
15890
- # failure. The default value is false and the logic is the same as today.
16253
+ # failure. The default value is false.
15891
16254
  # @param [String] fields
15892
16255
  # Selector specifying which fields to include in a partial response.
15893
16256
  # @param [String] quota_user
@@ -16005,7 +16368,7 @@ module Google
16005
16368
  # by a previous list request to get the next page of results.
16006
16369
  # @param [Boolean] return_partial_success
16007
16370
  # Opt-in for partial success behavior which provides partial results in case of
16008
- # failure. The default value is false and the logic is the same as today.
16371
+ # failure. The default value is false.
16009
16372
  # @param [String] fields
16010
16373
  # Selector specifying which fields to include in a partial response.
16011
16374
  # @param [String] quota_user
@@ -16088,7 +16451,7 @@ module Google
16088
16451
  # by a previous list request to get the next page of results.
16089
16452
  # @param [Boolean] return_partial_success
16090
16453
  # Opt-in for partial success behavior which provides partial results in case of
16091
- # failure. The default value is false and the logic is the same as today.
16454
+ # failure. The default value is false.
16092
16455
  # @param [String] fields
16093
16456
  # Selector specifying which fields to include in a partial response.
16094
16457
  # @param [String] quota_user
@@ -16430,7 +16793,7 @@ module Google
16430
16793
  # by a previous list request to get the next page of results.
16431
16794
  # @param [Boolean] return_partial_success
16432
16795
  # Opt-in for partial success behavior which provides partial results in case of
16433
- # failure. The default value is false and the logic is the same as today.
16796
+ # failure. The default value is false.
16434
16797
  # @param [String] fields
16435
16798
  # Selector specifying which fields to include in a partial response.
16436
16799
  # @param [String] quota_user
@@ -16513,7 +16876,7 @@ module Google
16513
16876
  # by a previous list request to get the next page of results.
16514
16877
  # @param [Boolean] return_partial_success
16515
16878
  # Opt-in for partial success behavior which provides partial results in case of
16516
- # failure. The default value is false and the logic is the same as today.
16879
+ # failure. The default value is false.
16517
16880
  # @param [String] fields
16518
16881
  # Selector specifying which fields to include in a partial response.
16519
16882
  # @param [String] quota_user
@@ -16657,6 +17020,17 @@ module Google
16657
17020
  # @param [String] firewall_policy
16658
17021
  # Name of the firewall policy to update.
16659
17022
  # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
17023
+ # @param [String] request_id
17024
+ # An optional request ID to identify requests. Specify a unique request ID so
17025
+ # that if you must retry your request, the server will know to ignore the
17026
+ # request if it has already been completed.
17027
+ # For example, consider a situation where you make an initial request and the
17028
+ # request times out. If you make the request again with the same request ID, the
17029
+ # server can check if original operation with the same request ID was received,
17030
+ # and if so, will ignore the second request. This prevents clients from
17031
+ # accidentally creating duplicate commitments.
17032
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17033
+ # supported (00000000-0000-0000-0000-000000000000).
16660
17034
  # @param [String] fields
16661
17035
  # Selector specifying which fields to include in a partial response.
16662
17036
  # @param [String] quota_user
@@ -16676,7 +17050,7 @@ module Google
16676
17050
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16677
17051
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16678
17052
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16679
- def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17053
+ def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16680
17054
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule', options)
16681
17055
  command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
16682
17056
  command.request_object = firewall_policy_rule_object
@@ -16684,6 +17058,7 @@ module Google
16684
17058
  command.response_class = Google::Apis::ComputeAlpha::Operation
16685
17059
  command.params['project'] = project unless project.nil?
16686
17060
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
17061
+ command.query['requestId'] = request_id unless request_id.nil?
16687
17062
  command.query['fields'] = fields unless fields.nil?
16688
17063
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16689
17064
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16829,7 +17204,7 @@ module Google
16829
17204
  # @param [String] project
16830
17205
  # Project ID for this request.
16831
17206
  # @param [String] firewall_policy
16832
- # Name of the firewall policy to which the queried rule belongs.
17207
+ # Name of the firewall policy to which the queried association belongs.
16833
17208
  # @param [String] name
16834
17209
  # The name of the association to get from the firewall policy.
16835
17210
  # @param [String] fields
@@ -17031,7 +17406,7 @@ module Google
17031
17406
  # by a previous list request to get the next page of results.
17032
17407
  # @param [Boolean] return_partial_success
17033
17408
  # Opt-in for partial success behavior which provides partial results in case of
17034
- # failure. The default value is false and the logic is the same as today.
17409
+ # failure. The default value is false.
17035
17410
  # @param [String] fields
17036
17411
  # Selector specifying which fields to include in a partial response.
17037
17412
  # @param [String] quota_user
@@ -17126,6 +17501,17 @@ module Google
17126
17501
  # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
17127
17502
  # @param [Fixnum] priority
17128
17503
  # The priority of the rule to patch.
17504
+ # @param [String] request_id
17505
+ # An optional request ID to identify requests. Specify a unique request ID so
17506
+ # that if you must retry your request, the server will know to ignore the
17507
+ # request if it has already been completed.
17508
+ # For example, consider a situation where you make an initial request and the
17509
+ # request times out. If you make the request again with the same request ID, the
17510
+ # server can check if original operation with the same request ID was received,
17511
+ # and if so, will ignore the second request. This prevents clients from
17512
+ # accidentally creating duplicate commitments.
17513
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17514
+ # supported (00000000-0000-0000-0000-000000000000).
17129
17515
  # @param [String] fields
17130
17516
  # Selector specifying which fields to include in a partial response.
17131
17517
  # @param [String] quota_user
@@ -17145,7 +17531,7 @@ module Google
17145
17531
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17146
17532
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17147
17533
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17148
- def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17534
+ def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17149
17535
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule', options)
17150
17536
  command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
17151
17537
  command.request_object = firewall_policy_rule_object
@@ -17154,6 +17540,7 @@ module Google
17154
17540
  command.params['project'] = project unless project.nil?
17155
17541
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
17156
17542
  command.query['priority'] = priority unless priority.nil?
17543
+ command.query['requestId'] = request_id unless request_id.nil?
17157
17544
  command.query['fields'] = fields unless fields.nil?
17158
17545
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17159
17546
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -17218,6 +17605,17 @@ module Google
17218
17605
  # Name of the firewall policy to update.
17219
17606
  # @param [Fixnum] priority
17220
17607
  # The priority of the rule to remove from the firewall policy.
17608
+ # @param [String] request_id
17609
+ # An optional request ID to identify requests. Specify a unique request ID so
17610
+ # that if you must retry your request, the server will know to ignore the
17611
+ # request if it has already been completed.
17612
+ # For example, consider a situation where you make an initial request and the
17613
+ # request times out. If you make the request again with the same request ID, the
17614
+ # server can check if original operation with the same request ID was received,
17615
+ # and if so, will ignore the second request. This prevents clients from
17616
+ # accidentally creating duplicate commitments.
17617
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17618
+ # supported (00000000-0000-0000-0000-000000000000).
17221
17619
  # @param [String] fields
17222
17620
  # Selector specifying which fields to include in a partial response.
17223
17621
  # @param [String] quota_user
@@ -17237,13 +17635,14 @@ module Google
17237
17635
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17238
17636
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17239
17637
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17240
- def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17638
+ def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17241
17639
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule', options)
17242
17640
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17243
17641
  command.response_class = Google::Apis::ComputeAlpha::Operation
17244
17642
  command.params['project'] = project unless project.nil?
17245
17643
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
17246
17644
  command.query['priority'] = priority unless priority.nil?
17645
+ command.query['requestId'] = request_id unless request_id.nil?
17247
17646
  command.query['fields'] = fields unless fields.nil?
17248
17647
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17249
17648
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -17589,7 +17988,7 @@ module Google
17589
17988
  # by a previous list request to get the next page of results.
17590
17989
  # @param [Boolean] return_partial_success
17591
17990
  # Opt-in for partial success behavior which provides partial results in case of
17592
- # failure. The default value is false and the logic is the same as today.
17991
+ # failure. The default value is false.
17593
17992
  # @param [String] fields
17594
17993
  # Selector specifying which fields to include in a partial response.
17595
17994
  # @param [String] quota_user
@@ -17666,7 +18065,7 @@ module Google
17666
18065
  # by a previous list request to get the next page of results.
17667
18066
  # @param [Boolean] return_partial_success
17668
18067
  # Opt-in for partial success behavior which provides partial results in case of
17669
- # failure. The default value is false and the logic is the same as today.
18068
+ # failure. The default value is false.
17670
18069
  # @param [String] types
17671
18070
  # (Optional) types filter separate by comma, valid values are: SUBNETWORK,
17672
18071
  # RESERVED, PEER_USED, PEER_RESERVED, REMOTE_USED, REMOTE_RESERVED.
@@ -17754,7 +18153,7 @@ module Google
17754
18153
  # by a previous list request to get the next page of results.
17755
18154
  # @param [Boolean] return_partial_success
17756
18155
  # Opt-in for partial success behavior which provides partial results in case of
17757
- # failure. The default value is false and the logic is the same as today.
18156
+ # failure. The default value is false.
17758
18157
  # @param [String] subnet_name
17759
18158
  # (Optional) Subnetwork name filter.
17760
18159
  # @param [String] subnet_region
@@ -17848,7 +18247,7 @@ module Google
17848
18247
  # routes and dynamic routes in the region.
17849
18248
  # @param [Boolean] return_partial_success
17850
18249
  # Opt-in for partial success behavior which provides partial results in case of
17851
- # failure. The default value is false and the logic is the same as today.
18250
+ # failure. The default value is false.
17852
18251
  # @param [String] fields
17853
18252
  # Selector specifying which fields to include in a partial response.
17854
18253
  # @param [String] quota_user
@@ -18232,7 +18631,7 @@ module Google
18232
18631
  # by a previous list request to get the next page of results.
18233
18632
  # @param [Boolean] return_partial_success
18234
18633
  # Opt-in for partial success behavior which provides partial results in case of
18235
- # failure. The default value is false and the logic is the same as today.
18634
+ # failure. The default value is false.
18236
18635
  # @param [String] fields
18237
18636
  # Selector specifying which fields to include in a partial response.
18238
18637
  # @param [String] quota_user
@@ -18555,7 +18954,7 @@ module Google
18555
18954
  # by a previous list request to get the next page of results.
18556
18955
  # @param [Boolean] return_partial_success
18557
18956
  # Opt-in for partial success behavior which provides partial results in case of
18558
- # failure. The default value is false and the logic is the same as today.
18957
+ # failure. The default value is false.
18559
18958
  # @param [String] fields
18560
18959
  # Selector specifying which fields to include in a partial response.
18561
18960
  # @param [String] quota_user
@@ -18635,7 +19034,7 @@ module Google
18635
19034
  # by a previous list request to get the next page of results.
18636
19035
  # @param [Boolean] return_partial_success
18637
19036
  # Opt-in for partial success behavior which provides partial results in case of
18638
- # failure. The default value is false and the logic is the same as today.
19037
+ # failure. The default value is false.
18639
19038
  # @param [String] fields
18640
19039
  # Selector specifying which fields to include in a partial response.
18641
19040
  # @param [String] quota_user
@@ -18912,7 +19311,7 @@ module Google
18912
19311
  # by a previous list request to get the next page of results.
18913
19312
  # @param [Boolean] return_partial_success
18914
19313
  # Opt-in for partial success behavior which provides partial results in case of
18915
- # failure. The default value is false and the logic is the same as today.
19314
+ # failure. The default value is false.
18916
19315
  # @param [String] fields
18917
19316
  # Selector specifying which fields to include in a partial response.
18918
19317
  # @param [String] quota_user
@@ -19176,7 +19575,7 @@ module Google
19176
19575
  # by a previous list request to get the next page of results.
19177
19576
  # @param [Boolean] return_partial_success
19178
19577
  # Opt-in for partial success behavior which provides partial results in case of
19179
- # failure. The default value is false and the logic is the same as today.
19578
+ # failure. The default value is false.
19180
19579
  # @param [String] fields
19181
19580
  # Selector specifying which fields to include in a partial response.
19182
19581
  # @param [String] quota_user
@@ -19344,7 +19743,7 @@ module Google
19344
19743
  # by a previous list request to get the next page of results.
19345
19744
  # @param [Boolean] return_partial_success
19346
19745
  # Opt-in for partial success behavior which provides partial results in case of
19347
- # failure. The default value is false and the logic is the same as today.
19746
+ # failure. The default value is false.
19348
19747
  # @param [String] fields
19349
19748
  # Selector specifying which fields to include in a partial response.
19350
19749
  # @param [String] quota_user
@@ -19462,7 +19861,7 @@ module Google
19462
19861
  # by a previous list request to get the next page of results.
19463
19862
  # @param [Boolean] return_partial_success
19464
19863
  # Opt-in for partial success behavior which provides partial results in case of
19465
- # failure. The default value is false and the logic is the same as today.
19864
+ # failure. The default value is false.
19466
19865
  # @param [String] fields
19467
19866
  # Selector specifying which fields to include in a partial response.
19468
19867
  # @param [String] quota_user
@@ -19888,7 +20287,7 @@ module Google
19888
20287
  # Parent ID for this request.
19889
20288
  # @param [Boolean] return_partial_success
19890
20289
  # Opt-in for partial success behavior which provides partial results in case of
19891
- # failure. The default value is false and the logic is the same as today.
20290
+ # failure. The default value is false.
19892
20291
  # @param [String] fields
19893
20292
  # Selector specifying which fields to include in a partial response.
19894
20293
  # @param [String] quota_user
@@ -20246,7 +20645,7 @@ module Google
20246
20645
  # by a previous list request to get the next page of results.
20247
20646
  # @param [Boolean] return_partial_success
20248
20647
  # Opt-in for partial success behavior which provides partial results in case of
20249
- # failure. The default value is false and the logic is the same as today.
20648
+ # failure. The default value is false.
20250
20649
  # @param [String] fields
20251
20650
  # Selector specifying which fields to include in a partial response.
20252
20651
  # @param [String] quota_user
@@ -20467,7 +20866,7 @@ module Google
20467
20866
  # by a previous list request to get the next page of results.
20468
20867
  # @param [Boolean] return_partial_success
20469
20868
  # Opt-in for partial success behavior which provides partial results in case of
20470
- # failure. The default value is false and the logic is the same as today.
20869
+ # failure. The default value is false.
20471
20870
  # @param [String] fields
20472
20871
  # Selector specifying which fields to include in a partial response.
20473
20872
  # @param [String] quota_user
@@ -20897,7 +21296,7 @@ module Google
20897
21296
  # by a previous list request to get the next page of results.
20898
21297
  # @param [Boolean] return_partial_success
20899
21298
  # Opt-in for partial success behavior which provides partial results in case of
20900
- # failure. The default value is false and the logic is the same as today.
21299
+ # failure. The default value is false.
20901
21300
  # @param [String] fields
20902
21301
  # Selector specifying which fields to include in a partial response.
20903
21302
  # @param [String] quota_user
@@ -20973,7 +21372,7 @@ module Google
20973
21372
  # by a previous list request to get the next page of results.
20974
21373
  # @param [Boolean] return_partial_success
20975
21374
  # Opt-in for partial success behavior which provides partial results in case of
20976
- # failure. The default value is false and the logic is the same as today.
21375
+ # failure. The default value is false.
20977
21376
  # @param [String] fields
20978
21377
  # Selector specifying which fields to include in a partial response.
20979
21378
  # @param [String] quota_user
@@ -21478,7 +21877,7 @@ module Google
21478
21877
  # by a previous list request to get the next page of results.
21479
21878
  # @param [Boolean] return_partial_success
21480
21879
  # Opt-in for partial success behavior which provides partial results in case of
21481
- # failure. The default value is false and the logic is the same as today.
21880
+ # failure. The default value is false.
21482
21881
  # @param [String] fields
21483
21882
  # Selector specifying which fields to include in a partial response.
21484
21883
  # @param [String] quota_user
@@ -21614,7 +22013,7 @@ module Google
21614
22013
  # by a previous list request to get the next page of results.
21615
22014
  # @param [Boolean] return_partial_success
21616
22015
  # Opt-in for partial success behavior which provides partial results in case of
21617
- # failure. The default value is false and the logic is the same as today.
22016
+ # failure. The default value is false.
21618
22017
  # @param [String] fields
21619
22018
  # Selector specifying which fields to include in a partial response.
21620
22019
  # @param [String] quota_user
@@ -21834,7 +22233,7 @@ module Google
21834
22233
  # by a previous list request to get the next page of results.
21835
22234
  # @param [Boolean] return_partial_success
21836
22235
  # Opt-in for partial success behavior which provides partial results in case of
21837
- # failure. The default value is false and the logic is the same as today.
22236
+ # failure. The default value is false.
21838
22237
  # @param [String] fields
21839
22238
  # Selector specifying which fields to include in a partial response.
21840
22239
  # @param [String] quota_user
@@ -22110,7 +22509,7 @@ module Google
22110
22509
  # by a previous list request to get the next page of results.
22111
22510
  # @param [Boolean] return_partial_success
22112
22511
  # Opt-in for partial success behavior which provides partial results in case of
22113
- # failure. The default value is false and the logic is the same as today.
22512
+ # failure. The default value is false.
22114
22513
  # @param [String] fields
22115
22514
  # Selector specifying which fields to include in a partial response.
22116
22515
  # @param [String] quota_user
@@ -22526,7 +22925,7 @@ module Google
22526
22925
  # by a previous list request to get the next page of results.
22527
22926
  # @param [Boolean] return_partial_success
22528
22927
  # Opt-in for partial success behavior which provides partial results in case of
22529
- # failure. The default value is false and the logic is the same as today.
22928
+ # failure. The default value is false.
22530
22929
  # @param [String] fields
22531
22930
  # Selector specifying which fields to include in a partial response.
22532
22931
  # @param [String] quota_user
@@ -22763,7 +23162,7 @@ module Google
22763
23162
  # by a previous list request to get the next page of results.
22764
23163
  # @param [Boolean] return_partial_success
22765
23164
  # Opt-in for partial success behavior which provides partial results in case of
22766
- # failure. The default value is false and the logic is the same as today.
23165
+ # failure. The default value is false.
22767
23166
  # @param [String] fields
22768
23167
  # Selector specifying which fields to include in a partial response.
22769
23168
  # @param [String] quota_user
@@ -22933,7 +23332,7 @@ module Google
22933
23332
  # by a previous list request to get the next page of results.
22934
23333
  # @param [Boolean] return_partial_success
22935
23334
  # Opt-in for partial success behavior which provides partial results in case of
22936
- # failure. The default value is false and the logic is the same as today.
23335
+ # failure. The default value is false.
22937
23336
  # @param [String] fields
22938
23337
  # Selector specifying which fields to include in a partial response.
22939
23338
  # @param [String] quota_user
@@ -23147,7 +23546,7 @@ module Google
23147
23546
  # by a previous list request to get the next page of results.
23148
23547
  # @param [Boolean] return_partial_success
23149
23548
  # Opt-in for partial success behavior which provides partial results in case of
23150
- # failure. The default value is false and the logic is the same as today.
23549
+ # failure. The default value is false.
23151
23550
  # @param [String] fields
23152
23551
  # Selector specifying which fields to include in a partial response.
23153
23552
  # @param [String] quota_user
@@ -23530,7 +23929,7 @@ module Google
23530
23929
  # by a previous list request to get the next page of results.
23531
23930
  # @param [Boolean] return_partial_success
23532
23931
  # Opt-in for partial success behavior which provides partial results in case of
23533
- # failure. The default value is false and the logic is the same as today.
23932
+ # failure. The default value is false.
23534
23933
  # @param [String] fields
23535
23934
  # Selector specifying which fields to include in a partial response.
23536
23935
  # @param [String] quota_user
@@ -23861,7 +24260,7 @@ module Google
23861
24260
  # by a previous list request to get the next page of results.
23862
24261
  # @param [Boolean] return_partial_success
23863
24262
  # Opt-in for partial success behavior which provides partial results in case of
23864
- # failure. The default value is false and the logic is the same as today.
24263
+ # failure. The default value is false.
23865
24264
  # @param [String] fields
23866
24265
  # Selector specifying which fields to include in a partial response.
23867
24266
  # @param [String] quota_user
@@ -24084,7 +24483,7 @@ module Google
24084
24483
  # by a previous list request to get the next page of results.
24085
24484
  # @param [Boolean] return_partial_success
24086
24485
  # Opt-in for partial success behavior which provides partial results in case of
24087
- # failure. The default value is false and the logic is the same as today.
24486
+ # failure. The default value is false.
24088
24487
  # @param [String] fields
24089
24488
  # Selector specifying which fields to include in a partial response.
24090
24489
  # @param [String] quota_user
@@ -24404,7 +24803,7 @@ module Google
24404
24803
  # by a previous list request to get the next page of results.
24405
24804
  # @param [Boolean] return_partial_success
24406
24805
  # Opt-in for partial success behavior which provides partial results in case of
24407
- # failure. The default value is false and the logic is the same as today.
24806
+ # failure. The default value is false.
24408
24807
  # @param [String] fields
24409
24808
  # Selector specifying which fields to include in a partial response.
24410
24809
  # @param [String] quota_user
@@ -24825,7 +25224,7 @@ module Google
24825
25224
  # by a previous list request to get the next page of results.
24826
25225
  # @param [Boolean] return_partial_success
24827
25226
  # Opt-in for partial success behavior which provides partial results in case of
24828
- # failure. The default value is false and the logic is the same as today.
25227
+ # failure. The default value is false.
24829
25228
  # @param [String] fields
24830
25229
  # Selector specifying which fields to include in a partial response.
24831
25230
  # @param [String] quota_user
@@ -25464,7 +25863,7 @@ module Google
25464
25863
  # by a previous list request to get the next page of results.
25465
25864
  # @param [Boolean] return_partial_success
25466
25865
  # Opt-in for partial success behavior which provides partial results in case of
25467
- # failure. The default value is false and the logic is the same as today.
25866
+ # failure. The default value is false.
25468
25867
  # @param [String] fields
25469
25868
  # Selector specifying which fields to include in a partial response.
25470
25869
  # @param [String] quota_user
@@ -25547,7 +25946,7 @@ module Google
25547
25946
  # by a previous list request to get the next page of results.
25548
25947
  # @param [Boolean] return_partial_success
25549
25948
  # Opt-in for partial success behavior which provides partial results in case of
25550
- # failure. The default value is false and the logic is the same as today.
25949
+ # failure. The default value is false.
25551
25950
  # @param [String] fields
25552
25951
  # Selector specifying which fields to include in a partial response.
25553
25952
  # @param [String] quota_user
@@ -25630,7 +26029,7 @@ module Google
25630
26029
  # by a previous list request to get the next page of results.
25631
26030
  # @param [Boolean] return_partial_success
25632
26031
  # Opt-in for partial success behavior which provides partial results in case of
25633
- # failure. The default value is false and the logic is the same as today.
26032
+ # failure. The default value is false.
25634
26033
  # @param [String] fields
25635
26034
  # Selector specifying which fields to include in a partial response.
25636
26035
  # @param [String] quota_user
@@ -25712,7 +26111,7 @@ module Google
25712
26111
  # by a previous list request to get the next page of results.
25713
26112
  # @param [Boolean] return_partial_success
25714
26113
  # Opt-in for partial success behavior which provides partial results in case of
25715
- # failure. The default value is false and the logic is the same as today.
26114
+ # failure. The default value is false.
25716
26115
  # @param [String] fields
25717
26116
  # Selector specifying which fields to include in a partial response.
25718
26117
  # @param [String] quota_user
@@ -26058,6 +26457,71 @@ module Google
26058
26457
  execute_or_queue_command(command, &block)
26059
26458
  end
26060
26459
 
26460
+ # Flags the specified instances in the managed instance group to be resumed.
26461
+ # This method increases the targetSize and decreases the targetSuspendedSize of
26462
+ # the managed instance group by the number of instances that you resume. The
26463
+ # resumeInstances operation is marked DONE if the resumeInstances request is
26464
+ # successful. The underlying actions take additional time. You must separately
26465
+ # verify the status of the RESUMING action with the listmanagedinstances method.
26466
+ # In this request, you can only specify instances that are suspended. For
26467
+ # example, if an instance was previously suspended using the suspendInstances
26468
+ # method, it can be resumed using the resumeInstances method.
26469
+ # If a health check is attached to the managed instance group, the specified
26470
+ # instances will be verified as healthy after they are resumed.
26471
+ # You can specify a maximum of 1000 instances with this method per request.
26472
+ # @param [String] project
26473
+ # Project ID for this request.
26474
+ # @param [String] region
26475
+ # Name of the region scoping this request.
26476
+ # @param [String] instance_group_manager
26477
+ # Name of the managed instance group.
26478
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersResumeInstancesRequest] region_instance_group_managers_resume_instances_request_object
26479
+ # @param [String] request_id
26480
+ # An optional request ID to identify requests. Specify a unique request ID so
26481
+ # that if you must retry your request, the server will know to ignore the
26482
+ # request if it has already been completed.
26483
+ # For example, consider a situation where you make an initial request and the
26484
+ # request times out. If you make the request again with the same request ID, the
26485
+ # server can check if original operation with the same request ID was received,
26486
+ # and if so, will ignore the second request. This prevents clients from
26487
+ # accidentally creating duplicate commitments.
26488
+ # The request ID must be a valid UUID with the exception that zero UUID is not
26489
+ # supported (00000000-0000-0000-0000-000000000000).
26490
+ # @param [String] fields
26491
+ # Selector specifying which fields to include in a partial response.
26492
+ # @param [String] quota_user
26493
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
26494
+ # characters.
26495
+ # @param [String] user_ip
26496
+ # Deprecated. Please use quotaUser instead.
26497
+ # @param [Google::Apis::RequestOptions] options
26498
+ # Request-specific options
26499
+ #
26500
+ # @yield [result, err] Result & error if block supplied
26501
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
26502
+ # @yieldparam err [StandardError] error object if request failed
26503
+ #
26504
+ # @return [Google::Apis::ComputeAlpha::Operation]
26505
+ #
26506
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26507
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26508
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26509
+ 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)
26510
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances', options)
26511
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersResumeInstancesRequest::Representation
26512
+ command.request_object = region_instance_group_managers_resume_instances_request_object
26513
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26514
+ command.response_class = Google::Apis::ComputeAlpha::Operation
26515
+ command.params['project'] = project unless project.nil?
26516
+ command.params['region'] = region unless region.nil?
26517
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
26518
+ command.query['requestId'] = request_id unless request_id.nil?
26519
+ command.query['fields'] = fields unless fields.nil?
26520
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26521
+ command.query['userIp'] = user_ip unless user_ip.nil?
26522
+ execute_or_queue_command(command, &block)
26523
+ end
26524
+
26061
26525
  # Modifies the autohealing policy for the instances in this managed instance
26062
26526
  # group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.
26063
26527
  # patch instead.
@@ -26224,6 +26688,222 @@ module Google
26224
26688
  execute_or_queue_command(command, &block)
26225
26689
  end
26226
26690
 
26691
+ # Flags the specified instances in the managed instance group to be started.
26692
+ # This method increases the targetSize and decreases the targetStoppedSize of
26693
+ # the managed instance group by the number of instances that you start. The
26694
+ # startInstances operation is marked DONE if the startInstances request is
26695
+ # successful. The underlying actions take additional time. You must separately
26696
+ # verify the status of the STARTING action with the listmanagedinstances method.
26697
+ # In this request, you can only specify instances that are stopped. For example,
26698
+ # if an instance was previously stopped using the stopInstances method, it can
26699
+ # be started using the startInstances method.
26700
+ # If a health check is attached to the managed instance group, the specified
26701
+ # instances will be verified as healthy after they are started.
26702
+ # You can specify a maximum of 1000 instances with this method per request.
26703
+ # @param [String] project
26704
+ # Project ID for this request.
26705
+ # @param [String] region
26706
+ # Name of the region scoping this request.
26707
+ # @param [String] instance_group_manager
26708
+ # Name of the managed instance group.
26709
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersStartInstancesRequest] region_instance_group_managers_start_instances_request_object
26710
+ # @param [String] request_id
26711
+ # An optional request ID to identify requests. Specify a unique request ID so
26712
+ # that if you must retry your request, the server will know to ignore the
26713
+ # request if it has already been completed.
26714
+ # For example, consider a situation where you make an initial request and the
26715
+ # request times out. If you make the request again with the same request ID, the
26716
+ # server can check if original operation with the same request ID was received,
26717
+ # and if so, will ignore the second request. This prevents clients from
26718
+ # accidentally creating duplicate commitments.
26719
+ # The request ID must be a valid UUID with the exception that zero UUID is not
26720
+ # supported (00000000-0000-0000-0000-000000000000).
26721
+ # @param [String] fields
26722
+ # Selector specifying which fields to include in a partial response.
26723
+ # @param [String] quota_user
26724
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
26725
+ # characters.
26726
+ # @param [String] user_ip
26727
+ # Deprecated. Please use quotaUser instead.
26728
+ # @param [Google::Apis::RequestOptions] options
26729
+ # Request-specific options
26730
+ #
26731
+ # @yield [result, err] Result & error if block supplied
26732
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
26733
+ # @yieldparam err [StandardError] error object if request failed
26734
+ #
26735
+ # @return [Google::Apis::ComputeAlpha::Operation]
26736
+ #
26737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26740
+ 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)
26741
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances', options)
26742
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersStartInstancesRequest::Representation
26743
+ command.request_object = region_instance_group_managers_start_instances_request_object
26744
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26745
+ command.response_class = Google::Apis::ComputeAlpha::Operation
26746
+ command.params['project'] = project unless project.nil?
26747
+ command.params['region'] = region unless region.nil?
26748
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
26749
+ command.query['requestId'] = request_id unless request_id.nil?
26750
+ command.query['fields'] = fields unless fields.nil?
26751
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26752
+ command.query['userIp'] = user_ip unless user_ip.nil?
26753
+ execute_or_queue_command(command, &block)
26754
+ end
26755
+
26756
+ # Flags the specified instances in the managed instance group to be immediately
26757
+ # stopped. You can only specify instances that are running in this request. This
26758
+ # method reduces the targetSize and increases the targetStoppedSize of the
26759
+ # managed instance group by the number of instances that you stop. The
26760
+ # stopInstances operation is marked DONE if the stopInstances request is
26761
+ # successful. The underlying actions take additional time. You must separately
26762
+ # verify the status of the STOPPING action with the listmanagedinstances method.
26763
+ # If the instanceLifecyclePolicy.metadataBasedReadinessSignal field is set on
26764
+ # the Instance Group Manager, each instance will be initialized before it is
26765
+ # stopped, to give user programs time to perform necessary tasks. To initialize
26766
+ # an instance, the Instance Group Manager sets the metadata key google-compute-
26767
+ # initialization-intent to value INITIALIZE_AND_STOP on the instance, and waits
26768
+ # for the user program to signal it is ready. This is done by setting the guest
26769
+ # attribute path google-compute/initialization-state to value INITIALIZED. If
26770
+ # the instance does not signal successful initialization (does not set the guest
26771
+ # attribute to INITIALIZED) before timeout, the initialization is considered
26772
+ # failed and the instance is not stopped.
26773
+ # If the group is part of a backend service that has enabled connection draining,
26774
+ # it can take up to 60 seconds after the connection draining duration has
26775
+ # elapsed before the VM instance is suspended.
26776
+ # Stopped instances can be started using the startInstances method.
26777
+ # You can specify a maximum of 1000 instances with this method per request.
26778
+ # @param [String] project
26779
+ # Project ID for this request.
26780
+ # @param [String] region
26781
+ # Name of the region scoping this request.
26782
+ # @param [String] instance_group_manager
26783
+ # The name of the managed instance group.
26784
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersStopInstancesRequest] region_instance_group_managers_stop_instances_request_object
26785
+ # @param [String] request_id
26786
+ # An optional request ID to identify requests. Specify a unique request ID so
26787
+ # that if you must retry your request, the server will know to ignore the
26788
+ # request if it has already been completed.
26789
+ # For example, consider a situation where you make an initial request and the
26790
+ # request times out. If you make the request again with the same request ID, the
26791
+ # server can check if original operation with the same request ID was received,
26792
+ # and if so, will ignore the second request. This prevents clients from
26793
+ # accidentally creating duplicate commitments.
26794
+ # The request ID must be a valid UUID with the exception that zero UUID is not
26795
+ # supported (00000000-0000-0000-0000-000000000000).
26796
+ # @param [String] fields
26797
+ # Selector specifying which fields to include in a partial response.
26798
+ # @param [String] quota_user
26799
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
26800
+ # characters.
26801
+ # @param [String] user_ip
26802
+ # Deprecated. Please use quotaUser instead.
26803
+ # @param [Google::Apis::RequestOptions] options
26804
+ # Request-specific options
26805
+ #
26806
+ # @yield [result, err] Result & error if block supplied
26807
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
26808
+ # @yieldparam err [StandardError] error object if request failed
26809
+ #
26810
+ # @return [Google::Apis::ComputeAlpha::Operation]
26811
+ #
26812
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26813
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26814
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26815
+ 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)
26816
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances', options)
26817
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersStopInstancesRequest::Representation
26818
+ command.request_object = region_instance_group_managers_stop_instances_request_object
26819
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26820
+ command.response_class = Google::Apis::ComputeAlpha::Operation
26821
+ command.params['project'] = project unless project.nil?
26822
+ command.params['region'] = region unless region.nil?
26823
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
26824
+ command.query['requestId'] = request_id unless request_id.nil?
26825
+ command.query['fields'] = fields unless fields.nil?
26826
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26827
+ command.query['userIp'] = user_ip unless user_ip.nil?
26828
+ execute_or_queue_command(command, &block)
26829
+ end
26830
+
26831
+ # Flags the specified instances in the managed instance group to be immediately
26832
+ # suspended. You can only specify instances that are running in this request.
26833
+ # This method reduces the targetSize and increases the targetSuspendedSize of
26834
+ # the managed instance group by the number of instances that you suspend. The
26835
+ # suspendInstances operation is marked DONE if the suspendInstances request is
26836
+ # successful. The underlying actions take additional time. You must separately
26837
+ # verify the status of the SUSPENDING action with the listmanagedinstances
26838
+ # method.
26839
+ # If the instanceLifecyclePolicy.metadataBasedReadinessSignal field is set on
26840
+ # the Instance Group Manager, each instance will be initialized before it is
26841
+ # suspended, to give user programs time to perform necessary tasks. To
26842
+ # initialize an instance, the Instance Group Manager sets the metadata key
26843
+ # google-compute-initialization-intent to value INITIALIZE_AND_SUSPEND on the
26844
+ # instance, and waits for the user program to signal it is ready. This is done
26845
+ # by setting the guest attribute path google-compute/initialization-state to
26846
+ # value INITIALIZED. If the instance does not signal successful initialization (
26847
+ # does not set the guest attribute to INITIALIZED) before timeout, the
26848
+ # initialization is considered failed and the instance is not suspended.
26849
+ # If the group is part of a backend service that has enabled connection draining,
26850
+ # it can take up to 60 seconds after the connection draining duration has
26851
+ # elapsed before the VM instance is suspended.
26852
+ # Suspended instances can be resumed using the resumeInstances method.
26853
+ # You can specify a maximum of 1000 instances with this method per request.
26854
+ # @param [String] project
26855
+ # Project ID for this request.
26856
+ # @param [String] region
26857
+ # Name of the region scoping this request.
26858
+ # @param [String] instance_group_manager
26859
+ # Name of the managed instance group.
26860
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSuspendInstancesRequest] region_instance_group_managers_suspend_instances_request_object
26861
+ # @param [String] request_id
26862
+ # An optional request ID to identify requests. Specify a unique request ID so
26863
+ # that if you must retry your request, the server will know to ignore the
26864
+ # request if it has already been completed.
26865
+ # For example, consider a situation where you make an initial request and the
26866
+ # request times out. If you make the request again with the same request ID, the
26867
+ # server can check if original operation with the same request ID was received,
26868
+ # and if so, will ignore the second request. This prevents clients from
26869
+ # accidentally creating duplicate commitments.
26870
+ # The request ID must be a valid UUID with the exception that zero UUID is not
26871
+ # supported (00000000-0000-0000-0000-000000000000).
26872
+ # @param [String] fields
26873
+ # Selector specifying which fields to include in a partial response.
26874
+ # @param [String] quota_user
26875
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
26876
+ # characters.
26877
+ # @param [String] user_ip
26878
+ # Deprecated. Please use quotaUser instead.
26879
+ # @param [Google::Apis::RequestOptions] options
26880
+ # Request-specific options
26881
+ #
26882
+ # @yield [result, err] Result & error if block supplied
26883
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
26884
+ # @yieldparam err [StandardError] error object if request failed
26885
+ #
26886
+ # @return [Google::Apis::ComputeAlpha::Operation]
26887
+ #
26888
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26889
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26890
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26891
+ 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)
26892
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances', options)
26893
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSuspendInstancesRequest::Representation
26894
+ command.request_object = region_instance_group_managers_suspend_instances_request_object
26895
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26896
+ command.response_class = Google::Apis::ComputeAlpha::Operation
26897
+ command.params['project'] = project unless project.nil?
26898
+ command.params['region'] = region unless region.nil?
26899
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
26900
+ command.query['requestId'] = request_id unless request_id.nil?
26901
+ command.query['fields'] = fields unless fields.nil?
26902
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26903
+ command.query['userIp'] = user_ip unless user_ip.nil?
26904
+ execute_or_queue_command(command, &block)
26905
+ end
26906
+
26227
26907
  # Returns permissions that a caller has on the specified resource.
26228
26908
  # @param [String] project
26229
26909
  # Project ID for this request.
@@ -26461,7 +27141,7 @@ module Google
26461
27141
  # by a previous list request to get the next page of results.
26462
27142
  # @param [Boolean] return_partial_success
26463
27143
  # Opt-in for partial success behavior which provides partial results in case of
26464
- # failure. The default value is false and the logic is the same as today.
27144
+ # failure. The default value is false.
26465
27145
  # @param [String] fields
26466
27146
  # Selector specifying which fields to include in a partial response.
26467
27147
  # @param [String] quota_user
@@ -26545,7 +27225,849 @@ module Google
26545
27225
  # by a previous list request to get the next page of results.
26546
27226
  # @param [Boolean] return_partial_success
26547
27227
  # Opt-in for partial success behavior which provides partial results in case of
26548
- # failure. The default value is false and the logic is the same as today.
27228
+ # failure. The default value is false.
27229
+ # @param [String] fields
27230
+ # Selector specifying which fields to include in a partial response.
27231
+ # @param [String] quota_user
27232
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27233
+ # characters.
27234
+ # @param [String] user_ip
27235
+ # Deprecated. Please use quotaUser instead.
27236
+ # @param [Google::Apis::RequestOptions] options
27237
+ # Request-specific options
27238
+ #
27239
+ # @yield [result, err] Result & error if block supplied
27240
+ # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances] parsed result object
27241
+ # @yieldparam err [StandardError] error object if request failed
27242
+ #
27243
+ # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances]
27244
+ #
27245
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27246
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27247
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27248
+ def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27249
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
27250
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest::Representation
27251
+ command.request_object = region_instance_groups_list_instances_request_object
27252
+ command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances::Representation
27253
+ command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
27254
+ command.params['project'] = project unless project.nil?
27255
+ command.params['region'] = region unless region.nil?
27256
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
27257
+ command.query['filter'] = filter unless filter.nil?
27258
+ command.query['maxResults'] = max_results unless max_results.nil?
27259
+ command.query['orderBy'] = order_by unless order_by.nil?
27260
+ command.query['pageToken'] = page_token unless page_token.nil?
27261
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
27262
+ command.query['fields'] = fields unless fields.nil?
27263
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27264
+ command.query['userIp'] = user_ip unless user_ip.nil?
27265
+ execute_or_queue_command(command, &block)
27266
+ end
27267
+
27268
+ # Sets the named ports for the specified regional instance group.
27269
+ # @param [String] project
27270
+ # Project ID for this request.
27271
+ # @param [String] region
27272
+ # Name of the region scoping this request.
27273
+ # @param [String] instance_group
27274
+ # The name of the regional instance group where the named ports are updated.
27275
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
27276
+ # @param [String] request_id
27277
+ # An optional request ID to identify requests. Specify a unique request ID so
27278
+ # that if you must retry your request, the server will know to ignore the
27279
+ # request if it has already been completed.
27280
+ # For example, consider a situation where you make an initial request and the
27281
+ # request times out. If you make the request again with the same request ID, the
27282
+ # server can check if original operation with the same request ID was received,
27283
+ # and if so, will ignore the second request. This prevents clients from
27284
+ # accidentally creating duplicate commitments.
27285
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27286
+ # supported (00000000-0000-0000-0000-000000000000).
27287
+ # @param [String] fields
27288
+ # Selector specifying which fields to include in a partial response.
27289
+ # @param [String] quota_user
27290
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27291
+ # characters.
27292
+ # @param [String] user_ip
27293
+ # Deprecated. Please use quotaUser instead.
27294
+ # @param [Google::Apis::RequestOptions] options
27295
+ # Request-specific options
27296
+ #
27297
+ # @yield [result, err] Result & error if block supplied
27298
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27299
+ # @yieldparam err [StandardError] error object if request failed
27300
+ #
27301
+ # @return [Google::Apis::ComputeAlpha::Operation]
27302
+ #
27303
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27304
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27305
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27306
+ def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27307
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
27308
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest::Representation
27309
+ command.request_object = region_instance_groups_set_named_ports_request_object
27310
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27311
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27312
+ command.params['project'] = project unless project.nil?
27313
+ command.params['region'] = region unless region.nil?
27314
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
27315
+ command.query['requestId'] = request_id unless request_id.nil?
27316
+ command.query['fields'] = fields unless fields.nil?
27317
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27318
+ command.query['userIp'] = user_ip unless user_ip.nil?
27319
+ execute_or_queue_command(command, &block)
27320
+ end
27321
+
27322
+ # Returns permissions that a caller has on the specified resource.
27323
+ # @param [String] project
27324
+ # Project ID for this request.
27325
+ # @param [String] region
27326
+ # The name of the region for this request.
27327
+ # @param [String] resource
27328
+ # Name or id of the resource for this request.
27329
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
27330
+ # @param [String] fields
27331
+ # Selector specifying which fields to include in a partial response.
27332
+ # @param [String] quota_user
27333
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27334
+ # characters.
27335
+ # @param [String] user_ip
27336
+ # Deprecated. Please use quotaUser instead.
27337
+ # @param [Google::Apis::RequestOptions] options
27338
+ # Request-specific options
27339
+ #
27340
+ # @yield [result, err] Result & error if block supplied
27341
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
27342
+ # @yieldparam err [StandardError] error object if request failed
27343
+ #
27344
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
27345
+ #
27346
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27347
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27348
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27349
+ def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27350
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options)
27351
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
27352
+ command.request_object = test_permissions_request_object
27353
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
27354
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
27355
+ command.params['project'] = project unless project.nil?
27356
+ command.params['region'] = region unless region.nil?
27357
+ command.params['resource'] = resource unless resource.nil?
27358
+ command.query['fields'] = fields unless fields.nil?
27359
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27360
+ command.query['userIp'] = user_ip unless user_ip.nil?
27361
+ execute_or_queue_command(command, &block)
27362
+ end
27363
+
27364
+ # Creates multiple instances in a given region. Count specifies the number of
27365
+ # instances to create.
27366
+ # @param [String] project
27367
+ # Project ID for this request.
27368
+ # @param [String] region
27369
+ # The name of the region for this request.
27370
+ # @param [Google::Apis::ComputeAlpha::BulkInsertInstanceResource] bulk_insert_instance_resource_object
27371
+ # @param [String] request_id
27372
+ # An optional request ID to identify requests. Specify a unique request ID so
27373
+ # that if you must retry your request, the server will know to ignore the
27374
+ # request if it has already been completed.
27375
+ # For example, consider a situation where you make an initial request and the
27376
+ # request times out. If you make the request again with the same request ID, the
27377
+ # server can check if original operation with the same request ID was received,
27378
+ # and if so, will ignore the second request. This prevents clients from
27379
+ # accidentally creating duplicate commitments.
27380
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27381
+ # supported (00000000-0000-0000-0000-000000000000).
27382
+ # @param [String] fields
27383
+ # Selector specifying which fields to include in a partial response.
27384
+ # @param [String] quota_user
27385
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27386
+ # characters.
27387
+ # @param [String] user_ip
27388
+ # Deprecated. Please use quotaUser instead.
27389
+ # @param [Google::Apis::RequestOptions] options
27390
+ # Request-specific options
27391
+ #
27392
+ # @yield [result, err] Result & error if block supplied
27393
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27394
+ # @yieldparam err [StandardError] error object if request failed
27395
+ #
27396
+ # @return [Google::Apis::ComputeAlpha::Operation]
27397
+ #
27398
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27399
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27400
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27401
+ def bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27402
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instances/bulkInsert', options)
27403
+ command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation
27404
+ command.request_object = bulk_insert_instance_resource_object
27405
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27406
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27407
+ command.params['project'] = project unless project.nil?
27408
+ command.params['region'] = region unless region.nil?
27409
+ command.query['requestId'] = request_id unless request_id.nil?
27410
+ command.query['fields'] = fields unless fields.nil?
27411
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27412
+ command.query['userIp'] = user_ip unless user_ip.nil?
27413
+ execute_or_queue_command(command, &block)
27414
+ end
27415
+
27416
+ # Deletes the specified InstantSnapshot resource. Keep in mind that deleting a
27417
+ # single instantSnapshot might not necessarily delete all the data on that
27418
+ # instantSnapshot. If any data on the instantSnapshot that is marked for
27419
+ # deletion is needed for subsequent instantSnapshots, the data will be moved to
27420
+ # the next corresponding instantSnapshot.
27421
+ # For more information, see Deleting instantSnapshots.
27422
+ # @param [String] project
27423
+ # Project ID for this request.
27424
+ # @param [String] region
27425
+ # The name of the region for this request.
27426
+ # @param [String] instant_snapshot
27427
+ # Name of the InstantSnapshot resource to delete.
27428
+ # @param [String] request_id
27429
+ # An optional request ID to identify requests. Specify a unique request ID so
27430
+ # that if you must retry your request, the server will know to ignore the
27431
+ # request if it has already been completed.
27432
+ # For example, consider a situation where you make an initial request and the
27433
+ # request times out. If you make the request again with the same request ID, the
27434
+ # server can check if original operation with the same request ID was received,
27435
+ # and if so, will ignore the second request. This prevents clients from
27436
+ # accidentally creating duplicate commitments.
27437
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27438
+ # supported (00000000-0000-0000-0000-000000000000).
27439
+ # @param [String] fields
27440
+ # Selector specifying which fields to include in a partial response.
27441
+ # @param [String] quota_user
27442
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27443
+ # characters.
27444
+ # @param [String] user_ip
27445
+ # Deprecated. Please use quotaUser instead.
27446
+ # @param [Google::Apis::RequestOptions] options
27447
+ # Request-specific options
27448
+ #
27449
+ # @yield [result, err] Result & error if block supplied
27450
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27451
+ # @yieldparam err [StandardError] error object if request failed
27452
+ #
27453
+ # @return [Google::Apis::ComputeAlpha::Operation]
27454
+ #
27455
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27456
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27457
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27458
+ def delete_region_instant_snapshot(project, region, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27459
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', options)
27460
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27461
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27462
+ command.params['project'] = project unless project.nil?
27463
+ command.params['region'] = region unless region.nil?
27464
+ command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
27465
+ command.query['requestId'] = request_id unless request_id.nil?
27466
+ command.query['fields'] = fields unless fields.nil?
27467
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27468
+ command.query['userIp'] = user_ip unless user_ip.nil?
27469
+ execute_or_queue_command(command, &block)
27470
+ end
27471
+
27472
+ # Export the changed blocks between two instant snapshots to a customer?s bucket
27473
+ # in the user specified format.
27474
+ # @param [String] project
27475
+ # Project ID for this request.
27476
+ # @param [String] region
27477
+ # The name of the zone for this request.
27478
+ # @param [String] instant_snapshot
27479
+ # Name of the instant snapshot to export.
27480
+ # @param [Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest] region_instant_snapshots_export_request_object
27481
+ # @param [String] request_id
27482
+ # An optional request ID to identify requests. Specify a unique request ID so
27483
+ # that if you must retry your request, the server will know to ignore the
27484
+ # request if it has already been completed.
27485
+ # For example, consider a situation where you make an initial request and the
27486
+ # request times out. If you make the request again with the same request ID, the
27487
+ # server can check if original operation with the same request ID was received,
27488
+ # and if so, will ignore the second request. This prevents clients from
27489
+ # accidentally creating duplicate commitments.
27490
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27491
+ # supported (00000000-0000-0000-0000-000000000000).
27492
+ # @param [String] fields
27493
+ # Selector specifying which fields to include in a partial response.
27494
+ # @param [String] quota_user
27495
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27496
+ # characters.
27497
+ # @param [String] user_ip
27498
+ # Deprecated. Please use quotaUser instead.
27499
+ # @param [Google::Apis::RequestOptions] options
27500
+ # Request-specific options
27501
+ #
27502
+ # @yield [result, err] Result & error if block supplied
27503
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27504
+ # @yieldparam err [StandardError] error object if request failed
27505
+ #
27506
+ # @return [Google::Apis::ComputeAlpha::Operation]
27507
+ #
27508
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27509
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27510
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27511
+ def export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27512
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', options)
27513
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest::Representation
27514
+ command.request_object = region_instant_snapshots_export_request_object
27515
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27516
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27517
+ command.params['project'] = project unless project.nil?
27518
+ command.params['region'] = region unless region.nil?
27519
+ command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
27520
+ command.query['requestId'] = request_id unless request_id.nil?
27521
+ command.query['fields'] = fields unless fields.nil?
27522
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27523
+ command.query['userIp'] = user_ip unless user_ip.nil?
27524
+ execute_or_queue_command(command, &block)
27525
+ end
27526
+
27527
+ # Returns the specified InstantSnapshot resource in the specified region.
27528
+ # @param [String] project
27529
+ # Project ID for this request.
27530
+ # @param [String] region
27531
+ # The name of the region for this request.
27532
+ # @param [String] instant_snapshot
27533
+ # Name of the InstantSnapshot resource to return.
27534
+ # @param [String] fields
27535
+ # Selector specifying which fields to include in a partial response.
27536
+ # @param [String] quota_user
27537
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27538
+ # characters.
27539
+ # @param [String] user_ip
27540
+ # Deprecated. Please use quotaUser instead.
27541
+ # @param [Google::Apis::RequestOptions] options
27542
+ # Request-specific options
27543
+ #
27544
+ # @yield [result, err] Result & error if block supplied
27545
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshot] parsed result object
27546
+ # @yieldparam err [StandardError] error object if request failed
27547
+ #
27548
+ # @return [Google::Apis::ComputeAlpha::InstantSnapshot]
27549
+ #
27550
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27551
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27552
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27553
+ def get_region_instant_snapshot(project, region, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27554
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', options)
27555
+ command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
27556
+ command.response_class = Google::Apis::ComputeAlpha::InstantSnapshot
27557
+ command.params['project'] = project unless project.nil?
27558
+ command.params['region'] = region unless region.nil?
27559
+ command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
27560
+ command.query['fields'] = fields unless fields.nil?
27561
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27562
+ command.query['userIp'] = user_ip unless user_ip.nil?
27563
+ execute_or_queue_command(command, &block)
27564
+ end
27565
+
27566
+ # Gets the access control policy for a resource. May be empty if no such policy
27567
+ # or resource exists.
27568
+ # @param [String] project
27569
+ # Project ID for this request.
27570
+ # @param [String] region
27571
+ # The name of the region for this request.
27572
+ # @param [String] resource
27573
+ # Name or id of the resource for this request.
27574
+ # @param [Fixnum] options_requested_policy_version
27575
+ # Requested IAM Policy version.
27576
+ # @param [String] fields
27577
+ # Selector specifying which fields to include in a partial response.
27578
+ # @param [String] quota_user
27579
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27580
+ # characters.
27581
+ # @param [String] user_ip
27582
+ # Deprecated. Please use quotaUser instead.
27583
+ # @param [Google::Apis::RequestOptions] options
27584
+ # Request-specific options
27585
+ #
27586
+ # @yield [result, err] Result & error if block supplied
27587
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
27588
+ # @yieldparam err [StandardError] error object if request failed
27589
+ #
27590
+ # @return [Google::Apis::ComputeAlpha::Policy]
27591
+ #
27592
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27593
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27594
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27595
+ def get_region_instant_snapshot_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27596
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy', options)
27597
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
27598
+ command.response_class = Google::Apis::ComputeAlpha::Policy
27599
+ command.params['project'] = project unless project.nil?
27600
+ command.params['region'] = region unless region.nil?
27601
+ command.params['resource'] = resource unless resource.nil?
27602
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
27603
+ command.query['fields'] = fields unless fields.nil?
27604
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27605
+ command.query['userIp'] = user_ip unless user_ip.nil?
27606
+ execute_or_queue_command(command, &block)
27607
+ end
27608
+
27609
+ # Creates an instant snapshot in the specified region.
27610
+ # @param [String] project
27611
+ # Project ID for this request.
27612
+ # @param [String] region
27613
+ # Name of the region for this request.
27614
+ # @param [Google::Apis::ComputeAlpha::InstantSnapshot] instant_snapshot_object
27615
+ # @param [String] request_id
27616
+ # An optional request ID to identify requests. Specify a unique request ID so
27617
+ # that if you must retry your request, the server will know to ignore the
27618
+ # request if it has already been completed.
27619
+ # For example, consider a situation where you make an initial request and the
27620
+ # request times out. If you make the request again with the same request ID, the
27621
+ # server can check if original operation with the same request ID was received,
27622
+ # and if so, will ignore the second request. This prevents clients from
27623
+ # accidentally creating duplicate commitments.
27624
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27625
+ # supported (00000000-0000-0000-0000-000000000000).
27626
+ # @param [String] fields
27627
+ # Selector specifying which fields to include in a partial response.
27628
+ # @param [String] quota_user
27629
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27630
+ # characters.
27631
+ # @param [String] user_ip
27632
+ # Deprecated. Please use quotaUser instead.
27633
+ # @param [Google::Apis::RequestOptions] options
27634
+ # Request-specific options
27635
+ #
27636
+ # @yield [result, err] Result & error if block supplied
27637
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27638
+ # @yieldparam err [StandardError] error object if request failed
27639
+ #
27640
+ # @return [Google::Apis::ComputeAlpha::Operation]
27641
+ #
27642
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27643
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27644
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27645
+ def insert_region_instant_snapshot(project, region, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27646
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots', options)
27647
+ command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
27648
+ command.request_object = instant_snapshot_object
27649
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27650
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27651
+ command.params['project'] = project unless project.nil?
27652
+ command.params['region'] = region unless region.nil?
27653
+ command.query['requestId'] = request_id unless request_id.nil?
27654
+ command.query['fields'] = fields unless fields.nil?
27655
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27656
+ command.query['userIp'] = user_ip unless user_ip.nil?
27657
+ execute_or_queue_command(command, &block)
27658
+ end
27659
+
27660
+ # Retrieves the list of InstantSnapshot resources contained within the specified
27661
+ # region.
27662
+ # @param [String] project
27663
+ # Project ID for this request.
27664
+ # @param [String] region
27665
+ # The name of the region for this request.
27666
+ # @param [String] filter
27667
+ # A filter expression that filters resources listed in the response. The
27668
+ # expression must specify the field name, a comparison operator, and the value
27669
+ # that you want to use for filtering. The value must be a string, a number, or a
27670
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
27671
+ # For example, if you are filtering Compute Engine instances, you can exclude
27672
+ # instances named `example-instance` by specifying `name != example-instance`.
27673
+ # You can also filter nested fields. For example, you could specify `scheduling.
27674
+ # automaticRestart = false` to include instances only if they are not scheduled
27675
+ # for automatic restarts. You can use filtering on nested fields to filter based
27676
+ # on resource labels.
27677
+ # To filter on multiple expressions, provide each separate expression within
27678
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
27679
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
27680
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
27681
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
27682
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
27683
+ # @param [Fixnum] max_results
27684
+ # The maximum number of results per page that should be returned. If the number
27685
+ # of available results is larger than `maxResults`, Compute Engine returns a `
27686
+ # nextPageToken` that can be used to get the next page of results in subsequent
27687
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
27688
+ # @param [String] order_by
27689
+ # Sorts list results by a certain order. By default, results are returned in
27690
+ # alphanumerical order based on the resource name.
27691
+ # You can also sort results in descending order based on the creation timestamp
27692
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
27693
+ # creationTimestamp` field in reverse chronological order (newest result first).
27694
+ # Use this to sort resources like operations so that the newest operation is
27695
+ # returned first.
27696
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
27697
+ # @param [String] page_token
27698
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
27699
+ # by a previous list request to get the next page of results.
27700
+ # @param [Boolean] return_partial_success
27701
+ # Opt-in for partial success behavior which provides partial results in case of
27702
+ # failure. The default value is false.
27703
+ # @param [String] fields
27704
+ # Selector specifying which fields to include in a partial response.
27705
+ # @param [String] quota_user
27706
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27707
+ # characters.
27708
+ # @param [String] user_ip
27709
+ # Deprecated. Please use quotaUser instead.
27710
+ # @param [Google::Apis::RequestOptions] options
27711
+ # Request-specific options
27712
+ #
27713
+ # @yield [result, err] Result & error if block supplied
27714
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshotList] parsed result object
27715
+ # @yieldparam err [StandardError] error object if request failed
27716
+ #
27717
+ # @return [Google::Apis::ComputeAlpha::InstantSnapshotList]
27718
+ #
27719
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27720
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27721
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27722
+ def list_region_instant_snapshots(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27723
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots', options)
27724
+ command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotList::Representation
27725
+ command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotList
27726
+ command.params['project'] = project unless project.nil?
27727
+ command.params['region'] = region unless region.nil?
27728
+ command.query['filter'] = filter unless filter.nil?
27729
+ command.query['maxResults'] = max_results unless max_results.nil?
27730
+ command.query['orderBy'] = order_by unless order_by.nil?
27731
+ command.query['pageToken'] = page_token unless page_token.nil?
27732
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
27733
+ command.query['fields'] = fields unless fields.nil?
27734
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27735
+ command.query['userIp'] = user_ip unless user_ip.nil?
27736
+ execute_or_queue_command(command, &block)
27737
+ end
27738
+
27739
+ # Sets the access control policy on the specified resource. Replaces any
27740
+ # existing policy.
27741
+ # @param [String] project
27742
+ # Project ID for this request.
27743
+ # @param [String] region
27744
+ # The name of the region for this request.
27745
+ # @param [String] resource
27746
+ # Name or id of the resource for this request.
27747
+ # @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
27748
+ # @param [String] fields
27749
+ # Selector specifying which fields to include in a partial response.
27750
+ # @param [String] quota_user
27751
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27752
+ # characters.
27753
+ # @param [String] user_ip
27754
+ # Deprecated. Please use quotaUser instead.
27755
+ # @param [Google::Apis::RequestOptions] options
27756
+ # Request-specific options
27757
+ #
27758
+ # @yield [result, err] Result & error if block supplied
27759
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
27760
+ # @yieldparam err [StandardError] error object if request failed
27761
+ #
27762
+ # @return [Google::Apis::ComputeAlpha::Policy]
27763
+ #
27764
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27765
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27766
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27767
+ def set_region_instant_snapshot_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27768
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy', options)
27769
+ command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
27770
+ command.request_object = region_set_policy_request_object
27771
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
27772
+ command.response_class = Google::Apis::ComputeAlpha::Policy
27773
+ command.params['project'] = project unless project.nil?
27774
+ command.params['region'] = region unless region.nil?
27775
+ command.params['resource'] = resource unless resource.nil?
27776
+ command.query['fields'] = fields unless fields.nil?
27777
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27778
+ command.query['userIp'] = user_ip unless user_ip.nil?
27779
+ execute_or_queue_command(command, &block)
27780
+ end
27781
+
27782
+ # Sets the labels on a instantSnapshot in the given region. To learn more about
27783
+ # labels, read the Labeling Resources documentation.
27784
+ # @param [String] project
27785
+ # Project ID for this request.
27786
+ # @param [String] region
27787
+ # The region for this request.
27788
+ # @param [String] resource
27789
+ # Name or id of the resource for this request.
27790
+ # @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
27791
+ # @param [String] request_id
27792
+ # An optional request ID to identify requests. Specify a unique request ID so
27793
+ # that if you must retry your request, the server will know to ignore the
27794
+ # request if it has already been completed.
27795
+ # For example, consider a situation where you make an initial request and the
27796
+ # request times out. If you make the request again with the same request ID, the
27797
+ # server can check if original operation with the same request ID was received,
27798
+ # and if so, will ignore the second request. This prevents clients from
27799
+ # accidentally creating duplicate commitments.
27800
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27801
+ # supported (00000000-0000-0000-0000-000000000000).
27802
+ # @param [String] fields
27803
+ # Selector specifying which fields to include in a partial response.
27804
+ # @param [String] quota_user
27805
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27806
+ # characters.
27807
+ # @param [String] user_ip
27808
+ # Deprecated. Please use quotaUser instead.
27809
+ # @param [Google::Apis::RequestOptions] options
27810
+ # Request-specific options
27811
+ #
27812
+ # @yield [result, err] Result & error if block supplied
27813
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27814
+ # @yieldparam err [StandardError] error object if request failed
27815
+ #
27816
+ # @return [Google::Apis::ComputeAlpha::Operation]
27817
+ #
27818
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27819
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27820
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27821
+ def set_region_instant_snapshot_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27822
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels', options)
27823
+ command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation
27824
+ command.request_object = region_set_labels_request_object
27825
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27826
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27827
+ command.params['project'] = project unless project.nil?
27828
+ command.params['region'] = region unless region.nil?
27829
+ command.params['resource'] = resource unless resource.nil?
27830
+ command.query['requestId'] = request_id unless request_id.nil?
27831
+ command.query['fields'] = fields unless fields.nil?
27832
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27833
+ command.query['userIp'] = user_ip unless user_ip.nil?
27834
+ execute_or_queue_command(command, &block)
27835
+ end
27836
+
27837
+ # Returns permissions that a caller has on the specified resource.
27838
+ # @param [String] project
27839
+ # Project ID for this request.
27840
+ # @param [String] region
27841
+ # The name of the region for this request.
27842
+ # @param [String] resource
27843
+ # Name or id of the resource for this request.
27844
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
27845
+ # @param [String] fields
27846
+ # Selector specifying which fields to include in a partial response.
27847
+ # @param [String] quota_user
27848
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27849
+ # characters.
27850
+ # @param [String] user_ip
27851
+ # Deprecated. Please use quotaUser instead.
27852
+ # @param [Google::Apis::RequestOptions] options
27853
+ # Request-specific options
27854
+ #
27855
+ # @yield [result, err] Result & error if block supplied
27856
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
27857
+ # @yieldparam err [StandardError] error object if request failed
27858
+ #
27859
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
27860
+ #
27861
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27862
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27863
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27864
+ def test_region_instant_snapshot_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27865
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions', options)
27866
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
27867
+ command.request_object = test_permissions_request_object
27868
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
27869
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
27870
+ command.params['project'] = project unless project.nil?
27871
+ command.params['region'] = region unless region.nil?
27872
+ command.params['resource'] = resource unless resource.nil?
27873
+ command.query['fields'] = fields unless fields.nil?
27874
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27875
+ command.query['userIp'] = user_ip unless user_ip.nil?
27876
+ execute_or_queue_command(command, &block)
27877
+ end
27878
+
27879
+ # Deletes the specified network endpoint group. Note that the NEG cannot be
27880
+ # deleted if it is configured as a backend of a backend service.
27881
+ # @param [String] project
27882
+ # Project ID for this request.
27883
+ # @param [String] region
27884
+ # The name of the region where the network endpoint group is located. It should
27885
+ # comply with RFC1035.
27886
+ # @param [String] network_endpoint_group
27887
+ # The name of the network endpoint group to delete. It should comply with
27888
+ # RFC1035.
27889
+ # @param [String] request_id
27890
+ # An optional request ID to identify requests. Specify a unique request ID so
27891
+ # that if you must retry your request, the server will know to ignore the
27892
+ # request if it has already been completed.
27893
+ # For example, consider a situation where you make an initial request and the
27894
+ # request times out. If you make the request again with the same request ID, the
27895
+ # server can check if original operation with the same request ID was received,
27896
+ # and if so, will ignore the second request. This prevents clients from
27897
+ # accidentally creating duplicate commitments.
27898
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27899
+ # supported (00000000-0000-0000-0000-000000000000).
27900
+ # @param [String] fields
27901
+ # Selector specifying which fields to include in a partial response.
27902
+ # @param [String] quota_user
27903
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27904
+ # characters.
27905
+ # @param [String] user_ip
27906
+ # Deprecated. Please use quotaUser instead.
27907
+ # @param [Google::Apis::RequestOptions] options
27908
+ # Request-specific options
27909
+ #
27910
+ # @yield [result, err] Result & error if block supplied
27911
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27912
+ # @yieldparam err [StandardError] error object if request failed
27913
+ #
27914
+ # @return [Google::Apis::ComputeAlpha::Operation]
27915
+ #
27916
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27917
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27918
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27919
+ def delete_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27920
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options)
27921
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27922
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27923
+ command.params['project'] = project unless project.nil?
27924
+ command.params['region'] = region unless region.nil?
27925
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
27926
+ command.query['requestId'] = request_id unless request_id.nil?
27927
+ command.query['fields'] = fields unless fields.nil?
27928
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27929
+ command.query['userIp'] = user_ip unless user_ip.nil?
27930
+ execute_or_queue_command(command, &block)
27931
+ end
27932
+
27933
+ # Returns the specified network endpoint group. Gets a list of available network
27934
+ # endpoint groups by making a list() request.
27935
+ # @param [String] project
27936
+ # Project ID for this request.
27937
+ # @param [String] region
27938
+ # The name of the region where the network endpoint group is located. It should
27939
+ # comply with RFC1035.
27940
+ # @param [String] network_endpoint_group
27941
+ # The name of the network endpoint group. It should comply with RFC1035.
27942
+ # @param [String] fields
27943
+ # Selector specifying which fields to include in a partial response.
27944
+ # @param [String] quota_user
27945
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27946
+ # characters.
27947
+ # @param [String] user_ip
27948
+ # Deprecated. Please use quotaUser instead.
27949
+ # @param [Google::Apis::RequestOptions] options
27950
+ # Request-specific options
27951
+ #
27952
+ # @yield [result, err] Result & error if block supplied
27953
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroup] parsed result object
27954
+ # @yieldparam err [StandardError] error object if request failed
27955
+ #
27956
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroup]
27957
+ #
27958
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27959
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27960
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27961
+ def get_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27962
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options)
27963
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
27964
+ command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup
27965
+ command.params['project'] = project unless project.nil?
27966
+ command.params['region'] = region unless region.nil?
27967
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
27968
+ command.query['fields'] = fields unless fields.nil?
27969
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27970
+ command.query['userIp'] = user_ip unless user_ip.nil?
27971
+ execute_or_queue_command(command, &block)
27972
+ end
27973
+
27974
+ # Creates a network endpoint group in the specified project using the parameters
27975
+ # that are included in the request.
27976
+ # @param [String] project
27977
+ # Project ID for this request.
27978
+ # @param [String] region
27979
+ # The name of the region where you want to create the network endpoint group. It
27980
+ # should comply with RFC1035.
27981
+ # @param [Google::Apis::ComputeAlpha::NetworkEndpointGroup] network_endpoint_group_object
27982
+ # @param [String] request_id
27983
+ # An optional request ID to identify requests. Specify a unique request ID so
27984
+ # that if you must retry your request, the server will know to ignore the
27985
+ # request if it has already been completed.
27986
+ # For example, consider a situation where you make an initial request and the
27987
+ # request times out. If you make the request again with the same request ID, the
27988
+ # server can check if original operation with the same request ID was received,
27989
+ # and if so, will ignore the second request. This prevents clients from
27990
+ # accidentally creating duplicate commitments.
27991
+ # The request ID must be a valid UUID with the exception that zero UUID is not
27992
+ # supported (00000000-0000-0000-0000-000000000000).
27993
+ # @param [String] fields
27994
+ # Selector specifying which fields to include in a partial response.
27995
+ # @param [String] quota_user
27996
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27997
+ # characters.
27998
+ # @param [String] user_ip
27999
+ # Deprecated. Please use quotaUser instead.
28000
+ # @param [Google::Apis::RequestOptions] options
28001
+ # Request-specific options
28002
+ #
28003
+ # @yield [result, err] Result & error if block supplied
28004
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
28005
+ # @yieldparam err [StandardError] error object if request failed
28006
+ #
28007
+ # @return [Google::Apis::ComputeAlpha::Operation]
28008
+ #
28009
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28010
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28011
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28012
+ def insert_region_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28013
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups', options)
28014
+ command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
28015
+ command.request_object = network_endpoint_group_object
28016
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
28017
+ command.response_class = Google::Apis::ComputeAlpha::Operation
28018
+ command.params['project'] = project unless project.nil?
28019
+ command.params['region'] = region unless region.nil?
28020
+ command.query['requestId'] = request_id unless request_id.nil?
28021
+ command.query['fields'] = fields unless fields.nil?
28022
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28023
+ command.query['userIp'] = user_ip unless user_ip.nil?
28024
+ execute_or_queue_command(command, &block)
28025
+ end
28026
+
28027
+ # Retrieves the list of regional network endpoint groups available to the
28028
+ # specified project in the given region.
28029
+ # @param [String] project
28030
+ # Project ID for this request.
28031
+ # @param [String] region
28032
+ # The name of the region where the network endpoint group is located. It should
28033
+ # comply with RFC1035.
28034
+ # @param [String] filter
28035
+ # A filter expression that filters resources listed in the response. The
28036
+ # expression must specify the field name, a comparison operator, and the value
28037
+ # that you want to use for filtering. The value must be a string, a number, or a
28038
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
28039
+ # For example, if you are filtering Compute Engine instances, you can exclude
28040
+ # instances named `example-instance` by specifying `name != example-instance`.
28041
+ # You can also filter nested fields. For example, you could specify `scheduling.
28042
+ # automaticRestart = false` to include instances only if they are not scheduled
28043
+ # for automatic restarts. You can use filtering on nested fields to filter based
28044
+ # on resource labels.
28045
+ # To filter on multiple expressions, provide each separate expression within
28046
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
28047
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
28048
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
28049
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
28050
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
28051
+ # @param [Fixnum] max_results
28052
+ # The maximum number of results per page that should be returned. If the number
28053
+ # of available results is larger than `maxResults`, Compute Engine returns a `
28054
+ # nextPageToken` that can be used to get the next page of results in subsequent
28055
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
28056
+ # @param [String] order_by
28057
+ # Sorts list results by a certain order. By default, results are returned in
28058
+ # alphanumerical order based on the resource name.
28059
+ # You can also sort results in descending order based on the creation timestamp
28060
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
28061
+ # creationTimestamp` field in reverse chronological order (newest result first).
28062
+ # Use this to sort resources like operations so that the newest operation is
28063
+ # returned first.
28064
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
28065
+ # @param [String] page_token
28066
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
28067
+ # by a previous list request to get the next page of results.
28068
+ # @param [Boolean] return_partial_success
28069
+ # Opt-in for partial success behavior which provides partial results in case of
28070
+ # failure. The default value is false.
26549
28071
  # @param [String] fields
26550
28072
  # Selector specifying which fields to include in a partial response.
26551
28073
  # @param [String] quota_user
@@ -26557,23 +28079,20 @@ module Google
26557
28079
  # Request-specific options
26558
28080
  #
26559
28081
  # @yield [result, err] Result & error if block supplied
26560
- # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances] parsed result object
28082
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] parsed result object
26561
28083
  # @yieldparam err [StandardError] error object if request failed
26562
28084
  #
26563
- # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances]
28085
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupList]
26564
28086
  #
26565
28087
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26566
28088
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26567
28089
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26568
- def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26569
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
26570
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest::Representation
26571
- command.request_object = region_instance_groups_list_instances_request_object
26572
- command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances::Representation
26573
- command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
28090
+ def list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28091
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups', options)
28092
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation
28093
+ command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList
26574
28094
  command.params['project'] = project unless project.nil?
26575
28095
  command.params['region'] = region unless region.nil?
26576
- command.params['instanceGroup'] = instance_group unless instance_group.nil?
26577
28096
  command.query['filter'] = filter unless filter.nil?
26578
28097
  command.query['maxResults'] = max_results unless max_results.nil?
26579
28098
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -26585,14 +28104,18 @@ module Google
26585
28104
  execute_or_queue_command(command, &block)
26586
28105
  end
26587
28106
 
26588
- # Sets the named ports for the specified regional instance group.
28107
+ # Inserts an association for the specified network firewall policy.
26589
28108
  # @param [String] project
26590
28109
  # Project ID for this request.
26591
28110
  # @param [String] region
26592
28111
  # Name of the region scoping this request.
26593
- # @param [String] instance_group
26594
- # The name of the regional instance group where the named ports are updated.
26595
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
28112
+ # @param [String] firewall_policy
28113
+ # Name of the firewall policy to update.
28114
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
28115
+ # @param [Boolean] replace_existing_association
28116
+ # Indicates whether or not to replace it if an association already exists. This
28117
+ # is false by default, in which case an error will be returned if an association
28118
+ # already exists.
26596
28119
  # @param [String] request_id
26597
28120
  # An optional request ID to identify requests. Specify a unique request ID so
26598
28121
  # that if you must retry your request, the server will know to ignore the
@@ -26623,15 +28146,16 @@ module Google
26623
28146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26624
28147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26625
28148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26626
- def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26627
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
26628
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest::Representation
26629
- command.request_object = region_instance_groups_set_named_ports_request_object
28149
+ def add_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28150
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation', options)
28151
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
28152
+ command.request_object = firewall_policy_association_object
26630
28153
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26631
28154
  command.response_class = Google::Apis::ComputeAlpha::Operation
26632
28155
  command.params['project'] = project unless project.nil?
26633
28156
  command.params['region'] = region unless region.nil?
26634
- command.params['instanceGroup'] = instance_group unless instance_group.nil?
28157
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
28158
+ command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
26635
28159
  command.query['requestId'] = request_id unless request_id.nil?
26636
28160
  command.query['fields'] = fields unless fields.nil?
26637
28161
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -26639,14 +28163,25 @@ module Google
26639
28163
  execute_or_queue_command(command, &block)
26640
28164
  end
26641
28165
 
26642
- # Returns permissions that a caller has on the specified resource.
28166
+ # Inserts a rule into a network firewall policy.
26643
28167
  # @param [String] project
26644
28168
  # Project ID for this request.
26645
28169
  # @param [String] region
26646
- # The name of the region for this request.
26647
- # @param [String] resource
26648
- # Name or id of the resource for this request.
26649
- # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
28170
+ # Name of the region scoping this request.
28171
+ # @param [String] firewall_policy
28172
+ # Name of the firewall policy to update.
28173
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
28174
+ # @param [String] request_id
28175
+ # An optional request ID to identify requests. Specify a unique request ID so
28176
+ # that if you must retry your request, the server will know to ignore the
28177
+ # request if it has already been completed.
28178
+ # For example, consider a situation where you make an initial request and the
28179
+ # request times out. If you make the request again with the same request ID, the
28180
+ # server can check if original operation with the same request ID was received,
28181
+ # and if so, will ignore the second request. This prevents clients from
28182
+ # accidentally creating duplicate commitments.
28183
+ # The request ID must be a valid UUID with the exception that zero UUID is not
28184
+ # supported (00000000-0000-0000-0000-000000000000).
26650
28185
  # @param [String] fields
26651
28186
  # Selector specifying which fields to include in a partial response.
26652
28187
  # @param [String] quota_user
@@ -26658,36 +28193,37 @@ module Google
26658
28193
  # Request-specific options
26659
28194
  #
26660
28195
  # @yield [result, err] Result & error if block supplied
26661
- # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
28196
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
26662
28197
  # @yieldparam err [StandardError] error object if request failed
26663
28198
  #
26664
- # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
28199
+ # @return [Google::Apis::ComputeAlpha::Operation]
26665
28200
  #
26666
28201
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26667
28202
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26668
28203
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26669
- def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26670
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options)
26671
- command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
26672
- command.request_object = test_permissions_request_object
26673
- command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
26674
- command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
28204
+ def add_region_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28205
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule', options)
28206
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
28207
+ command.request_object = firewall_policy_rule_object
28208
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
28209
+ command.response_class = Google::Apis::ComputeAlpha::Operation
26675
28210
  command.params['project'] = project unless project.nil?
26676
28211
  command.params['region'] = region unless region.nil?
26677
- command.params['resource'] = resource unless resource.nil?
28212
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
28213
+ command.query['requestId'] = request_id unless request_id.nil?
26678
28214
  command.query['fields'] = fields unless fields.nil?
26679
28215
  command.query['quotaUser'] = quota_user unless quota_user.nil?
26680
28216
  command.query['userIp'] = user_ip unless user_ip.nil?
26681
28217
  execute_or_queue_command(command, &block)
26682
28218
  end
26683
28219
 
26684
- # Creates multiple instances in a given region. Count specifies the number of
26685
- # instances to create.
28220
+ # Copies rules to the specified network firewall policy.
26686
28221
  # @param [String] project
26687
28222
  # Project ID for this request.
26688
28223
  # @param [String] region
26689
- # The name of the region for this request.
26690
- # @param [Google::Apis::ComputeAlpha::BulkInsertInstanceResource] bulk_insert_instance_resource_object
28224
+ # Name of the region scoping this request.
28225
+ # @param [String] firewall_policy
28226
+ # Name of the firewall policy to update.
26691
28227
  # @param [String] request_id
26692
28228
  # An optional request ID to identify requests. Specify a unique request ID so
26693
28229
  # that if you must retry your request, the server will know to ignore the
@@ -26699,6 +28235,8 @@ module Google
26699
28235
  # accidentally creating duplicate commitments.
26700
28236
  # The request ID must be a valid UUID with the exception that zero UUID is not
26701
28237
  # supported (00000000-0000-0000-0000-000000000000).
28238
+ # @param [String] source_firewall_policy
28239
+ # The firewall policy from which to copy rules.
26702
28240
  # @param [String] fields
26703
28241
  # Selector specifying which fields to include in a partial response.
26704
28242
  # @param [String] quota_user
@@ -26718,33 +28256,28 @@ module Google
26718
28256
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26719
28257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26720
28258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26721
- def bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26722
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instances/bulkInsert', options)
26723
- command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation
26724
- command.request_object = bulk_insert_instance_resource_object
28259
+ def clone_region_network_firewall_policy_rules(project, region, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28260
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules', options)
26725
28261
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26726
28262
  command.response_class = Google::Apis::ComputeAlpha::Operation
26727
28263
  command.params['project'] = project unless project.nil?
26728
28264
  command.params['region'] = region unless region.nil?
28265
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
26729
28266
  command.query['requestId'] = request_id unless request_id.nil?
28267
+ command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_policy.nil?
26730
28268
  command.query['fields'] = fields unless fields.nil?
26731
28269
  command.query['quotaUser'] = quota_user unless quota_user.nil?
26732
28270
  command.query['userIp'] = user_ip unless user_ip.nil?
26733
28271
  execute_or_queue_command(command, &block)
26734
28272
  end
26735
28273
 
26736
- # Deletes the specified InstantSnapshot resource. Keep in mind that deleting a
26737
- # single instantSnapshot might not necessarily delete all the data on that
26738
- # instantSnapshot. If any data on the instantSnapshot that is marked for
26739
- # deletion is needed for subsequent instantSnapshots, the data will be moved to
26740
- # the next corresponding instantSnapshot.
26741
- # For more information, see Deleting instantSnapshots.
28274
+ # Deletes the specified network firewall policy.
26742
28275
  # @param [String] project
26743
28276
  # Project ID for this request.
26744
28277
  # @param [String] region
26745
- # The name of the region for this request.
26746
- # @param [String] instant_snapshot
26747
- # Name of the InstantSnapshot resource to delete.
28278
+ # Name of the region scoping this request.
28279
+ # @param [String] firewall_policy
28280
+ # Name of the firewall policy to delete.
26748
28281
  # @param [String] request_id
26749
28282
  # An optional request ID to identify requests. Specify a unique request ID so
26750
28283
  # that if you must retry your request, the server will know to ignore the
@@ -26775,13 +28308,13 @@ module Google
26775
28308
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26776
28309
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26777
28310
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26778
- def delete_region_instant_snapshot(project, region, instant_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26779
- command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', options)
28311
+ def delete_region_network_firewall_policy(project, region, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28312
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}', options)
26780
28313
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26781
28314
  command.response_class = Google::Apis::ComputeAlpha::Operation
26782
28315
  command.params['project'] = project unless project.nil?
26783
28316
  command.params['region'] = region unless region.nil?
26784
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
28317
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
26785
28318
  command.query['requestId'] = request_id unless request_id.nil?
26786
28319
  command.query['fields'] = fields unless fields.nil?
26787
28320
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -26789,26 +28322,13 @@ module Google
26789
28322
  execute_or_queue_command(command, &block)
26790
28323
  end
26791
28324
 
26792
- # Export the changed blocks between two instant snapshots to a customer?s bucket
26793
- # in the user specified format.
28325
+ # Returns the specified network firewall policy.
26794
28326
  # @param [String] project
26795
28327
  # Project ID for this request.
26796
28328
  # @param [String] region
26797
- # The name of the zone for this request.
26798
- # @param [String] instant_snapshot
26799
- # Name of the instant snapshot to export.
26800
- # @param [Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest] region_instant_snapshots_export_request_object
26801
- # @param [String] request_id
26802
- # An optional request ID to identify requests. Specify a unique request ID so
26803
- # that if you must retry your request, the server will know to ignore the
26804
- # request if it has already been completed.
26805
- # For example, consider a situation where you make an initial request and the
26806
- # request times out. If you make the request again with the same request ID, the
26807
- # server can check if original operation with the same request ID was received,
26808
- # and if so, will ignore the second request. This prevents clients from
26809
- # accidentally creating duplicate commitments.
26810
- # The request ID must be a valid UUID with the exception that zero UUID is not
26811
- # supported (00000000-0000-0000-0000-000000000000).
28329
+ # Name of the region scoping this request.
28330
+ # @param [String] firewall_policy
28331
+ # Name of the firewall policy to get.
26812
28332
  # @param [String] fields
26813
28333
  # Selector specifying which fields to include in a partial response.
26814
28334
  # @param [String] quota_user
@@ -26820,37 +28340,36 @@ module Google
26820
28340
  # Request-specific options
26821
28341
  #
26822
28342
  # @yield [result, err] Result & error if block supplied
26823
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
28343
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicy] parsed result object
26824
28344
  # @yieldparam err [StandardError] error object if request failed
26825
28345
  #
26826
- # @return [Google::Apis::ComputeAlpha::Operation]
28346
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicy]
26827
28347
  #
26828
28348
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26829
28349
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26830
28350
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26831
- def export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26832
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', options)
26833
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest::Representation
26834
- command.request_object = region_instant_snapshots_export_request_object
26835
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26836
- command.response_class = Google::Apis::ComputeAlpha::Operation
28351
+ def get_region_network_firewall_policy(project, region, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28352
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}', options)
28353
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
28354
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy
26837
28355
  command.params['project'] = project unless project.nil?
26838
28356
  command.params['region'] = region unless region.nil?
26839
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
26840
- command.query['requestId'] = request_id unless request_id.nil?
28357
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
26841
28358
  command.query['fields'] = fields unless fields.nil?
26842
28359
  command.query['quotaUser'] = quota_user unless quota_user.nil?
26843
28360
  command.query['userIp'] = user_ip unless user_ip.nil?
26844
28361
  execute_or_queue_command(command, &block)
26845
28362
  end
26846
28363
 
26847
- # Returns the specified InstantSnapshot resource in the specified region.
28364
+ # Gets an association with the specified name.
26848
28365
  # @param [String] project
26849
28366
  # Project ID for this request.
26850
28367
  # @param [String] region
26851
- # The name of the region for this request.
26852
- # @param [String] instant_snapshot
26853
- # Name of the InstantSnapshot resource to return.
28368
+ # Name of the region scoping this request.
28369
+ # @param [String] firewall_policy
28370
+ # Name of the firewall policy to which the queried association belongs.
28371
+ # @param [String] name
28372
+ # The name of the association to get from the firewall policy.
26854
28373
  # @param [String] fields
26855
28374
  # Selector specifying which fields to include in a partial response.
26856
28375
  # @param [String] quota_user
@@ -26862,21 +28381,22 @@ module Google
26862
28381
  # Request-specific options
26863
28382
  #
26864
28383
  # @yield [result, err] Result & error if block supplied
26865
- # @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshot] parsed result object
28384
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] parsed result object
26866
28385
  # @yieldparam err [StandardError] error object if request failed
26867
28386
  #
26868
- # @return [Google::Apis::ComputeAlpha::InstantSnapshot]
28387
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyAssociation]
26869
28388
  #
26870
28389
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26871
28390
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26872
28391
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26873
- def get_region_instant_snapshot(project, region, instant_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26874
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}', options)
26875
- command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
26876
- command.response_class = Google::Apis::ComputeAlpha::InstantSnapshot
28392
+ def get_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28393
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation', options)
28394
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
28395
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation
26877
28396
  command.params['project'] = project unless project.nil?
26878
28397
  command.params['region'] = region unless region.nil?
26879
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
28398
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
28399
+ command.query['name'] = name unless name.nil?
26880
28400
  command.query['fields'] = fields unless fields.nil?
26881
28401
  command.query['quotaUser'] = quota_user unless quota_user.nil?
26882
28402
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -26912,8 +28432,8 @@ module Google
26912
28432
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26913
28433
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26914
28434
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26915
- def get_region_instant_snapshot_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26916
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy', options)
28435
+ def get_region_network_firewall_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28436
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy', options)
26917
28437
  command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
26918
28438
  command.response_class = Google::Apis::ComputeAlpha::Policy
26919
28439
  command.params['project'] = project unless project.nil?
@@ -26926,12 +28446,54 @@ module Google
26926
28446
  execute_or_queue_command(command, &block)
26927
28447
  end
26928
28448
 
26929
- # Creates an instant snapshot in the specified region.
28449
+ # Gets a rule of the specified priority.
26930
28450
  # @param [String] project
26931
28451
  # Project ID for this request.
26932
28452
  # @param [String] region
26933
- # Name of the region for this request.
26934
- # @param [Google::Apis::ComputeAlpha::InstantSnapshot] instant_snapshot_object
28453
+ # Name of the region scoping this request.
28454
+ # @param [String] firewall_policy
28455
+ # Name of the firewall policy to which the queried rule belongs.
28456
+ # @param [Fixnum] priority
28457
+ # The priority of the rule to get from the firewall policy.
28458
+ # @param [String] fields
28459
+ # Selector specifying which fields to include in a partial response.
28460
+ # @param [String] quota_user
28461
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
28462
+ # characters.
28463
+ # @param [String] user_ip
28464
+ # Deprecated. Please use quotaUser instead.
28465
+ # @param [Google::Apis::RequestOptions] options
28466
+ # Request-specific options
28467
+ #
28468
+ # @yield [result, err] Result & error if block supplied
28469
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyRule] parsed result object
28470
+ # @yieldparam err [StandardError] error object if request failed
28471
+ #
28472
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyRule]
28473
+ #
28474
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28475
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28476
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28477
+ def get_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28478
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule', options)
28479
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
28480
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule
28481
+ command.params['project'] = project unless project.nil?
28482
+ command.params['region'] = region unless region.nil?
28483
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
28484
+ command.query['priority'] = priority unless priority.nil?
28485
+ command.query['fields'] = fields unless fields.nil?
28486
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28487
+ command.query['userIp'] = user_ip unless user_ip.nil?
28488
+ execute_or_queue_command(command, &block)
28489
+ end
28490
+
28491
+ # Creates a new network firewall policy in the specified project and region.
28492
+ # @param [String] project
28493
+ # Project ID for this request.
28494
+ # @param [String] region
28495
+ # Name of the region scoping this request.
28496
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
26935
28497
  # @param [String] request_id
26936
28498
  # An optional request ID to identify requests. Specify a unique request ID so
26937
28499
  # that if you must retry your request, the server will know to ignore the
@@ -26962,10 +28524,10 @@ module Google
26962
28524
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26963
28525
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26964
28526
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26965
- def insert_region_instant_snapshot(project, region, instant_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26966
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots', options)
26967
- command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshot::Representation
26968
- command.request_object = instant_snapshot_object
28527
+ def insert_region_network_firewall_policy(project, region, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28528
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies', options)
28529
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
28530
+ command.request_object = firewall_policy_object
26969
28531
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26970
28532
  command.response_class = Google::Apis::ComputeAlpha::Operation
26971
28533
  command.params['project'] = project unless project.nil?
@@ -26977,12 +28539,12 @@ module Google
26977
28539
  execute_or_queue_command(command, &block)
26978
28540
  end
26979
28541
 
26980
- # Retrieves the list of InstantSnapshot resources contained within the specified
26981
- # region.
28542
+ # Lists all the network firewall policies that have been configured for the
28543
+ # specified project in the given region.
26982
28544
  # @param [String] project
26983
28545
  # Project ID for this request.
26984
28546
  # @param [String] region
26985
- # The name of the region for this request.
28547
+ # Name of the region scoping this request.
26986
28548
  # @param [String] filter
26987
28549
  # A filter expression that filters resources listed in the response. The
26988
28550
  # expression must specify the field name, a comparison operator, and the value
@@ -27019,7 +28581,7 @@ module Google
27019
28581
  # by a previous list request to get the next page of results.
27020
28582
  # @param [Boolean] return_partial_success
27021
28583
  # Opt-in for partial success behavior which provides partial results in case of
27022
- # failure. The default value is false and the logic is the same as today.
28584
+ # failure. The default value is false.
27023
28585
  # @param [String] fields
27024
28586
  # Selector specifying which fields to include in a partial response.
27025
28587
  # @param [String] quota_user
@@ -27031,18 +28593,18 @@ module Google
27031
28593
  # Request-specific options
27032
28594
  #
27033
28595
  # @yield [result, err] Result & error if block supplied
27034
- # @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshotList] parsed result object
28596
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyList] parsed result object
27035
28597
  # @yieldparam err [StandardError] error object if request failed
27036
28598
  #
27037
- # @return [Google::Apis::ComputeAlpha::InstantSnapshotList]
28599
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyList]
27038
28600
  #
27039
28601
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27040
28602
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27041
28603
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27042
- def list_region_instant_snapshots(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27043
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/instantSnapshots', options)
27044
- command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotList::Representation
27045
- command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotList
28604
+ def list_region_network_firewall_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28605
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/firewallPolicies', options)
28606
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation
28607
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList
27046
28608
  command.params['project'] = project unless project.nil?
27047
28609
  command.params['region'] = region unless region.nil?
27048
28610
  command.query['filter'] = filter unless filter.nil?
@@ -27056,58 +28618,14 @@ module Google
27056
28618
  execute_or_queue_command(command, &block)
27057
28619
  end
27058
28620
 
27059
- # Sets the access control policy on the specified resource. Replaces any
27060
- # existing policy.
28621
+ # Patches the specified network firewall policy.
27061
28622
  # @param [String] project
27062
28623
  # Project ID for this request.
27063
28624
  # @param [String] region
27064
- # The name of the region for this request.
27065
- # @param [String] resource
27066
- # Name or id of the resource for this request.
27067
- # @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
27068
- # @param [String] fields
27069
- # Selector specifying which fields to include in a partial response.
27070
- # @param [String] quota_user
27071
- # An opaque string that represents a user for quota purposes. Must not exceed 40
27072
- # characters.
27073
- # @param [String] user_ip
27074
- # Deprecated. Please use quotaUser instead.
27075
- # @param [Google::Apis::RequestOptions] options
27076
- # Request-specific options
27077
- #
27078
- # @yield [result, err] Result & error if block supplied
27079
- # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
27080
- # @yieldparam err [StandardError] error object if request failed
27081
- #
27082
- # @return [Google::Apis::ComputeAlpha::Policy]
27083
- #
27084
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27085
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27086
- # @raise [Google::Apis::AuthorizationError] Authorization is required
27087
- def set_region_instant_snapshot_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27088
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy', options)
27089
- command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
27090
- command.request_object = region_set_policy_request_object
27091
- command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
27092
- command.response_class = Google::Apis::ComputeAlpha::Policy
27093
- command.params['project'] = project unless project.nil?
27094
- command.params['region'] = region unless region.nil?
27095
- command.params['resource'] = resource unless resource.nil?
27096
- command.query['fields'] = fields unless fields.nil?
27097
- command.query['quotaUser'] = quota_user unless quota_user.nil?
27098
- command.query['userIp'] = user_ip unless user_ip.nil?
27099
- execute_or_queue_command(command, &block)
27100
- end
27101
-
27102
- # Sets the labels on a instantSnapshot in the given region. To learn more about
27103
- # labels, read the Labeling Resources documentation.
27104
- # @param [String] project
27105
- # Project ID for this request.
27106
- # @param [String] region
27107
- # The region for this request.
27108
- # @param [String] resource
27109
- # Name or id of the resource for this request.
27110
- # @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
28625
+ # Name of the region scoping this request.
28626
+ # @param [String] firewall_policy
28627
+ # Name of the firewall policy to update.
28628
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
27111
28629
  # @param [String] request_id
27112
28630
  # An optional request ID to identify requests. Specify a unique request ID so
27113
28631
  # that if you must retry your request, the server will know to ignore the
@@ -27138,15 +28656,15 @@ module Google
27138
28656
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27139
28657
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27140
28658
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27141
- def set_region_instant_snapshot_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27142
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels', options)
27143
- command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation
27144
- command.request_object = region_set_labels_request_object
28659
+ def patch_region_network_firewall_policy(project, region, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28660
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}', options)
28661
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
28662
+ command.request_object = firewall_policy_object
27145
28663
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27146
28664
  command.response_class = Google::Apis::ComputeAlpha::Operation
27147
28665
  command.params['project'] = project unless project.nil?
27148
28666
  command.params['region'] = region unless region.nil?
27149
- command.params['resource'] = resource unless resource.nil?
28667
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
27150
28668
  command.query['requestId'] = request_id unless request_id.nil?
27151
28669
  command.query['fields'] = fields unless fields.nil?
27152
28670
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -27154,14 +28672,27 @@ module Google
27154
28672
  execute_or_queue_command(command, &block)
27155
28673
  end
27156
28674
 
27157
- # Returns permissions that a caller has on the specified resource.
28675
+ # Patches a rule of the specified priority.
27158
28676
  # @param [String] project
27159
28677
  # Project ID for this request.
27160
28678
  # @param [String] region
27161
- # The name of the region for this request.
27162
- # @param [String] resource
27163
- # Name or id of the resource for this request.
27164
- # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
28679
+ # Name of the region scoping this request.
28680
+ # @param [String] firewall_policy
28681
+ # Name of the firewall policy to update.
28682
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
28683
+ # @param [Fixnum] priority
28684
+ # The priority of the rule to patch.
28685
+ # @param [String] request_id
28686
+ # An optional request ID to identify requests. Specify a unique request ID so
28687
+ # that if you must retry your request, the server will know to ignore the
28688
+ # request if it has already been completed.
28689
+ # For example, consider a situation where you make an initial request and the
28690
+ # request times out. If you make the request again with the same request ID, the
28691
+ # server can check if original operation with the same request ID was received,
28692
+ # and if so, will ignore the second request. This prevents clients from
28693
+ # accidentally creating duplicate commitments.
28694
+ # The request ID must be a valid UUID with the exception that zero UUID is not
28695
+ # supported (00000000-0000-0000-0000-000000000000).
27165
28696
  # @param [String] fields
27166
28697
  # Selector specifying which fields to include in a partial response.
27167
28698
  # @param [String] quota_user
@@ -27173,39 +28704,40 @@ module Google
27173
28704
  # Request-specific options
27174
28705
  #
27175
28706
  # @yield [result, err] Result & error if block supplied
27176
- # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
28707
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27177
28708
  # @yieldparam err [StandardError] error object if request failed
27178
28709
  #
27179
- # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
28710
+ # @return [Google::Apis::ComputeAlpha::Operation]
27180
28711
  #
27181
28712
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27182
28713
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27183
28714
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27184
- def test_region_instant_snapshot_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27185
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions', options)
27186
- command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
27187
- command.request_object = test_permissions_request_object
27188
- command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
27189
- command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
28715
+ def patch_region_network_firewall_policy_rule(project, region, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28716
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule', options)
28717
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
28718
+ command.request_object = firewall_policy_rule_object
28719
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
28720
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27190
28721
  command.params['project'] = project unless project.nil?
27191
28722
  command.params['region'] = region unless region.nil?
27192
- command.params['resource'] = resource unless resource.nil?
28723
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
28724
+ command.query['priority'] = priority unless priority.nil?
28725
+ command.query['requestId'] = request_id unless request_id.nil?
27193
28726
  command.query['fields'] = fields unless fields.nil?
27194
28727
  command.query['quotaUser'] = quota_user unless quota_user.nil?
27195
28728
  command.query['userIp'] = user_ip unless user_ip.nil?
27196
28729
  execute_or_queue_command(command, &block)
27197
28730
  end
27198
28731
 
27199
- # Deletes the specified network endpoint group. Note that the NEG cannot be
27200
- # deleted if it is configured as a backend of a backend service.
28732
+ # Removes an association for the specified network firewall policy.
27201
28733
  # @param [String] project
27202
28734
  # Project ID for this request.
27203
28735
  # @param [String] region
27204
- # The name of the region where the network endpoint group is located. It should
27205
- # comply with RFC1035.
27206
- # @param [String] network_endpoint_group
27207
- # The name of the network endpoint group to delete. It should comply with
27208
- # RFC1035.
28736
+ # Name of the region scoping this request.
28737
+ # @param [String] firewall_policy
28738
+ # Name of the firewall policy to update.
28739
+ # @param [String] name
28740
+ # Name for the association that will be removed.
27209
28741
  # @param [String] request_id
27210
28742
  # An optional request ID to identify requests. Specify a unique request ID so
27211
28743
  # that if you must retry your request, the server will know to ignore the
@@ -27236,13 +28768,14 @@ module Google
27236
28768
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27237
28769
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27238
28770
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27239
- def delete_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27240
- command = make_simple_command(:delete, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options)
28771
+ def remove_region_network_firewall_policy_association(project, region, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28772
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation', options)
27241
28773
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27242
28774
  command.response_class = Google::Apis::ComputeAlpha::Operation
27243
28775
  command.params['project'] = project unless project.nil?
27244
28776
  command.params['region'] = region unless region.nil?
27245
- command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
28777
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
28778
+ command.query['name'] = name unless name.nil?
27246
28779
  command.query['requestId'] = request_id unless request_id.nil?
27247
28780
  command.query['fields'] = fields unless fields.nil?
27248
28781
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -27250,15 +28783,26 @@ module Google
27250
28783
  execute_or_queue_command(command, &block)
27251
28784
  end
27252
28785
 
27253
- # Returns the specified network endpoint group. Gets a list of available network
27254
- # endpoint groups by making a list() request.
28786
+ # Deletes a rule of the specified priority.
27255
28787
  # @param [String] project
27256
28788
  # Project ID for this request.
27257
28789
  # @param [String] region
27258
- # The name of the region where the network endpoint group is located. It should
27259
- # comply with RFC1035.
27260
- # @param [String] network_endpoint_group
27261
- # The name of the network endpoint group. It should comply with RFC1035.
28790
+ # Name of the region scoping this request.
28791
+ # @param [String] firewall_policy
28792
+ # Name of the firewall policy to update.
28793
+ # @param [Fixnum] priority
28794
+ # The priority of the rule to remove from the firewall policy.
28795
+ # @param [String] request_id
28796
+ # An optional request ID to identify requests. Specify a unique request ID so
28797
+ # that if you must retry your request, the server will know to ignore the
28798
+ # request if it has already been completed.
28799
+ # For example, consider a situation where you make an initial request and the
28800
+ # request times out. If you make the request again with the same request ID, the
28801
+ # server can check if original operation with the same request ID was received,
28802
+ # and if so, will ignore the second request. This prevents clients from
28803
+ # accidentally creating duplicate commitments.
28804
+ # The request ID must be a valid UUID with the exception that zero UUID is not
28805
+ # supported (00000000-0000-0000-0000-000000000000).
27262
28806
  # @param [String] fields
27263
28807
  # Selector specifying which fields to include in a partial response.
27264
28808
  # @param [String] quota_user
@@ -27270,46 +28814,38 @@ module Google
27270
28814
  # Request-specific options
27271
28815
  #
27272
28816
  # @yield [result, err] Result & error if block supplied
27273
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroup] parsed result object
28817
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27274
28818
  # @yieldparam err [StandardError] error object if request failed
27275
28819
  #
27276
- # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroup]
28820
+ # @return [Google::Apis::ComputeAlpha::Operation]
27277
28821
  #
27278
28822
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27279
28823
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27280
28824
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27281
- def get_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27282
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options)
27283
- command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
27284
- command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup
28825
+ def remove_region_network_firewall_policy_rule(project, region, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28826
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule', options)
28827
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
28828
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27285
28829
  command.params['project'] = project unless project.nil?
27286
28830
  command.params['region'] = region unless region.nil?
27287
- command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
28831
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
28832
+ command.query['priority'] = priority unless priority.nil?
28833
+ command.query['requestId'] = request_id unless request_id.nil?
27288
28834
  command.query['fields'] = fields unless fields.nil?
27289
28835
  command.query['quotaUser'] = quota_user unless quota_user.nil?
27290
28836
  command.query['userIp'] = user_ip unless user_ip.nil?
27291
28837
  execute_or_queue_command(command, &block)
27292
28838
  end
27293
28839
 
27294
- # Creates a network endpoint group in the specified project using the parameters
27295
- # that are included in the request.
28840
+ # Sets the access control policy on the specified resource. Replaces any
28841
+ # existing policy.
27296
28842
  # @param [String] project
27297
28843
  # Project ID for this request.
27298
28844
  # @param [String] region
27299
- # The name of the region where you want to create the network endpoint group. It
27300
- # should comply with RFC1035.
27301
- # @param [Google::Apis::ComputeAlpha::NetworkEndpointGroup] network_endpoint_group_object
27302
- # @param [String] request_id
27303
- # An optional request ID to identify requests. Specify a unique request ID so
27304
- # that if you must retry your request, the server will know to ignore the
27305
- # request if it has already been completed.
27306
- # For example, consider a situation where you make an initial request and the
27307
- # request times out. If you make the request again with the same request ID, the
27308
- # server can check if original operation with the same request ID was received,
27309
- # and if so, will ignore the second request. This prevents clients from
27310
- # accidentally creating duplicate commitments.
27311
- # The request ID must be a valid UUID with the exception that zero UUID is not
27312
- # supported (00000000-0000-0000-0000-000000000000).
28845
+ # The name of the region for this request.
28846
+ # @param [String] resource
28847
+ # Name or id of the resource for this request.
28848
+ # @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
27313
28849
  # @param [String] fields
27314
28850
  # Selector specifying which fields to include in a partial response.
27315
28851
  # @param [String] quota_user
@@ -27321,73 +28857,37 @@ module Google
27321
28857
  # Request-specific options
27322
28858
  #
27323
28859
  # @yield [result, err] Result & error if block supplied
27324
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
28860
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
27325
28861
  # @yieldparam err [StandardError] error object if request failed
27326
28862
  #
27327
- # @return [Google::Apis::ComputeAlpha::Operation]
28863
+ # @return [Google::Apis::ComputeAlpha::Policy]
27328
28864
  #
27329
28865
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27330
28866
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27331
28867
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27332
- def insert_region_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27333
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups', options)
27334
- command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
27335
- command.request_object = network_endpoint_group_object
27336
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27337
- command.response_class = Google::Apis::ComputeAlpha::Operation
28868
+ def set_region_network_firewall_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28869
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy', options)
28870
+ command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
28871
+ command.request_object = region_set_policy_request_object
28872
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
28873
+ command.response_class = Google::Apis::ComputeAlpha::Policy
27338
28874
  command.params['project'] = project unless project.nil?
27339
28875
  command.params['region'] = region unless region.nil?
27340
- command.query['requestId'] = request_id unless request_id.nil?
28876
+ command.params['resource'] = resource unless resource.nil?
27341
28877
  command.query['fields'] = fields unless fields.nil?
27342
28878
  command.query['quotaUser'] = quota_user unless quota_user.nil?
27343
28879
  command.query['userIp'] = user_ip unless user_ip.nil?
27344
28880
  execute_or_queue_command(command, &block)
27345
28881
  end
27346
28882
 
27347
- # Retrieves the list of regional network endpoint groups available to the
27348
- # specified project in the given region.
28883
+ # Returns permissions that a caller has on the specified resource.
27349
28884
  # @param [String] project
27350
28885
  # Project ID for this request.
27351
28886
  # @param [String] region
27352
- # The name of the region where the network endpoint group is located. It should
27353
- # comply with RFC1035.
27354
- # @param [String] filter
27355
- # A filter expression that filters resources listed in the response. The
27356
- # expression must specify the field name, a comparison operator, and the value
27357
- # that you want to use for filtering. The value must be a string, a number, or a
27358
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
27359
- # For example, if you are filtering Compute Engine instances, you can exclude
27360
- # instances named `example-instance` by specifying `name != example-instance`.
27361
- # You can also filter nested fields. For example, you could specify `scheduling.
27362
- # automaticRestart = false` to include instances only if they are not scheduled
27363
- # for automatic restarts. You can use filtering on nested fields to filter based
27364
- # on resource labels.
27365
- # To filter on multiple expressions, provide each separate expression within
27366
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
27367
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
27368
- # expression. However, you can include `AND` and `OR` expressions explicitly.
27369
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
27370
- # Broadwell") AND (scheduling.automaticRestart = true) ```
27371
- # @param [Fixnum] max_results
27372
- # The maximum number of results per page that should be returned. If the number
27373
- # of available results is larger than `maxResults`, Compute Engine returns a `
27374
- # nextPageToken` that can be used to get the next page of results in subsequent
27375
- # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
27376
- # @param [String] order_by
27377
- # Sorts list results by a certain order. By default, results are returned in
27378
- # alphanumerical order based on the resource name.
27379
- # You can also sort results in descending order based on the creation timestamp
27380
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
27381
- # creationTimestamp` field in reverse chronological order (newest result first).
27382
- # Use this to sort resources like operations so that the newest operation is
27383
- # returned first.
27384
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
27385
- # @param [String] page_token
27386
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
27387
- # by a previous list request to get the next page of results.
27388
- # @param [Boolean] return_partial_success
27389
- # Opt-in for partial success behavior which provides partial results in case of
27390
- # failure. The default value is false and the logic is the same as today.
28887
+ # The name of the region for this request.
28888
+ # @param [String] resource
28889
+ # Name or id of the resource for this request.
28890
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
27391
28891
  # @param [String] fields
27392
28892
  # Selector specifying which fields to include in a partial response.
27393
28893
  # @param [String] quota_user
@@ -27399,25 +28899,23 @@ module Google
27399
28899
  # Request-specific options
27400
28900
  #
27401
28901
  # @yield [result, err] Result & error if block supplied
27402
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] parsed result object
28902
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
27403
28903
  # @yieldparam err [StandardError] error object if request failed
27404
28904
  #
27405
- # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupList]
28905
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
27406
28906
  #
27407
28907
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27408
28908
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27409
28909
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27410
- def list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27411
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups', options)
27412
- command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation
27413
- command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList
28910
+ def test_region_network_firewall_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28911
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions', options)
28912
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
28913
+ command.request_object = test_permissions_request_object
28914
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
28915
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
27414
28916
  command.params['project'] = project unless project.nil?
27415
28917
  command.params['region'] = region unless region.nil?
27416
- command.query['filter'] = filter unless filter.nil?
27417
- command.query['maxResults'] = max_results unless max_results.nil?
27418
- command.query['orderBy'] = order_by unless order_by.nil?
27419
- command.query['pageToken'] = page_token unless page_token.nil?
27420
- command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28918
+ command.params['resource'] = resource unless resource.nil?
27421
28919
  command.query['fields'] = fields unless fields.nil?
27422
28920
  command.query['quotaUser'] = quota_user unless quota_user.nil?
27423
28921
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -27471,7 +28969,7 @@ module Google
27471
28969
  # by a previous list request to get the next page of results.
27472
28970
  # @param [Boolean] return_partial_success
27473
28971
  # Opt-in for partial success behavior which provides partial results in case of
27474
- # failure. The default value is false and the logic is the same as today.
28972
+ # failure. The default value is false.
27475
28973
  # @param [String] fields
27476
28974
  # Selector specifying which fields to include in a partial response.
27477
28975
  # @param [String] quota_user
@@ -27691,7 +29189,7 @@ module Google
27691
29189
  # by a previous list request to get the next page of results.
27692
29190
  # @param [Boolean] return_partial_success
27693
29191
  # Opt-in for partial success behavior which provides partial results in case of
27694
- # failure. The default value is false and the logic is the same as today.
29192
+ # failure. The default value is false.
27695
29193
  # @param [String] fields
27696
29194
  # Selector specifying which fields to include in a partial response.
27697
29195
  # @param [String] quota_user
@@ -27887,7 +29385,7 @@ module Google
27887
29385
  # by a previous list request to get the next page of results.
27888
29386
  # @param [Boolean] return_partial_success
27889
29387
  # Opt-in for partial success behavior which provides partial results in case of
27890
- # failure. The default value is false and the logic is the same as today.
29388
+ # failure. The default value is false.
27891
29389
  # @param [String] fields
27892
29390
  # Selector specifying which fields to include in a partial response.
27893
29391
  # @param [String] quota_user
@@ -28158,7 +29656,7 @@ module Google
28158
29656
  # by a previous list request to get the next page of results.
28159
29657
  # @param [Boolean] return_partial_success
28160
29658
  # Opt-in for partial success behavior which provides partial results in case of
28161
- # failure. The default value is false and the logic is the same as today.
29659
+ # failure. The default value is false.
28162
29660
  # @param [String] fields
28163
29661
  # Selector specifying which fields to include in a partial response.
28164
29662
  # @param [String] quota_user
@@ -28422,7 +29920,7 @@ module Google
28422
29920
  # by a previous list request to get the next page of results.
28423
29921
  # @param [Boolean] return_partial_success
28424
29922
  # Opt-in for partial success behavior which provides partial results in case of
28425
- # failure. The default value is false and the logic is the same as today.
29923
+ # failure. The default value is false.
28426
29924
  # @param [String] fields
28427
29925
  # Selector specifying which fields to include in a partial response.
28428
29926
  # @param [String] quota_user
@@ -28740,7 +30238,7 @@ module Google
28740
30238
  # by a previous list request to get the next page of results.
28741
30239
  # @param [Boolean] return_partial_success
28742
30240
  # Opt-in for partial success behavior which provides partial results in case of
28743
- # failure. The default value is false and the logic is the same as today.
30241
+ # failure. The default value is false.
28744
30242
  # @param [String] fields
28745
30243
  # Selector specifying which fields to include in a partial response.
28746
30244
  # @param [String] quota_user
@@ -29142,7 +30640,7 @@ module Google
29142
30640
  # by a previous list request to get the next page of results.
29143
30641
  # @param [Boolean] return_partial_success
29144
30642
  # Opt-in for partial success behavior which provides partial results in case of
29145
- # failure. The default value is false and the logic is the same as today.
30643
+ # failure. The default value is false.
29146
30644
  # @param [String] fields
29147
30645
  # Selector specifying which fields to include in a partial response.
29148
30646
  # @param [String] quota_user
@@ -29432,7 +30930,7 @@ module Google
29432
30930
  # by a previous list request to get the next page of results.
29433
30931
  # @param [Boolean] return_partial_success
29434
30932
  # Opt-in for partial success behavior which provides partial results in case of
29435
- # failure. The default value is false and the logic is the same as today.
30933
+ # failure. The default value is false.
29436
30934
  # @param [String] fields
29437
30935
  # Selector specifying which fields to include in a partial response.
29438
30936
  # @param [String] quota_user
@@ -29514,7 +31012,7 @@ module Google
29514
31012
  # by a previous list request to get the next page of results.
29515
31013
  # @param [Boolean] return_partial_success
29516
31014
  # Opt-in for partial success behavior which provides partial results in case of
29517
- # failure. The default value is false and the logic is the same as today.
31015
+ # failure. The default value is false.
29518
31016
  # @param [String] fields
29519
31017
  # Selector specifying which fields to include in a partial response.
29520
31018
  # @param [String] quota_user
@@ -29778,7 +31276,7 @@ module Google
29778
31276
  # by a previous list request to get the next page of results.
29779
31277
  # @param [Boolean] return_partial_success
29780
31278
  # Opt-in for partial success behavior which provides partial results in case of
29781
- # failure. The default value is false and the logic is the same as today.
31279
+ # failure. The default value is false.
29782
31280
  # @param [String] fields
29783
31281
  # Selector specifying which fields to include in a partial response.
29784
31282
  # @param [String] quota_user
@@ -30001,7 +31499,7 @@ module Google
30001
31499
  # by a previous list request to get the next page of results.
30002
31500
  # @param [Boolean] return_partial_success
30003
31501
  # Opt-in for partial success behavior which provides partial results in case of
30004
- # failure. The default value is false and the logic is the same as today.
31502
+ # failure. The default value is false.
30005
31503
  # @param [String] fields
30006
31504
  # Selector specifying which fields to include in a partial response.
30007
31505
  # @param [String] quota_user
@@ -30264,7 +31762,7 @@ module Google
30264
31762
  # by a previous list request to get the next page of results.
30265
31763
  # @param [Boolean] return_partial_success
30266
31764
  # Opt-in for partial success behavior which provides partial results in case of
30267
- # failure. The default value is false and the logic is the same as today.
31765
+ # failure. The default value is false.
30268
31766
  # @param [String] fields
30269
31767
  # Selector specifying which fields to include in a partial response.
30270
31768
  # @param [String] quota_user
@@ -30432,7 +31930,7 @@ module Google
30432
31930
  # by a previous list request to get the next page of results.
30433
31931
  # @param [Boolean] return_partial_success
30434
31932
  # Opt-in for partial success behavior which provides partial results in case of
30435
- # failure. The default value is false and the logic is the same as today.
31933
+ # failure. The default value is false.
30436
31934
  # @param [String] fields
30437
31935
  # Selector specifying which fields to include in a partial response.
30438
31936
  # @param [String] quota_user
@@ -30608,7 +32106,7 @@ module Google
30608
32106
  # by a previous list request to get the next page of results.
30609
32107
  # @param [Boolean] return_partial_success
30610
32108
  # Opt-in for partial success behavior which provides partial results in case of
30611
- # failure. The default value is false and the logic is the same as today.
32109
+ # failure. The default value is false.
30612
32110
  # @param [String] fields
30613
32111
  # Selector specifying which fields to include in a partial response.
30614
32112
  # @param [String] quota_user
@@ -30779,7 +32277,7 @@ module Google
30779
32277
  # by a previous list request to get the next page of results.
30780
32278
  # @param [Boolean] return_partial_success
30781
32279
  # Opt-in for partial success behavior which provides partial results in case of
30782
- # failure. The default value is false and the logic is the same as today.
32280
+ # failure. The default value is false.
30783
32281
  # @param [String] fields
30784
32282
  # Selector specifying which fields to include in a partial response.
30785
32283
  # @param [String] quota_user
@@ -31187,7 +32685,7 @@ module Google
31187
32685
  # by a previous list request to get the next page of results.
31188
32686
  # @param [Boolean] return_partial_success
31189
32687
  # Opt-in for partial success behavior which provides partial results in case of
31190
- # failure. The default value is false and the logic is the same as today.
32688
+ # failure. The default value is false.
31191
32689
  # @param [String] fields
31192
32690
  # Selector specifying which fields to include in a partial response.
31193
32691
  # @param [String] quota_user
@@ -31518,7 +33016,7 @@ module Google
31518
33016
  # by a previous list request to get the next page of results.
31519
33017
  # @param [Boolean] return_partial_success
31520
33018
  # Opt-in for partial success behavior which provides partial results in case of
31521
- # failure. The default value is false and the logic is the same as today.
33019
+ # failure. The default value is false.
31522
33020
  # @param [String] fields
31523
33021
  # Selector specifying which fields to include in a partial response.
31524
33022
  # @param [String] quota_user
@@ -31594,7 +33092,7 @@ module Google
31594
33092
  # by a previous list request to get the next page of results.
31595
33093
  # @param [Boolean] return_partial_success
31596
33094
  # Opt-in for partial success behavior which provides partial results in case of
31597
- # failure. The default value is false and the logic is the same as today.
33095
+ # failure. The default value is false.
31598
33096
  # @param [String] fields
31599
33097
  # Selector specifying which fields to include in a partial response.
31600
33098
  # @param [String] quota_user
@@ -31846,6 +33344,90 @@ module Google
31846
33344
  execute_or_queue_command(command, &block)
31847
33345
  end
31848
33346
 
33347
+ # Retrieves the list of all ServiceAttachment resources, regional and global,
33348
+ # available to the specified project.
33349
+ # @param [String] project
33350
+ # Name of the project scoping this request.
33351
+ # @param [String] filter
33352
+ # A filter expression that filters resources listed in the response. The
33353
+ # expression must specify the field name, a comparison operator, and the value
33354
+ # that you want to use for filtering. The value must be a string, a number, or a
33355
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
33356
+ # For example, if you are filtering Compute Engine instances, you can exclude
33357
+ # instances named `example-instance` by specifying `name != example-instance`.
33358
+ # You can also filter nested fields. For example, you could specify `scheduling.
33359
+ # automaticRestart = false` to include instances only if they are not scheduled
33360
+ # for automatic restarts. You can use filtering on nested fields to filter based
33361
+ # on resource labels.
33362
+ # To filter on multiple expressions, provide each separate expression within
33363
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
33364
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
33365
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
33366
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
33367
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
33368
+ # @param [Boolean] include_all_scopes
33369
+ # Indicates whether every visible scope for each scope type (zone, region,
33370
+ # global) should be included in the response. For new resource types added after
33371
+ # this field, the flag has no effect as new resource types will always include
33372
+ # every visible scope for each scope type in response. For resource types which
33373
+ # predate this field, if this flag is omitted or false, only scopes of the scope
33374
+ # types where the resource type is expected to be found will be included.
33375
+ # @param [Fixnum] max_results
33376
+ # The maximum number of results per page that should be returned. If the number
33377
+ # of available results is larger than `maxResults`, Compute Engine returns a `
33378
+ # nextPageToken` that can be used to get the next page of results in subsequent
33379
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
33380
+ # @param [String] order_by
33381
+ # Sorts list results by a certain order. By default, results are returned in
33382
+ # alphanumerical order based on the resource name.
33383
+ # You can also sort results in descending order based on the creation timestamp
33384
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
33385
+ # creationTimestamp` field in reverse chronological order (newest result first).
33386
+ # Use this to sort resources like operations so that the newest operation is
33387
+ # returned first.
33388
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
33389
+ # @param [String] page_token
33390
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
33391
+ # by a previous list request to get the next page of results.
33392
+ # @param [Boolean] return_partial_success
33393
+ # Opt-in for partial success behavior which provides partial results in case of
33394
+ # failure. The default value is false.
33395
+ # @param [String] fields
33396
+ # Selector specifying which fields to include in a partial response.
33397
+ # @param [String] quota_user
33398
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
33399
+ # characters.
33400
+ # @param [String] user_ip
33401
+ # Deprecated. Please use quotaUser instead.
33402
+ # @param [Google::Apis::RequestOptions] options
33403
+ # Request-specific options
33404
+ #
33405
+ # @yield [result, err] Result & error if block supplied
33406
+ # @yieldparam result [Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList] parsed result object
33407
+ # @yieldparam err [StandardError] error object if request failed
33408
+ #
33409
+ # @return [Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList]
33410
+ #
33411
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33412
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33413
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
33414
+ 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)
33415
+ command = make_simple_command(:get, 'projects/{project}/aggregated/serviceAttachments', options)
33416
+ command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList::Representation
33417
+ command.response_class = Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList
33418
+ command.params['project'] = project unless project.nil?
33419
+ command.query['filter'] = filter unless filter.nil?
33420
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
33421
+ command.query['maxResults'] = max_results unless max_results.nil?
33422
+ command.query['orderBy'] = order_by unless order_by.nil?
33423
+ command.query['pageToken'] = page_token unless page_token.nil?
33424
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
33425
+ command.query['fields'] = fields unless fields.nil?
33426
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
33427
+ command.query['userIp'] = user_ip unless user_ip.nil?
33428
+ execute_or_queue_command(command, &block)
33429
+ end
33430
+
31849
33431
  # Deletes the specified ServiceAttachment in the given scope
31850
33432
  # @param [String] project
31851
33433
  # Project ID for this request.
@@ -32072,7 +33654,7 @@ module Google
32072
33654
  # by a previous list request to get the next page of results.
32073
33655
  # @param [Boolean] return_partial_success
32074
33656
  # Opt-in for partial success behavior which provides partial results in case of
32075
- # failure. The default value is false and the logic is the same as today.
33657
+ # failure. The default value is false.
32076
33658
  # @param [String] fields
32077
33659
  # Selector specifying which fields to include in a partial response.
32078
33660
  # @param [String] quota_user
@@ -32412,7 +33994,7 @@ module Google
32412
33994
  # by a previous list request to get the next page of results.
32413
33995
  # @param [Boolean] return_partial_success
32414
33996
  # Opt-in for partial success behavior which provides partial results in case of
32415
- # failure. The default value is false and the logic is the same as today.
33997
+ # failure. The default value is false.
32416
33998
  # @param [String] fields
32417
33999
  # Selector specifying which fields to include in a partial response.
32418
34000
  # @param [String] quota_user
@@ -32614,7 +34196,7 @@ module Google
32614
34196
  # by a previous list request to get the next page of results.
32615
34197
  # @param [Boolean] return_partial_success
32616
34198
  # Opt-in for partial success behavior which provides partial results in case of
32617
- # failure. The default value is false and the logic is the same as today.
34199
+ # failure. The default value is false.
32618
34200
  # @param [String] fields
32619
34201
  # Selector specifying which fields to include in a partial response.
32620
34202
  # @param [String] quota_user
@@ -32825,7 +34407,7 @@ module Google
32825
34407
  # by a previous list request to get the next page of results.
32826
34408
  # @param [Boolean] return_partial_success
32827
34409
  # Opt-in for partial success behavior which provides partial results in case of
32828
- # failure. The default value is false and the logic is the same as today.
34410
+ # failure. The default value is false.
32829
34411
  # @param [String] fields
32830
34412
  # Selector specifying which fields to include in a partial response.
32831
34413
  # @param [String] quota_user
@@ -33075,7 +34657,7 @@ module Google
33075
34657
  # by a previous list request to get the next page of results.
33076
34658
  # @param [Boolean] return_partial_success
33077
34659
  # Opt-in for partial success behavior which provides partial results in case of
33078
- # failure. The default value is false and the logic is the same as today.
34660
+ # failure. The default value is false.
33079
34661
  # @param [String] fields
33080
34662
  # Selector specifying which fields to include in a partial response.
33081
34663
  # @param [String] quota_user
@@ -33151,7 +34733,7 @@ module Google
33151
34733
  # by a previous list request to get the next page of results.
33152
34734
  # @param [Boolean] return_partial_success
33153
34735
  # Opt-in for partial success behavior which provides partial results in case of
33154
- # failure. The default value is false and the logic is the same as today.
34736
+ # failure. The default value is false.
33155
34737
  # @param [String] fields
33156
34738
  # Selector specifying which fields to include in a partial response.
33157
34739
  # @param [String] quota_user
@@ -33324,7 +34906,7 @@ module Google
33324
34906
  # by a previous list request to get the next page of results.
33325
34907
  # @param [Boolean] return_partial_success
33326
34908
  # Opt-in for partial success behavior which provides partial results in case of
33327
- # failure. The default value is false and the logic is the same as today.
34909
+ # failure. The default value is false.
33328
34910
  # @param [String] fields
33329
34911
  # Selector specifying which fields to include in a partial response.
33330
34912
  # @param [String] quota_user
@@ -33642,7 +35224,7 @@ module Google
33642
35224
  # by a previous list request to get the next page of results.
33643
35225
  # @param [Boolean] return_partial_success
33644
35226
  # Opt-in for partial success behavior which provides partial results in case of
33645
- # failure. The default value is false and the logic is the same as today.
35227
+ # failure. The default value is false.
33646
35228
  # @param [String] fields
33647
35229
  # Selector specifying which fields to include in a partial response.
33648
35230
  # @param [String] quota_user
@@ -33718,7 +35300,7 @@ module Google
33718
35300
  # by a previous list request to get the next page of results.
33719
35301
  # @param [Boolean] return_partial_success
33720
35302
  # Opt-in for partial success behavior which provides partial results in case of
33721
- # failure. The default value is false and the logic is the same as today.
35303
+ # failure. The default value is false.
33722
35304
  # @param [String] fields
33723
35305
  # Selector specifying which fields to include in a partial response.
33724
35306
  # @param [String] quota_user
@@ -34132,7 +35714,7 @@ module Google
34132
35714
  # by a previous list request to get the next page of results.
34133
35715
  # @param [Boolean] return_partial_success
34134
35716
  # Opt-in for partial success behavior which provides partial results in case of
34135
- # failure. The default value is false and the logic is the same as today.
35717
+ # failure. The default value is false.
34136
35718
  # @param [String] fields
34137
35719
  # Selector specifying which fields to include in a partial response.
34138
35720
  # @param [String] quota_user
@@ -34307,7 +35889,7 @@ module Google
34307
35889
  # by a previous list request to get the next page of results.
34308
35890
  # @param [Boolean] return_partial_success
34309
35891
  # Opt-in for partial success behavior which provides partial results in case of
34310
- # failure. The default value is false and the logic is the same as today.
35892
+ # failure. The default value is false.
34311
35893
  # @param [String] fields
34312
35894
  # Selector specifying which fields to include in a partial response.
34313
35895
  # @param [String] quota_user
@@ -34518,7 +36100,7 @@ module Google
34518
36100
  # by a previous list request to get the next page of results.
34519
36101
  # @param [Boolean] return_partial_success
34520
36102
  # Opt-in for partial success behavior which provides partial results in case of
34521
- # failure. The default value is false and the logic is the same as today.
36103
+ # failure. The default value is false.
34522
36104
  # @param [String] fields
34523
36105
  # Selector specifying which fields to include in a partial response.
34524
36106
  # @param [String] quota_user
@@ -34744,7 +36326,7 @@ module Google
34744
36326
  # by a previous list request to get the next page of results.
34745
36327
  # @param [Boolean] return_partial_success
34746
36328
  # Opt-in for partial success behavior which provides partial results in case of
34747
- # failure. The default value is false and the logic is the same as today.
36329
+ # failure. The default value is false.
34748
36330
  # @param [String] fields
34749
36331
  # Selector specifying which fields to include in a partial response.
34750
36332
  # @param [String] quota_user
@@ -34955,7 +36537,7 @@ module Google
34955
36537
  # by a previous list request to get the next page of results.
34956
36538
  # @param [Boolean] return_partial_success
34957
36539
  # Opt-in for partial success behavior which provides partial results in case of
34958
- # failure. The default value is false and the logic is the same as today.
36540
+ # failure. The default value is false.
34959
36541
  # @param [String] fields
34960
36542
  # Selector specifying which fields to include in a partial response.
34961
36543
  # @param [String] quota_user
@@ -35390,7 +36972,7 @@ module Google
35390
36972
  # by a previous list request to get the next page of results.
35391
36973
  # @param [Boolean] return_partial_success
35392
36974
  # Opt-in for partial success behavior which provides partial results in case of
35393
- # failure. The default value is false and the logic is the same as today.
36975
+ # failure. The default value is false.
35394
36976
  # @param [String] fields
35395
36977
  # Selector specifying which fields to include in a partial response.
35396
36978
  # @param [String] quota_user
@@ -35612,7 +37194,7 @@ module Google
35612
37194
  # by a previous list request to get the next page of results.
35613
37195
  # @param [Boolean] return_partial_success
35614
37196
  # Opt-in for partial success behavior which provides partial results in case of
35615
- # failure. The default value is false and the logic is the same as today.
37197
+ # failure. The default value is false.
35616
37198
  # @param [String] fields
35617
37199
  # Selector specifying which fields to include in a partial response.
35618
37200
  # @param [String] quota_user
@@ -35845,7 +37427,7 @@ module Google
35845
37427
  # by a previous list request to get the next page of results.
35846
37428
  # @param [Boolean] return_partial_success
35847
37429
  # Opt-in for partial success behavior which provides partial results in case of
35848
- # failure. The default value is false and the logic is the same as today.
37430
+ # failure. The default value is false.
35849
37431
  # @param [String] fields
35850
37432
  # Selector specifying which fields to include in a partial response.
35851
37433
  # @param [String] quota_user
@@ -36109,7 +37691,7 @@ module Google
36109
37691
  # by a previous list request to get the next page of results.
36110
37692
  # @param [Boolean] return_partial_success
36111
37693
  # Opt-in for partial success behavior which provides partial results in case of
36112
- # failure. The default value is false and the logic is the same as today.
37694
+ # failure. The default value is false.
36113
37695
  # @param [String] fields
36114
37696
  # Selector specifying which fields to include in a partial response.
36115
37697
  # @param [String] quota_user
@@ -36527,7 +38109,7 @@ module Google
36527
38109
  # by a previous list request to get the next page of results.
36528
38110
  # @param [Boolean] return_partial_success
36529
38111
  # Opt-in for partial success behavior which provides partial results in case of
36530
- # failure. The default value is false and the logic is the same as today.
38112
+ # failure. The default value is false.
36531
38113
  # @param [String] fields
36532
38114
  # Selector specifying which fields to include in a partial response.
36533
38115
  # @param [String] quota_user
@@ -37036,7 +38618,7 @@ module Google
37036
38618
  # by a previous list request to get the next page of results.
37037
38619
  # @param [Boolean] return_partial_success
37038
38620
  # Opt-in for partial success behavior which provides partial results in case of
37039
- # failure. The default value is false and the logic is the same as today.
38621
+ # failure. The default value is false.
37040
38622
  # @param [String] fields
37041
38623
  # Selector specifying which fields to include in a partial response.
37042
38624
  # @param [String] quota_user
@@ -37259,7 +38841,7 @@ module Google
37259
38841
  # by a previous list request to get the next page of results.
37260
38842
  # @param [Boolean] return_partial_success
37261
38843
  # Opt-in for partial success behavior which provides partial results in case of
37262
- # failure. The default value is false and the logic is the same as today.
38844
+ # failure. The default value is false.
37263
38845
  # @param [String] fields
37264
38846
  # Selector specifying which fields to include in a partial response.
37265
38847
  # @param [String] quota_user
@@ -37481,7 +39063,7 @@ module Google
37481
39063
  # by a previous list request to get the next page of results.
37482
39064
  # @param [Boolean] return_partial_success
37483
39065
  # Opt-in for partial success behavior which provides partial results in case of
37484
- # failure. The default value is false and the logic is the same as today.
39066
+ # failure. The default value is false.
37485
39067
  # @param [String] fields
37486
39068
  # Selector specifying which fields to include in a partial response.
37487
39069
  # @param [String] quota_user
@@ -37662,7 +39244,7 @@ module Google
37662
39244
  # by a previous list request to get the next page of results.
37663
39245
  # @param [Boolean] return_partial_success
37664
39246
  # Opt-in for partial success behavior which provides partial results in case of
37665
- # failure. The default value is false and the logic is the same as today.
39247
+ # failure. The default value is false.
37666
39248
  # @param [String] fields
37667
39249
  # Selector specifying which fields to include in a partial response.
37668
39250
  # @param [String] quota_user
@@ -37926,7 +39508,7 @@ module Google
37926
39508
  # by a previous list request to get the next page of results.
37927
39509
  # @param [Boolean] return_partial_success
37928
39510
  # Opt-in for partial success behavior which provides partial results in case of
37929
- # failure. The default value is false and the logic is the same as today.
39511
+ # failure. The default value is false.
37930
39512
  # @param [String] fields
37931
39513
  # Selector specifying which fields to include in a partial response.
37932
39514
  # @param [String] quota_user
@@ -38191,7 +39773,7 @@ module Google
38191
39773
  # by a previous list request to get the next page of results.
38192
39774
  # @param [Boolean] return_partial_success
38193
39775
  # Opt-in for partial success behavior which provides partial results in case of
38194
- # failure. The default value is false and the logic is the same as today.
39776
+ # failure. The default value is false.
38195
39777
  # @param [String] fields
38196
39778
  # Selector specifying which fields to include in a partial response.
38197
39779
  # @param [String] quota_user
@@ -38451,7 +40033,7 @@ module Google
38451
40033
  # by a previous list request to get the next page of results.
38452
40034
  # @param [Boolean] return_partial_success
38453
40035
  # Opt-in for partial success behavior which provides partial results in case of
38454
- # failure. The default value is false and the logic is the same as today.
40036
+ # failure. The default value is false.
38455
40037
  # @param [String] fields
38456
40038
  # Selector specifying which fields to include in a partial response.
38457
40039
  # @param [String] quota_user
@@ -38631,7 +40213,7 @@ module Google
38631
40213
  # by a previous list request to get the next page of results.
38632
40214
  # @param [Boolean] return_partial_success
38633
40215
  # Opt-in for partial success behavior which provides partial results in case of
38634
- # failure. The default value is false and the logic is the same as today.
40216
+ # failure. The default value is false.
38635
40217
  # @param [String] fields
38636
40218
  # Selector specifying which fields to include in a partial response.
38637
40219
  # @param [String] quota_user
@@ -38853,7 +40435,7 @@ module Google
38853
40435
  # by a previous list request to get the next page of results.
38854
40436
  # @param [Boolean] return_partial_success
38855
40437
  # Opt-in for partial success behavior which provides partial results in case of
38856
- # failure. The default value is false and the logic is the same as today.
40438
+ # failure. The default value is false.
38857
40439
  # @param [String] fields
38858
40440
  # Selector specifying which fields to include in a partial response.
38859
40441
  # @param [String] quota_user
@@ -39218,7 +40800,7 @@ module Google
39218
40800
  # by a previous list request to get the next page of results.
39219
40801
  # @param [Boolean] return_partial_success
39220
40802
  # Opt-in for partial success behavior which provides partial results in case of
39221
- # failure. The default value is false and the logic is the same as today.
40803
+ # failure. The default value is false.
39222
40804
  # @param [String] fields
39223
40805
  # Selector specifying which fields to include in a partial response.
39224
40806
  # @param [String] quota_user
@@ -39681,7 +41263,7 @@ module Google
39681
41263
  # by a previous list request to get the next page of results.
39682
41264
  # @param [Boolean] return_partial_success
39683
41265
  # Opt-in for partial success behavior which provides partial results in case of
39684
- # failure. The default value is false and the logic is the same as today.
41266
+ # failure. The default value is false.
39685
41267
  # @param [String] fields
39686
41268
  # Selector specifying which fields to include in a partial response.
39687
41269
  # @param [String] quota_user
@@ -39975,7 +41557,7 @@ module Google
39975
41557
  # by a previous list request to get the next page of results.
39976
41558
  # @param [Boolean] return_partial_success
39977
41559
  # Opt-in for partial success behavior which provides partial results in case of
39978
- # failure. The default value is false and the logic is the same as today.
41560
+ # failure. The default value is false.
39979
41561
  # @param [String] fields
39980
41562
  # Selector specifying which fields to include in a partial response.
39981
41563
  # @param [String] quota_user
@@ -40137,7 +41719,7 @@ module Google
40137
41719
  # by a previous list request to get the next page of results.
40138
41720
  # @param [Boolean] return_partial_success
40139
41721
  # Opt-in for partial success behavior which provides partial results in case of
40140
- # failure. The default value is false and the logic is the same as today.
41722
+ # failure. The default value is false.
40141
41723
  # @param [String] fields
40142
41724
  # Selector specifying which fields to include in a partial response.
40143
41725
  # @param [String] quota_user