google-apis-compute_alpha 0.87.0 → 0.89.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/compute/
34
34
  class ComputeService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://compute.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -47,7 +49,7 @@ module Google
47
49
  attr_accessor :user_ip
48
50
 
49
51
  def initialize
50
- super('https://compute.googleapis.com/', 'compute/alpha/',
52
+ super(DEFAULT_ENDPOINT_TEMPLATE, 'compute/alpha/',
51
53
  client_name: 'google-apis-compute_alpha',
52
54
  client_version: Google::Apis::ComputeAlpha::GEM_VERSION)
53
55
  @batch_path = 'batch/compute/alpha'
@@ -115,6 +117,8 @@ module Google
115
117
  # Opt-in for partial success behavior which provides partial results in case of
116
118
  # failure. The default value is false.
117
119
  # @param [Fixnum] service_project_number
120
+ # The Shared VPC service project id or service project number for which
121
+ # aggregated list request is invoked for subnetworks list-usable api.
118
122
  # @param [String] fields
119
123
  # Selector specifying which fields to include in a partial response.
120
124
  # @param [String] quota_user
@@ -346,6 +350,8 @@ module Google
346
350
  # Opt-in for partial success behavior which provides partial results in case of
347
351
  # failure. The default value is false.
348
352
  # @param [Fixnum] service_project_number
353
+ # The Shared VPC service project id or service project number for which
354
+ # aggregated list request is invoked for subnetworks list-usable api.
349
355
  # @param [String] fields
350
356
  # Selector specifying which fields to include in a partial response.
351
357
  # @param [String] quota_user
@@ -826,6 +832,8 @@ module Google
826
832
  # Opt-in for partial success behavior which provides partial results in case of
827
833
  # failure. The default value is false.
828
834
  # @param [Fixnum] service_project_number
835
+ # The Shared VPC service project id or service project number for which
836
+ # aggregated list request is invoked for subnetworks list-usable api.
829
837
  # @param [String] fields
830
838
  # Selector specifying which fields to include in a partial response.
831
839
  # @param [String] quota_user
@@ -1956,6 +1964,8 @@ module Google
1956
1964
  # Opt-in for partial success behavior which provides partial results in case of
1957
1965
  # failure. The default value is false.
1958
1966
  # @param [Fixnum] service_project_number
1967
+ # The Shared VPC service project id or service project number for which
1968
+ # aggregated list request is invoked for subnetworks list-usable api.
1959
1969
  # @param [String] fields
1960
1970
  # Selector specifying which fields to include in a partial response.
1961
1971
  # @param [String] quota_user
@@ -2873,6 +2883,8 @@ module Google
2873
2883
  # Opt-in for partial success behavior which provides partial results in case of
2874
2884
  # failure. The default value is false.
2875
2885
  # @param [Fixnum] service_project_number
2886
+ # The Shared VPC service project id or service project number for which
2887
+ # aggregated list request is invoked for subnetworks list-usable api.
2876
2888
  # @param [String] fields
2877
2889
  # Selector specifying which fields to include in a partial response.
2878
2890
  # @param [String] quota_user
@@ -3157,6 +3169,8 @@ module Google
3157
3169
  # Opt-in for partial success behavior which provides partial results in case of
3158
3170
  # failure. The default value is false.
3159
3171
  # @param [Fixnum] service_project_number
3172
+ # The Shared VPC service project id or service project number for which
3173
+ # aggregated list request is invoked for subnetworks list-usable api.
3160
3174
  # @param [String] fields
3161
3175
  # Selector specifying which fields to include in a partial response.
3162
3176
  # @param [String] quota_user
@@ -5594,6 +5608,8 @@ module Google
5594
5608
  # Opt-in for partial success behavior which provides partial results in case of
5595
5609
  # failure. The default value is false.
5596
5610
  # @param [Fixnum] service_project_number
5611
+ # The Shared VPC service project id or service project number for which
5612
+ # aggregated list request is invoked for subnetworks list-usable api.
5597
5613
  # @param [String] fields
5598
5614
  # Selector specifying which fields to include in a partial response.
5599
5615
  # @param [String] quota_user
@@ -6131,6 +6147,8 @@ module Google
6131
6147
  # Opt-in for partial success behavior which provides partial results in case of
6132
6148
  # failure. The default value is false.
6133
6149
  # @param [Fixnum] service_project_number
6150
+ # The Shared VPC service project id or service project number for which
6151
+ # aggregated list request is invoked for subnetworks list-usable api.
6134
6152
  # @param [String] fields
6135
6153
  # Selector specifying which fields to include in a partial response.
6136
6154
  # @param [String] quota_user
@@ -7777,6 +7795,8 @@ module Google
7777
7795
  # Opt-in for partial success behavior which provides partial results in case of
7778
7796
  # failure. The default value is false.
7779
7797
  # @param [Fixnum] service_project_number
7798
+ # The Shared VPC service project id or service project number for which
7799
+ # aggregated list request is invoked for subnetworks list-usable api.
7780
7800
  # @param [String] fields
7781
7801
  # Selector specifying which fields to include in a partial response.
7782
7802
  # @param [String] quota_user
@@ -8514,6 +8534,8 @@ module Google
8514
8534
  # Opt-in for partial success behavior which provides partial results in case of
8515
8535
  # failure. The default value is false.
8516
8536
  # @param [Fixnum] service_project_number
8537
+ # The Shared VPC service project id or service project number for which
8538
+ # aggregated list request is invoked for subnetworks list-usable api.
8517
8539
  # @param [String] fields
8518
8540
  # Selector specifying which fields to include in a partial response.
8519
8541
  # @param [String] quota_user
@@ -10650,6 +10672,8 @@ module Google
10650
10672
  # Opt-in for partial success behavior which provides partial results in case of
10651
10673
  # failure. The default value is false.
10652
10674
  # @param [Fixnum] service_project_number
10675
+ # The Shared VPC service project id or service project number for which
10676
+ # aggregated list request is invoked for subnetworks list-usable api.
10653
10677
  # @param [String] fields
10654
10678
  # Selector specifying which fields to include in a partial response.
10655
10679
  # @param [String] quota_user
@@ -12458,6 +12482,8 @@ module Google
12458
12482
  # Opt-in for partial success behavior which provides partial results in case of
12459
12483
  # failure. The default value is false.
12460
12484
  # @param [Fixnum] service_project_number
12485
+ # The Shared VPC service project id or service project number for which
12486
+ # aggregated list request is invoked for subnetworks list-usable api.
12461
12487
  # @param [String] fields
12462
12488
  # Selector specifying which fields to include in a partial response.
12463
12489
  # @param [String] quota_user
@@ -13137,6 +13163,8 @@ module Google
13137
13163
  # Opt-in for partial success behavior which provides partial results in case of
13138
13164
  # failure. The default value is false.
13139
13165
  # @param [Fixnum] service_project_number
13166
+ # The Shared VPC service project id or service project number for which
13167
+ # aggregated list request is invoked for subnetworks list-usable api.
13140
13168
  # @param [String] fields
13141
13169
  # Selector specifying which fields to include in a partial response.
13142
13170
  # @param [String] quota_user
@@ -13753,6 +13781,8 @@ module Google
13753
13781
  # Opt-in for partial success behavior which provides partial results in case of
13754
13782
  # failure. The default value is false.
13755
13783
  # @param [Fixnum] service_project_number
13784
+ # The Shared VPC service project id or service project number for which
13785
+ # aggregated list request is invoked for subnetworks list-usable api.
13756
13786
  # @param [String] fields
13757
13787
  # Selector specifying which fields to include in a partial response.
13758
13788
  # @param [String] quota_user
@@ -16613,6 +16643,8 @@ module Google
16613
16643
  # Opt-in for partial success behavior which provides partial results in case of
16614
16644
  # failure. The default value is false.
16615
16645
  # @param [Fixnum] service_project_number
16646
+ # The Shared VPC service project id or service project number for which
16647
+ # aggregated list request is invoked for subnetworks list-usable api.
16616
16648
  # @param [String] fields
16617
16649
  # Selector specifying which fields to include in a partial response.
16618
16650
  # @param [String] quota_user
@@ -16705,60 +16737,6 @@ module Google
16705
16737
  execute_or_queue_command(command, &block)
16706
16738
  end
16707
16739
 
16708
- # Export the changed blocks between two instant snapshots to a customer's bucket
16709
- # in the user specified format.
16710
- # @param [String] project
16711
- # Project ID for this request.
16712
- # @param [String] zone
16713
- # The name of the zone for this request.
16714
- # @param [String] instant_snapshot
16715
- # Name of the instant snapshot to export.
16716
- # @param [Google::Apis::ComputeAlpha::InstantSnapshotsExportRequest] instant_snapshots_export_request_object
16717
- # @param [String] request_id
16718
- # An optional request ID to identify requests. Specify a unique request ID so
16719
- # that if you must retry your request, the server will know to ignore the
16720
- # request if it has already been completed. For example, consider a situation
16721
- # where you make an initial request and the request times out. If you make the
16722
- # request again with the same request ID, the server can check if original
16723
- # operation with the same request ID was received, and if so, will ignore the
16724
- # second request. This prevents clients from accidentally creating duplicate
16725
- # commitments. The request ID must be a valid UUID with the exception that zero
16726
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
16727
- # @param [String] fields
16728
- # Selector specifying which fields to include in a partial response.
16729
- # @param [String] quota_user
16730
- # Available to use for quota purposes for server-side applications. Can be any
16731
- # arbitrary string assigned to a user, but should not exceed 40 characters.
16732
- # @param [String] user_ip
16733
- # Legacy name for parameter that has been superseded by `quotaUser`.
16734
- # @param [Google::Apis::RequestOptions] options
16735
- # Request-specific options
16736
- #
16737
- # @yield [result, err] Result & error if block supplied
16738
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16739
- # @yieldparam err [StandardError] error object if request failed
16740
- #
16741
- # @return [Google::Apis::ComputeAlpha::Operation]
16742
- #
16743
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16744
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16745
- # @raise [Google::Apis::AuthorizationError] Authorization is required
16746
- def export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16747
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export', options)
16748
- command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshotsExportRequest::Representation
16749
- command.request_object = instant_snapshots_export_request_object
16750
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16751
- command.response_class = Google::Apis::ComputeAlpha::Operation
16752
- command.params['project'] = project unless project.nil?
16753
- command.params['zone'] = zone unless zone.nil?
16754
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
16755
- command.query['requestId'] = request_id unless request_id.nil?
16756
- command.query['fields'] = fields unless fields.nil?
16757
- command.query['quotaUser'] = quota_user unless quota_user.nil?
16758
- command.query['userIp'] = user_ip unless user_ip.nil?
16759
- execute_or_queue_command(command, &block)
16760
- end
16761
-
16762
16740
  # Returns the specified InstantSnapshot resource in the specified zone.
16763
16741
  # @param [String] project
16764
16742
  # Project ID for this request.
@@ -17185,6 +17163,8 @@ module Google
17185
17163
  # Opt-in for partial success behavior which provides partial results in case of
17186
17164
  # failure. The default value is false.
17187
17165
  # @param [Fixnum] service_project_number
17166
+ # The Shared VPC service project id or service project number for which
17167
+ # aggregated list request is invoked for subnetworks list-usable api.
17188
17168
  # @param [String] fields
17189
17169
  # Selector specifying which fields to include in a partial response.
17190
17170
  # @param [String] quota_user
@@ -19458,6 +19438,8 @@ module Google
19458
19438
  # Opt-in for partial success behavior which provides partial results in case of
19459
19439
  # failure. The default value is false.
19460
19440
  # @param [Fixnum] service_project_number
19441
+ # The Shared VPC service project id or service project number for which
19442
+ # aggregated list request is invoked for subnetworks list-usable api.
19461
19443
  # @param [String] fields
19462
19444
  # Selector specifying which fields to include in a partial response.
19463
19445
  # @param [String] quota_user
@@ -19689,6 +19671,8 @@ module Google
19689
19671
  # Opt-in for partial success behavior which provides partial results in case of
19690
19672
  # failure. The default value is false.
19691
19673
  # @param [Fixnum] service_project_number
19674
+ # The Shared VPC service project id or service project number for which
19675
+ # aggregated list request is invoked for subnetworks list-usable api.
19692
19676
  # @param [String] fields
19693
19677
  # Selector specifying which fields to include in a partial response.
19694
19678
  # @param [String] quota_user
@@ -20207,6 +20191,8 @@ module Google
20207
20191
  # Opt-in for partial success behavior which provides partial results in case of
20208
20192
  # failure. The default value is false.
20209
20193
  # @param [Fixnum] service_project_number
20194
+ # The Shared VPC service project id or service project number for which
20195
+ # aggregated list request is invoked for subnetworks list-usable api.
20210
20196
  # @param [String] fields
20211
20197
  # Selector specifying which fields to include in a partial response.
20212
20198
  # @param [String] quota_user
@@ -20507,6 +20493,8 @@ module Google
20507
20493
  # Opt-in for partial success behavior which provides partial results in case of
20508
20494
  # failure. The default value is false.
20509
20495
  # @param [Fixnum] service_project_number
20496
+ # The Shared VPC service project id or service project number for which
20497
+ # aggregated list request is invoked for subnetworks list-usable api.
20510
20498
  # @param [String] fields
20511
20499
  # Selector specifying which fields to include in a partial response.
20512
20500
  # @param [String] quota_user
@@ -22841,6 +22829,8 @@ module Google
22841
22829
  # Opt-in for partial success behavior which provides partial results in case of
22842
22830
  # failure. The default value is false.
22843
22831
  # @param [Fixnum] service_project_number
22832
+ # The Shared VPC service project id or service project number for which
22833
+ # aggregated list request is invoked for subnetworks list-usable api.
22844
22834
  # @param [String] fields
22845
22835
  # Selector specifying which fields to include in a partial response.
22846
22836
  # @param [String] quota_user
@@ -23667,6 +23657,8 @@ module Google
23667
23657
  # Opt-in for partial success behavior which provides partial results in case of
23668
23658
  # failure. The default value is false.
23669
23659
  # @param [Fixnum] service_project_number
23660
+ # The Shared VPC service project id or service project number for which
23661
+ # aggregated list request is invoked for subnetworks list-usable api.
23670
23662
  # @param [String] fields
23671
23663
  # Selector specifying which fields to include in a partial response.
23672
23664
  # @param [String] quota_user
@@ -24126,6 +24118,8 @@ module Google
24126
24118
  # Opt-in for partial success behavior which provides partial results in case of
24127
24119
  # failure. The default value is false.
24128
24120
  # @param [Fixnum] service_project_number
24121
+ # The Shared VPC service project id or service project number for which
24122
+ # aggregated list request is invoked for subnetworks list-usable api.
24129
24123
  # @param [String] fields
24130
24124
  # Selector specifying which fields to include in a partial response.
24131
24125
  # @param [String] quota_user
@@ -25061,6 +25055,8 @@ module Google
25061
25055
  # Opt-in for partial success behavior which provides partial results in case of
25062
25056
  # failure. The default value is false.
25063
25057
  # @param [Fixnum] service_project_number
25058
+ # The Shared VPC service project id or service project number for which
25059
+ # aggregated list request is invoked for subnetworks list-usable api.
25064
25060
  # @param [String] fields
25065
25061
  # Selector specifying which fields to include in a partial response.
25066
25062
  # @param [String] quota_user
@@ -26641,6 +26637,8 @@ module Google
26641
26637
  # Opt-in for partial success behavior which provides partial results in case of
26642
26638
  # failure. The default value is false.
26643
26639
  # @param [Fixnum] service_project_number
26640
+ # The Shared VPC service project id or service project number for which
26641
+ # aggregated list request is invoked for subnetworks list-usable api.
26644
26642
  # @param [String] fields
26645
26643
  # Selector specifying which fields to include in a partial response.
26646
26644
  # @param [String] quota_user
@@ -28174,6 +28172,8 @@ module Google
28174
28172
  # Opt-in for partial success behavior which provides partial results in case of
28175
28173
  # failure. The default value is false.
28176
28174
  # @param [Fixnum] service_project_number
28175
+ # The Shared VPC service project id or service project number for which
28176
+ # aggregated list request is invoked for subnetworks list-usable api.
28177
28177
  # @param [String] fields
28178
28178
  # Selector specifying which fields to include in a partial response.
28179
28179
  # @param [String] quota_user
@@ -29836,6 +29836,8 @@ module Google
29836
29836
  # Opt-in for partial success behavior which provides partial results in case of
29837
29837
  # failure. The default value is false.
29838
29838
  # @param [Fixnum] service_project_number
29839
+ # The Shared VPC service project id or service project number for which
29840
+ # aggregated list request is invoked for subnetworks list-usable api.
29839
29841
  # @param [String] fields
29840
29842
  # Selector specifying which fields to include in a partial response.
29841
29843
  # @param [String] quota_user
@@ -32958,60 +32960,6 @@ module Google
32958
32960
  execute_or_queue_command(command, &block)
32959
32961
  end
32960
32962
 
32961
- # Export the changed blocks between two instant snapshots to a customer's bucket
32962
- # in the user specified format.
32963
- # @param [String] project
32964
- # Project ID for this request.
32965
- # @param [String] region
32966
- # The name of the zone for this request.
32967
- # @param [String] instant_snapshot
32968
- # Name of the instant snapshot to export.
32969
- # @param [Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest] region_instant_snapshots_export_request_object
32970
- # @param [String] request_id
32971
- # An optional request ID to identify requests. Specify a unique request ID so
32972
- # that if you must retry your request, the server will know to ignore the
32973
- # request if it has already been completed. For example, consider a situation
32974
- # where you make an initial request and the request times out. If you make the
32975
- # request again with the same request ID, the server can check if original
32976
- # operation with the same request ID was received, and if so, will ignore the
32977
- # second request. This prevents clients from accidentally creating duplicate
32978
- # commitments. The request ID must be a valid UUID with the exception that zero
32979
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
32980
- # @param [String] fields
32981
- # Selector specifying which fields to include in a partial response.
32982
- # @param [String] quota_user
32983
- # Available to use for quota purposes for server-side applications. Can be any
32984
- # arbitrary string assigned to a user, but should not exceed 40 characters.
32985
- # @param [String] user_ip
32986
- # Legacy name for parameter that has been superseded by `quotaUser`.
32987
- # @param [Google::Apis::RequestOptions] options
32988
- # Request-specific options
32989
- #
32990
- # @yield [result, err] Result & error if block supplied
32991
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
32992
- # @yieldparam err [StandardError] error object if request failed
32993
- #
32994
- # @return [Google::Apis::ComputeAlpha::Operation]
32995
- #
32996
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32997
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32998
- # @raise [Google::Apis::AuthorizationError] Authorization is required
32999
- 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)
33000
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', options)
33001
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest::Representation
33002
- command.request_object = region_instant_snapshots_export_request_object
33003
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
33004
- command.response_class = Google::Apis::ComputeAlpha::Operation
33005
- command.params['project'] = project unless project.nil?
33006
- command.params['region'] = region unless region.nil?
33007
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
33008
- command.query['requestId'] = request_id unless request_id.nil?
33009
- command.query['fields'] = fields unless fields.nil?
33010
- command.query['quotaUser'] = quota_user unless quota_user.nil?
33011
- command.query['userIp'] = user_ip unless user_ip.nil?
33012
- execute_or_queue_command(command, &block)
33013
- end
33014
-
33015
32963
  # Returns the specified InstantSnapshot resource in the specified region.
33016
32964
  # @param [String] project
33017
32965
  # Project ID for this request.
@@ -34814,6 +34762,8 @@ module Google
34814
34762
  # Opt-in for partial success behavior which provides partial results in case of
34815
34763
  # failure. The default value is false.
34816
34764
  # @param [Fixnum] service_project_number
34765
+ # The Shared VPC service project id or service project number for which
34766
+ # aggregated list request is invoked for subnetworks list-usable api.
34817
34767
  # @param [String] fields
34818
34768
  # Selector specifying which fields to include in a partial response.
34819
34769
  # @param [String] quota_user
@@ -38800,6 +38750,8 @@ module Google
38800
38750
  # Opt-in for partial success behavior which provides partial results in case of
38801
38751
  # failure. The default value is false.
38802
38752
  # @param [Fixnum] service_project_number
38753
+ # The Shared VPC service project id or service project number for which
38754
+ # aggregated list request is invoked for subnetworks list-usable api.
38803
38755
  # @param [String] fields
38804
38756
  # Selector specifying which fields to include in a partial response.
38805
38757
  # @param [String] quota_user
@@ -39372,6 +39324,8 @@ module Google
39372
39324
  # Opt-in for partial success behavior which provides partial results in case of
39373
39325
  # failure. The default value is false.
39374
39326
  # @param [Fixnum] service_project_number
39327
+ # The Shared VPC service project id or service project number for which
39328
+ # aggregated list request is invoked for subnetworks list-usable api.
39375
39329
  # @param [String] fields
39376
39330
  # Selector specifying which fields to include in a partial response.
39377
39331
  # @param [String] quota_user
@@ -39889,6 +39843,8 @@ module Google
39889
39843
  # Opt-in for partial success behavior which provides partial results in case of
39890
39844
  # failure. The default value is false.
39891
39845
  # @param [Fixnum] service_project_number
39846
+ # The Shared VPC service project id or service project number for which
39847
+ # aggregated list request is invoked for subnetworks list-usable api.
39892
39848
  # @param [String] fields
39893
39849
  # Selector specifying which fields to include in a partial response.
39894
39850
  # @param [String] quota_user
@@ -39976,6 +39932,59 @@ module Google
39976
39932
  execute_or_queue_command(command, &block)
39977
39933
  end
39978
39934
 
39935
+ # Deletes Named Set
39936
+ # @param [String] project
39937
+ # Project ID for this request.
39938
+ # @param [String] region
39939
+ # Name of the region for this request.
39940
+ # @param [String] router
39941
+ # Name of the Router resource where Named Set is defined.
39942
+ # @param [String] named_set
39943
+ # The Named Set name for this request. Name must conform to RFC1035
39944
+ # @param [String] request_id
39945
+ # An optional request ID to identify requests. Specify a unique request ID so
39946
+ # that if you must retry your request, the server will know to ignore the
39947
+ # request if it has already been completed. For example, consider a situation
39948
+ # where you make an initial request and the request times out. If you make the
39949
+ # request again with the same request ID, the server can check if original
39950
+ # operation with the same request ID was received, and if so, will ignore the
39951
+ # second request. This prevents clients from accidentally creating duplicate
39952
+ # commitments. The request ID must be a valid UUID with the exception that zero
39953
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
39954
+ # @param [String] fields
39955
+ # Selector specifying which fields to include in a partial response.
39956
+ # @param [String] quota_user
39957
+ # Available to use for quota purposes for server-side applications. Can be any
39958
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
39959
+ # @param [String] user_ip
39960
+ # Legacy name for parameter that has been superseded by `quotaUser`.
39961
+ # @param [Google::Apis::RequestOptions] options
39962
+ # Request-specific options
39963
+ #
39964
+ # @yield [result, err] Result & error if block supplied
39965
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
39966
+ # @yieldparam err [StandardError] error object if request failed
39967
+ #
39968
+ # @return [Google::Apis::ComputeAlpha::Operation]
39969
+ #
39970
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39971
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39972
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
39973
+ def delete_router_named_set(project, region, router, named_set: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39974
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/deleteNamedSet', options)
39975
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
39976
+ command.response_class = Google::Apis::ComputeAlpha::Operation
39977
+ command.params['project'] = project unless project.nil?
39978
+ command.params['region'] = region unless region.nil?
39979
+ command.params['router'] = router unless router.nil?
39980
+ command.query['namedSet'] = named_set unless named_set.nil?
39981
+ command.query['requestId'] = request_id unless request_id.nil?
39982
+ command.query['fields'] = fields unless fields.nil?
39983
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
39984
+ command.query['userIp'] = user_ip unless user_ip.nil?
39985
+ execute_or_queue_command(command, &block)
39986
+ end
39987
+
39979
39988
  # Deletes Route Policy
39980
39989
  # @param [String] project
39981
39990
  # Project ID for this request.
@@ -40068,6 +40077,49 @@ module Google
40068
40077
  execute_or_queue_command(command, &block)
40069
40078
  end
40070
40079
 
40080
+ # Returns specified Named Set
40081
+ # @param [String] project
40082
+ # Project ID for this request.
40083
+ # @param [String] region
40084
+ # Name of the region for this request.
40085
+ # @param [String] router
40086
+ # Name of the Router resource to query for the named set. The name should
40087
+ # conform to RFC1035.
40088
+ # @param [String] named_set
40089
+ # The Named Set name for this request. Name must conform to RFC1035
40090
+ # @param [String] fields
40091
+ # Selector specifying which fields to include in a partial response.
40092
+ # @param [String] quota_user
40093
+ # Available to use for quota purposes for server-side applications. Can be any
40094
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
40095
+ # @param [String] user_ip
40096
+ # Legacy name for parameter that has been superseded by `quotaUser`.
40097
+ # @param [Google::Apis::RequestOptions] options
40098
+ # Request-specific options
40099
+ #
40100
+ # @yield [result, err] Result & error if block supplied
40101
+ # @yieldparam result [Google::Apis::ComputeAlpha::RoutersGetNamedSetResponse] parsed result object
40102
+ # @yieldparam err [StandardError] error object if request failed
40103
+ #
40104
+ # @return [Google::Apis::ComputeAlpha::RoutersGetNamedSetResponse]
40105
+ #
40106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
40107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
40108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
40109
+ def get_router_named_set(project, region, router, named_set: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40110
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNamedSet', options)
40111
+ command.response_representation = Google::Apis::ComputeAlpha::RoutersGetNamedSetResponse::Representation
40112
+ command.response_class = Google::Apis::ComputeAlpha::RoutersGetNamedSetResponse
40113
+ command.params['project'] = project unless project.nil?
40114
+ command.params['region'] = region unless region.nil?
40115
+ command.params['router'] = router unless router.nil?
40116
+ command.query['namedSet'] = named_set unless named_set.nil?
40117
+ command.query['fields'] = fields unless fields.nil?
40118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
40119
+ command.query['userIp'] = user_ip unless user_ip.nil?
40120
+ execute_or_queue_command(command, &block)
40121
+ end
40122
+
40071
40123
  # Retrieves runtime NAT IP information.
40072
40124
  # @param [String] project
40073
40125
  # Project ID for this request.
@@ -40219,7 +40271,7 @@ module Google
40219
40271
  # @param [String] region
40220
40272
  # Name of the region for this request.
40221
40273
  # @param [String] router
40222
- # Name of the Router resource to query for Nat IP information. The name should
40274
+ # Name of the Router resource to query for the route policy. The name should
40223
40275
  # conform to RFC1035.
40224
40276
  # @param [String] policy
40225
40277
  # The Policy name for this request. Name must conform to RFC1035
@@ -40550,6 +40602,102 @@ module Google
40550
40602
  execute_or_queue_command(command, &block)
40551
40603
  end
40552
40604
 
40605
+ # Retrieves a list of router named set subresources available to the specified
40606
+ # project.
40607
+ # @param [String] project
40608
+ # Project ID for this request.
40609
+ # @param [String] region
40610
+ # Name of the region for this request.
40611
+ # @param [String] router
40612
+ # Name or id of the resource for this request. Name should conform to RFC1035.
40613
+ # @param [String] filter
40614
+ # A filter expression that filters resources listed in the response. Most
40615
+ # Compute resources support two types of filter expressions: expressions that
40616
+ # support regular expressions and expressions that follow API improvement
40617
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
40618
+ # request. If you want to use AIP-160, your expression must specify the field
40619
+ # name, an operator, and the value that you want to use for filtering. The value
40620
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
40621
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
40622
+ # Engine instances, you can exclude instances named `example-instance` by
40623
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
40624
+ # whether a key has been defined. For example, to find all objects with `owner`
40625
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
40626
+ # example, you could specify `scheduling.automaticRestart = false` to include
40627
+ # instances only if they are not scheduled for automatic restarts. You can use
40628
+ # filtering on nested fields to filter based on resource labels. To filter on
40629
+ # multiple expressions, provide each separate expression within parentheses. For
40630
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
40631
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
40632
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
40633
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
40634
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
40635
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
40636
+ # un-parenthesized expression with or without quotes or against multiple
40637
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
40638
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
40639
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
40640
+ # interpreted as a regular expression using Google RE2 library syntax. The
40641
+ # literal value must match the entire field. For example, to filter for
40642
+ # instances that do not end with name "instance", you would use `name ne .*
40643
+ # instance`. You cannot combine constraints on multiple fields using regular
40644
+ # expressions.
40645
+ # @param [Fixnum] max_results
40646
+ # The maximum number of results per page that should be returned. If the number
40647
+ # of available results is larger than `maxResults`, Compute Engine returns a `
40648
+ # nextPageToken` that can be used to get the next page of results in subsequent
40649
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
40650
+ # @param [String] order_by
40651
+ # Sorts list results by a certain order. By default, results are returned in
40652
+ # alphanumerical order based on the resource name. You can also sort results in
40653
+ # descending order based on the creation timestamp using `orderBy="
40654
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
40655
+ # field in reverse chronological order (newest result first). Use this to sort
40656
+ # resources like operations so that the newest operation is returned first.
40657
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
40658
+ # @param [String] page_token
40659
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
40660
+ # by a previous list request to get the next page of results.
40661
+ # @param [Boolean] return_partial_success
40662
+ # Opt-in for partial success behavior which provides partial results in case of
40663
+ # failure. The default value is false.
40664
+ # @param [String] fields
40665
+ # Selector specifying which fields to include in a partial response.
40666
+ # @param [String] quota_user
40667
+ # Available to use for quota purposes for server-side applications. Can be any
40668
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
40669
+ # @param [String] user_ip
40670
+ # Legacy name for parameter that has been superseded by `quotaUser`.
40671
+ # @param [Google::Apis::RequestOptions] options
40672
+ # Request-specific options
40673
+ #
40674
+ # @yield [result, err] Result & error if block supplied
40675
+ # @yieldparam result [Google::Apis::ComputeAlpha::RoutersListNamedSets] parsed result object
40676
+ # @yieldparam err [StandardError] error object if request failed
40677
+ #
40678
+ # @return [Google::Apis::ComputeAlpha::RoutersListNamedSets]
40679
+ #
40680
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
40681
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
40682
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
40683
+ def list_router_named_sets(project, region, router, 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)
40684
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/listNamedSets', options)
40685
+ command.response_representation = Google::Apis::ComputeAlpha::RoutersListNamedSets::Representation
40686
+ command.response_class = Google::Apis::ComputeAlpha::RoutersListNamedSets
40687
+ command.params['project'] = project unless project.nil?
40688
+ command.params['region'] = region unless region.nil?
40689
+ command.params['router'] = router unless router.nil?
40690
+ command.query['filter'] = filter unless filter.nil?
40691
+ command.query['maxResults'] = max_results unless max_results.nil?
40692
+ command.query['orderBy'] = order_by unless order_by.nil?
40693
+ command.query['pageToken'] = page_token unless page_token.nil?
40694
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
40695
+ command.query['fields'] = fields unless fields.nil?
40696
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
40697
+ command.query['userIp'] = user_ip unless user_ip.nil?
40698
+ execute_or_queue_command(command, &block)
40699
+ end
40700
+
40553
40701
  # Retrieves a list of router route policy subresources available to the
40554
40702
  # specified project.
40555
40703
  # @param [String] project
@@ -40842,6 +40990,59 @@ module Google
40842
40990
  execute_or_queue_command(command, &block)
40843
40991
  end
40844
40992
 
40993
+ # Updates or creates new Named Set
40994
+ # @param [String] project
40995
+ # Project ID for this request.
40996
+ # @param [String] region
40997
+ # Name of the region for this request.
40998
+ # @param [String] router
40999
+ # Name of the Router resource where Named Set is defined.
41000
+ # @param [Google::Apis::ComputeAlpha::NamedSet] named_set_object
41001
+ # @param [String] request_id
41002
+ # An optional request ID to identify requests. Specify a unique request ID so
41003
+ # that if you must retry your request, the server will know to ignore the
41004
+ # request if it has already been completed. For example, consider a situation
41005
+ # where you make an initial request and the request times out. If you make the
41006
+ # request again with the same request ID, the server can check if original
41007
+ # operation with the same request ID was received, and if so, will ignore the
41008
+ # second request. This prevents clients from accidentally creating duplicate
41009
+ # commitments. The request ID must be a valid UUID with the exception that zero
41010
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
41011
+ # @param [String] fields
41012
+ # Selector specifying which fields to include in a partial response.
41013
+ # @param [String] quota_user
41014
+ # Available to use for quota purposes for server-side applications. Can be any
41015
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41016
+ # @param [String] user_ip
41017
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41018
+ # @param [Google::Apis::RequestOptions] options
41019
+ # Request-specific options
41020
+ #
41021
+ # @yield [result, err] Result & error if block supplied
41022
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
41023
+ # @yieldparam err [StandardError] error object if request failed
41024
+ #
41025
+ # @return [Google::Apis::ComputeAlpha::Operation]
41026
+ #
41027
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41028
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41029
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41030
+ def update_router_named_set(project, region, router, named_set_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41031
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/updateNamedSet', options)
41032
+ command.request_representation = Google::Apis::ComputeAlpha::NamedSet::Representation
41033
+ command.request_object = named_set_object
41034
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
41035
+ command.response_class = Google::Apis::ComputeAlpha::Operation
41036
+ command.params['project'] = project unless project.nil?
41037
+ command.params['region'] = region unless region.nil?
41038
+ command.params['router'] = router unless router.nil?
41039
+ command.query['requestId'] = request_id unless request_id.nil?
41040
+ command.query['fields'] = fields unless fields.nil?
41041
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41042
+ command.query['userIp'] = user_ip unless user_ip.nil?
41043
+ execute_or_queue_command(command, &block)
41044
+ end
41045
+
40845
41046
  # Updates or creates new Route Policy
40846
41047
  # @param [String] project
40847
41048
  # Project ID for this request.
@@ -41259,6 +41460,8 @@ module Google
41259
41460
  # Opt-in for partial success behavior which provides partial results in case of
41260
41461
  # failure. The default value is false.
41261
41462
  # @param [Fixnum] service_project_number
41463
+ # The Shared VPC service project id or service project number for which
41464
+ # aggregated list request is invoked for subnetworks list-usable api.
41262
41465
  # @param [String] fields
41263
41466
  # Selector specifying which fields to include in a partial response.
41264
41467
  # @param [String] quota_user
@@ -41936,6 +42139,8 @@ module Google
41936
42139
  # Opt-in for partial success behavior which provides partial results in case of
41937
42140
  # failure. The default value is false.
41938
42141
  # @param [Fixnum] service_project_number
42142
+ # The Shared VPC service project id or service project number for which
42143
+ # aggregated list request is invoked for subnetworks list-usable api.
41939
42144
  # @param [String] fields
41940
42145
  # Selector specifying which fields to include in a partial response.
41941
42146
  # @param [String] quota_user
@@ -42535,6 +42740,8 @@ module Google
42535
42740
  # Opt-in for partial success behavior which provides partial results in case of
42536
42741
  # failure. The default value is false.
42537
42742
  # @param [Fixnum] service_project_number
42743
+ # The Shared VPC service project id or service project number for which
42744
+ # aggregated list request is invoked for subnetworks list-usable api.
42538
42745
  # @param [String] fields
42539
42746
  # Selector specifying which fields to include in a partial response.
42540
42747
  # @param [String] quota_user
@@ -43021,6 +43228,8 @@ module Google
43021
43228
  # Opt-in for partial success behavior which provides partial results in case of
43022
43229
  # failure. The default value is false.
43023
43230
  # @param [Fixnum] service_project_number
43231
+ # The Shared VPC service project id or service project number for which
43232
+ # aggregated list request is invoked for subnetworks list-usable api.
43024
43233
  # @param [String] fields
43025
43234
  # Selector specifying which fields to include in a partial response.
43026
43235
  # @param [String] quota_user
@@ -43381,6 +43590,8 @@ module Google
43381
43590
  # Opt-in for partial success behavior which provides partial results in case of
43382
43591
  # failure. The default value is false.
43383
43592
  # @param [Fixnum] service_project_number
43593
+ # The Shared VPC service project id or service project number for which
43594
+ # aggregated list request is invoked for subnetworks list-usable api.
43384
43595
  # @param [String] fields
43385
43596
  # Selector specifying which fields to include in a partial response.
43386
43597
  # @param [String] quota_user
@@ -43882,6 +44093,8 @@ module Google
43882
44093
  # Opt-in for partial success behavior which provides partial results in case of
43883
44094
  # failure. The default value is false.
43884
44095
  # @param [Fixnum] service_project_number
44096
+ # The Shared VPC service project id or service project number for which
44097
+ # aggregated list request is invoked for subnetworks list-usable api.
43885
44098
  # @param [String] fields
43886
44099
  # Selector specifying which fields to include in a partial response.
43887
44100
  # @param [String] quota_user
@@ -44112,6 +44325,8 @@ module Google
44112
44325
  # Opt-in for partial success behavior which provides partial results in case of
44113
44326
  # failure. The default value is false.
44114
44327
  # @param [Fixnum] service_project_number
44328
+ # The Shared VPC service project id or service project number for which
44329
+ # aggregated list request is invoked for subnetworks list-usable api.
44115
44330
  # @param [String] fields
44116
44331
  # Selector specifying which fields to include in a partial response.
44117
44332
  # @param [String] quota_user
@@ -44781,6 +44996,8 @@ module Google
44781
44996
  # Opt-in for partial success behavior which provides partial results in case of
44782
44997
  # failure. The default value is false.
44783
44998
  # @param [Fixnum] service_project_number
44999
+ # The Shared VPC service project id or service project number for which
45000
+ # aggregated list request is invoked for subnetworks list-usable api.
44784
45001
  # @param [String] fields
44785
45002
  # Selector specifying which fields to include in a partial response.
44786
45003
  # @param [String] quota_user
@@ -45818,6 +46035,8 @@ module Google
45818
46035
  # Opt-in for partial success behavior which provides partial results in case of
45819
46036
  # failure. The default value is false.
45820
46037
  # @param [Fixnum] service_project_number
46038
+ # The Shared VPC service project id or service project number for which
46039
+ # aggregated list request is invoked for subnetworks list-usable api.
45821
46040
  # @param [String] fields
45822
46041
  # Selector specifying which fields to include in a partial response.
45823
46042
  # @param [String] quota_user
@@ -46280,6 +46499,8 @@ module Google
46280
46499
  # Opt-in for partial success behavior which provides partial results in case of
46281
46500
  # failure. The default value is false.
46282
46501
  # @param [Fixnum] service_project_number
46502
+ # The Shared VPC service project id or service project number for which
46503
+ # aggregated list request is invoked for subnetworks list-usable api.
46283
46504
  # @param [String] fields
46284
46505
  # Selector specifying which fields to include in a partial response.
46285
46506
  # @param [String] quota_user
@@ -46947,6 +47168,8 @@ module Google
46947
47168
  # Opt-in for partial success behavior which provides partial results in case of
46948
47169
  # failure. The default value is false.
46949
47170
  # @param [Fixnum] service_project_number
47171
+ # The Shared VPC service project id or service project number for which
47172
+ # aggregated list request is invoked for subnetworks list-usable api.
46950
47173
  # @param [String] fields
46951
47174
  # Selector specifying which fields to include in a partial response.
46952
47175
  # @param [String] quota_user
@@ -47482,6 +47705,8 @@ module Google
47482
47705
  # Opt-in for partial success behavior which provides partial results in case of
47483
47706
  # failure. The default value is false.
47484
47707
  # @param [Fixnum] service_project_number
47708
+ # The Shared VPC service project id or service project number for which
47709
+ # aggregated list request is invoked for subnetworks list-usable api.
47485
47710
  # @param [String] fields
47486
47711
  # Selector specifying which fields to include in a partial response.
47487
47712
  # @param [String] quota_user
@@ -48631,6 +48856,8 @@ module Google
48631
48856
  # Opt-in for partial success behavior which provides partial results in case of
48632
48857
  # failure. The default value is false.
48633
48858
  # @param [Fixnum] service_project_number
48859
+ # The Shared VPC service project id or service project number for which
48860
+ # aggregated list request is invoked for subnetworks list-usable api.
48634
48861
  # @param [String] fields
48635
48862
  # Selector specifying which fields to include in a partial response.
48636
48863
  # @param [String] quota_user
@@ -49090,6 +49317,8 @@ module Google
49090
49317
  # Opt-in for partial success behavior which provides partial results in case of
49091
49318
  # failure. The default value is false.
49092
49319
  # @param [Fixnum] service_project_number
49320
+ # The Shared VPC service project id or service project number for which
49321
+ # aggregated list request is invoked for subnetworks list-usable api.
49093
49322
  # @param [String] fields
49094
49323
  # Selector specifying which fields to include in a partial response.
49095
49324
  # @param [String] quota_user
@@ -49519,6 +49748,8 @@ module Google
49519
49748
  # Opt-in for partial success behavior which provides partial results in case of
49520
49749
  # failure. The default value is false.
49521
49750
  # @param [Fixnum] service_project_number
49751
+ # The Shared VPC service project id or service project number for which
49752
+ # aggregated list request is invoked for subnetworks list-usable api.
49522
49753
  # @param [String] fields
49523
49754
  # Selector specifying which fields to include in a partial response.
49524
49755
  # @param [String] quota_user
@@ -50071,6 +50302,8 @@ module Google
50071
50302
  # Opt-in for partial success behavior which provides partial results in case of
50072
50303
  # failure. The default value is false.
50073
50304
  # @param [Fixnum] service_project_number
50305
+ # The Shared VPC service project id or service project number for which
50306
+ # aggregated list request is invoked for subnetworks list-usable api.
50074
50307
  # @param [String] fields
50075
50308
  # Selector specifying which fields to include in a partial response.
50076
50309
  # @param [String] quota_user
@@ -50537,6 +50770,8 @@ module Google
50537
50770
  # Opt-in for partial success behavior which provides partial results in case of
50538
50771
  # failure. The default value is false.
50539
50772
  # @param [Fixnum] service_project_number
50773
+ # The Shared VPC service project id or service project number for which
50774
+ # aggregated list request is invoked for subnetworks list-usable api.
50540
50775
  # @param [String] fields
50541
50776
  # Selector specifying which fields to include in a partial response.
50542
50777
  # @param [String] quota_user
@@ -51182,6 +51417,8 @@ module Google
51182
51417
  # Opt-in for partial success behavior which provides partial results in case of
51183
51418
  # failure. The default value is false.
51184
51419
  # @param [Fixnum] service_project_number
51420
+ # The Shared VPC service project id or service project number for which
51421
+ # aggregated list request is invoked for subnetworks list-usable api.
51185
51422
  # @param [String] fields
51186
51423
  # Selector specifying which fields to include in a partial response.
51187
51424
  # @param [String] quota_user