google-apis-compute_v1 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/compute_v1.rb +1 -1
- data/lib/google/apis/compute_v1/classes.rb +2041 -289
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +621 -0
- data/lib/google/apis/compute_v1/service.rb +1302 -238
- metadata +5 -5
@@ -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
|
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
|
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
|
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
|
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
|
@@ -603,7 +603,7 @@ module Google
|
|
603
603
|
# by a previous list request to get the next page of results.
|
604
604
|
# @param [Boolean] return_partial_success
|
605
605
|
# Opt-in for partial success behavior which provides partial results in case of
|
606
|
-
# failure. The default value is false
|
606
|
+
# failure. The default value is false.
|
607
607
|
# @param [String] fields
|
608
608
|
# Selector specifying which fields to include in a partial response.
|
609
609
|
# @param [String] quota_user
|
@@ -824,7 +824,7 @@ module Google
|
|
824
824
|
# by a previous list request to get the next page of results.
|
825
825
|
# @param [Boolean] return_partial_success
|
826
826
|
# Opt-in for partial success behavior which provides partial results in case of
|
827
|
-
# failure. The default value is false
|
827
|
+
# failure. The default value is false.
|
828
828
|
# @param [String] fields
|
829
829
|
# Selector specifying which fields to include in a partial response.
|
830
830
|
# @param [String] quota_user
|
@@ -1250,7 +1250,7 @@ module Google
|
|
1250
1250
|
# by a previous list request to get the next page of results.
|
1251
1251
|
# @param [Boolean] return_partial_success
|
1252
1252
|
# Opt-in for partial success behavior which provides partial results in case of
|
1253
|
-
# failure. The default value is false
|
1253
|
+
# failure. The default value is false.
|
1254
1254
|
# @param [String] fields
|
1255
1255
|
# Selector specifying which fields to include in a partial response.
|
1256
1256
|
# @param [String] quota_user
|
@@ -1490,7 +1490,7 @@ module Google
|
|
1490
1490
|
# by a previous list request to get the next page of results.
|
1491
1491
|
# @param [Boolean] return_partial_success
|
1492
1492
|
# Opt-in for partial success behavior which provides partial results in case of
|
1493
|
-
# failure. The default value is false
|
1493
|
+
# failure. The default value is false.
|
1494
1494
|
# @param [String] fields
|
1495
1495
|
# Selector specifying which fields to include in a partial response.
|
1496
1496
|
# @param [String] quota_user
|
@@ -1794,7 +1794,7 @@ module Google
|
|
1794
1794
|
# by a previous list request to get the next page of results.
|
1795
1795
|
# @param [Boolean] return_partial_success
|
1796
1796
|
# Opt-in for partial success behavior which provides partial results in case of
|
1797
|
-
# failure. The default value is false
|
1797
|
+
# failure. The default value is false.
|
1798
1798
|
# @param [String] fields
|
1799
1799
|
# Selector specifying which fields to include in a partial response.
|
1800
1800
|
# @param [String] quota_user
|
@@ -1884,7 +1884,8 @@ module Google
|
|
1884
1884
|
execute_or_queue_command(command, &block)
|
1885
1885
|
end
|
1886
1886
|
|
1887
|
-
# Sets the security policy for the specified backend service.
|
1887
|
+
# Sets the Google Cloud Armor security policy for the specified backend service.
|
1888
|
+
# For more information, see Google Cloud Armor Overview
|
1888
1889
|
# @param [String] project
|
1889
1890
|
# Project ID for this request.
|
1890
1891
|
# @param [String] backend_service
|
@@ -2034,7 +2035,7 @@ module Google
|
|
2034
2035
|
# by a previous list request to get the next page of results.
|
2035
2036
|
# @param [Boolean] return_partial_success
|
2036
2037
|
# Opt-in for partial success behavior which provides partial results in case of
|
2037
|
-
# failure. The default value is false
|
2038
|
+
# failure. The default value is false.
|
2038
2039
|
# @param [String] fields
|
2039
2040
|
# Selector specifying which fields to include in a partial response.
|
2040
2041
|
# @param [String] quota_user
|
@@ -2152,7 +2153,7 @@ module Google
|
|
2152
2153
|
# by a previous list request to get the next page of results.
|
2153
2154
|
# @param [Boolean] return_partial_success
|
2154
2155
|
# Opt-in for partial success behavior which provides partial results in case of
|
2155
|
-
# failure. The default value is false
|
2156
|
+
# failure. The default value is false.
|
2156
2157
|
# @param [String] fields
|
2157
2158
|
# Selector specifying which fields to include in a partial response.
|
2158
2159
|
# @param [String] quota_user
|
@@ -2290,7 +2291,7 @@ module Google
|
|
2290
2291
|
# by a previous list request to get the next page of results.
|
2291
2292
|
# @param [Boolean] return_partial_success
|
2292
2293
|
# Opt-in for partial success behavior which provides partial results in case of
|
2293
|
-
# failure. The default value is false
|
2294
|
+
# failure. The default value is false.
|
2294
2295
|
# @param [String] fields
|
2295
2296
|
# Selector specifying which fields to include in a partial response.
|
2296
2297
|
# @param [String] quota_user
|
@@ -2621,7 +2622,7 @@ module Google
|
|
2621
2622
|
# by a previous list request to get the next page of results.
|
2622
2623
|
# @param [Boolean] return_partial_success
|
2623
2624
|
# Opt-in for partial success behavior which provides partial results in case of
|
2624
|
-
# failure. The default value is false
|
2625
|
+
# failure. The default value is false.
|
2625
2626
|
# @param [String] fields
|
2626
2627
|
# Selector specifying which fields to include in a partial response.
|
2627
2628
|
# @param [String] quota_user
|
@@ -3080,7 +3081,7 @@ module Google
|
|
3080
3081
|
# by a previous list request to get the next page of results.
|
3081
3082
|
# @param [Boolean] return_partial_success
|
3082
3083
|
# Opt-in for partial success behavior which provides partial results in case of
|
3083
|
-
# failure. The default value is false
|
3084
|
+
# failure. The default value is false.
|
3084
3085
|
# @param [String] fields
|
3085
3086
|
# Selector specifying which fields to include in a partial response.
|
3086
3087
|
# @param [String] quota_user
|
@@ -3621,7 +3622,7 @@ module Google
|
|
3621
3622
|
# Parent ID for this request.
|
3622
3623
|
# @param [Boolean] return_partial_success
|
3623
3624
|
# Opt-in for partial success behavior which provides partial results in case of
|
3624
|
-
# failure. The default value is false
|
3625
|
+
# failure. The default value is false.
|
3625
3626
|
# @param [String] fields
|
3626
3627
|
# Selector specifying which fields to include in a partial response.
|
3627
3628
|
# @param [String] quota_user
|
@@ -4178,7 +4179,7 @@ module Google
|
|
4178
4179
|
# by a previous list request to get the next page of results.
|
4179
4180
|
# @param [Boolean] return_partial_success
|
4180
4181
|
# Opt-in for partial success behavior which provides partial results in case of
|
4181
|
-
# failure. The default value is false
|
4182
|
+
# failure. The default value is false.
|
4182
4183
|
# @param [String] fields
|
4183
4184
|
# Selector specifying which fields to include in a partial response.
|
4184
4185
|
# @param [String] quota_user
|
@@ -4366,7 +4367,7 @@ module Google
|
|
4366
4367
|
# by a previous list request to get the next page of results.
|
4367
4368
|
# @param [Boolean] return_partial_success
|
4368
4369
|
# Opt-in for partial success behavior which provides partial results in case of
|
4369
|
-
# failure. The default value is false
|
4370
|
+
# failure. The default value is false.
|
4370
4371
|
# @param [String] fields
|
4371
4372
|
# Selector specifying which fields to include in a partial response.
|
4372
4373
|
# @param [String] quota_user
|
@@ -4587,7 +4588,7 @@ module Google
|
|
4587
4588
|
# by a previous list request to get the next page of results.
|
4588
4589
|
# @param [Boolean] return_partial_success
|
4589
4590
|
# Opt-in for partial success behavior which provides partial results in case of
|
4590
|
-
# failure. The default value is false
|
4591
|
+
# failure. The default value is false.
|
4591
4592
|
# @param [String] fields
|
4592
4593
|
# Selector specifying which fields to include in a partial response.
|
4593
4594
|
# @param [String] quota_user
|
@@ -4963,7 +4964,7 @@ module Google
|
|
4963
4964
|
# by a previous list request to get the next page of results.
|
4964
4965
|
# @param [Boolean] return_partial_success
|
4965
4966
|
# Opt-in for partial success behavior which provides partial results in case of
|
4966
|
-
# failure. The default value is false
|
4967
|
+
# failure. The default value is false.
|
4967
4968
|
# @param [String] fields
|
4968
4969
|
# Selector specifying which fields to include in a partial response.
|
4969
4970
|
# @param [String] quota_user
|
@@ -5173,7 +5174,7 @@ module Google
|
|
5173
5174
|
# by a previous list request to get the next page of results.
|
5174
5175
|
# @param [Boolean] return_partial_success
|
5175
5176
|
# Opt-in for partial success behavior which provides partial results in case of
|
5176
|
-
# failure. The default value is false
|
5177
|
+
# failure. The default value is false.
|
5177
5178
|
# @param [String] fields
|
5178
5179
|
# Selector specifying which fields to include in a partial response.
|
5179
5180
|
# @param [String] quota_user
|
@@ -5634,7 +5635,7 @@ module Google
|
|
5634
5635
|
# by a previous list request to get the next page of results.
|
5635
5636
|
# @param [Boolean] return_partial_success
|
5636
5637
|
# Opt-in for partial success behavior which provides partial results in case of
|
5637
|
-
# failure. The default value is false
|
5638
|
+
# failure. The default value is false.
|
5638
5639
|
# @param [String] fields
|
5639
5640
|
# Selector specifying which fields to include in a partial response.
|
5640
5641
|
# @param [String] quota_user
|
@@ -5712,7 +5713,7 @@ module Google
|
|
5712
5713
|
# by a previous list request to get the next page of results.
|
5713
5714
|
# @param [Boolean] return_partial_success
|
5714
5715
|
# Opt-in for partial success behavior which provides partial results in case of
|
5715
|
-
# failure. The default value is false
|
5716
|
+
# failure. The default value is false.
|
5716
5717
|
# @param [String] fields
|
5717
5718
|
# Selector specifying which fields to include in a partial response.
|
5718
5719
|
# @param [String] quota_user
|
@@ -5795,7 +5796,7 @@ module Google
|
|
5795
5796
|
# by a previous list request to get the next page of results.
|
5796
5797
|
# @param [Boolean] return_partial_success
|
5797
5798
|
# Opt-in for partial success behavior which provides partial results in case of
|
5798
|
-
# failure. The default value is false
|
5799
|
+
# failure. The default value is false.
|
5799
5800
|
# @param [String] fields
|
5800
5801
|
# Selector specifying which fields to include in a partial response.
|
5801
5802
|
# @param [String] quota_user
|
@@ -5942,7 +5943,7 @@ module Google
|
|
5942
5943
|
# by a previous list request to get the next page of results.
|
5943
5944
|
# @param [Boolean] return_partial_success
|
5944
5945
|
# Opt-in for partial success behavior which provides partial results in case of
|
5945
|
-
# failure. The default value is false
|
5946
|
+
# failure. The default value is false.
|
5946
5947
|
# @param [String] fields
|
5947
5948
|
# Selector specifying which fields to include in a partial response.
|
5948
5949
|
# @param [String] quota_user
|
@@ -6135,7 +6136,7 @@ module Google
|
|
6135
6136
|
# Parent ID for this request.
|
6136
6137
|
# @param [Boolean] return_partial_success
|
6137
6138
|
# Opt-in for partial success behavior which provides partial results in case of
|
6138
|
-
# failure. The default value is false
|
6139
|
+
# failure. The default value is false.
|
6139
6140
|
# @param [String] fields
|
6140
6141
|
# Selector specifying which fields to include in a partial response.
|
6141
6142
|
# @param [String] quota_user
|
@@ -6171,6 +6172,267 @@ module Google
|
|
6171
6172
|
execute_or_queue_command(command, &block)
|
6172
6173
|
end
|
6173
6174
|
|
6175
|
+
# Deletes the specified global PublicDelegatedPrefix.
|
6176
|
+
# @param [String] project
|
6177
|
+
# Project ID for this request.
|
6178
|
+
# @param [String] public_delegated_prefix
|
6179
|
+
# Name of the PublicDelegatedPrefix resource to delete.
|
6180
|
+
# @param [String] request_id
|
6181
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
6182
|
+
# that if you must retry your request, the server will know to ignore the
|
6183
|
+
# request if it has already been completed.
|
6184
|
+
# For example, consider a situation where you make an initial request and the
|
6185
|
+
# request times out. If you make the request again with the same request ID, the
|
6186
|
+
# server can check if original operation with the same request ID was received,
|
6187
|
+
# and if so, will ignore the second request. This prevents clients from
|
6188
|
+
# accidentally creating duplicate commitments.
|
6189
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
6190
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
6191
|
+
# @param [String] fields
|
6192
|
+
# Selector specifying which fields to include in a partial response.
|
6193
|
+
# @param [String] quota_user
|
6194
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
6195
|
+
# characters.
|
6196
|
+
# @param [String] user_ip
|
6197
|
+
# Deprecated. Please use quotaUser instead.
|
6198
|
+
# @param [Google::Apis::RequestOptions] options
|
6199
|
+
# Request-specific options
|
6200
|
+
#
|
6201
|
+
# @yield [result, err] Result & error if block supplied
|
6202
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
6203
|
+
# @yieldparam err [StandardError] error object if request failed
|
6204
|
+
#
|
6205
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
6206
|
+
#
|
6207
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6208
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6209
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6210
|
+
def delete_global_public_delegated_prefix(project, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6211
|
+
command = make_simple_command(:delete, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options)
|
6212
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
6213
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
6214
|
+
command.params['project'] = project unless project.nil?
|
6215
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
6216
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
6217
|
+
command.query['fields'] = fields unless fields.nil?
|
6218
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6219
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
6220
|
+
execute_or_queue_command(command, &block)
|
6221
|
+
end
|
6222
|
+
|
6223
|
+
# Returns the specified global PublicDelegatedPrefix resource.
|
6224
|
+
# @param [String] project
|
6225
|
+
# Project ID for this request.
|
6226
|
+
# @param [String] public_delegated_prefix
|
6227
|
+
# Name of the PublicDelegatedPrefix resource to return.
|
6228
|
+
# @param [String] fields
|
6229
|
+
# Selector specifying which fields to include in a partial response.
|
6230
|
+
# @param [String] quota_user
|
6231
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
6232
|
+
# characters.
|
6233
|
+
# @param [String] user_ip
|
6234
|
+
# Deprecated. Please use quotaUser instead.
|
6235
|
+
# @param [Google::Apis::RequestOptions] options
|
6236
|
+
# Request-specific options
|
6237
|
+
#
|
6238
|
+
# @yield [result, err] Result & error if block supplied
|
6239
|
+
# @yieldparam result [Google::Apis::ComputeV1::PublicDelegatedPrefix] parsed result object
|
6240
|
+
# @yieldparam err [StandardError] error object if request failed
|
6241
|
+
#
|
6242
|
+
# @return [Google::Apis::ComputeV1::PublicDelegatedPrefix]
|
6243
|
+
#
|
6244
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6245
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6246
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6247
|
+
def get_global_public_delegated_prefix(project, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6248
|
+
command = make_simple_command(:get, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options)
|
6249
|
+
command.response_representation = Google::Apis::ComputeV1::PublicDelegatedPrefix::Representation
|
6250
|
+
command.response_class = Google::Apis::ComputeV1::PublicDelegatedPrefix
|
6251
|
+
command.params['project'] = project unless project.nil?
|
6252
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
6253
|
+
command.query['fields'] = fields unless fields.nil?
|
6254
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6255
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
6256
|
+
execute_or_queue_command(command, &block)
|
6257
|
+
end
|
6258
|
+
|
6259
|
+
# Creates a global PublicDelegatedPrefix in the specified project using the
|
6260
|
+
# parameters that are included in the request.
|
6261
|
+
# @param [String] project
|
6262
|
+
# Project ID for this request.
|
6263
|
+
# @param [Google::Apis::ComputeV1::PublicDelegatedPrefix] public_delegated_prefix_object
|
6264
|
+
# @param [String] request_id
|
6265
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
6266
|
+
# that if you must retry your request, the server will know to ignore the
|
6267
|
+
# request if it has already been completed.
|
6268
|
+
# For example, consider a situation where you make an initial request and the
|
6269
|
+
# request times out. If you make the request again with the same request ID, the
|
6270
|
+
# server can check if original operation with the same request ID was received,
|
6271
|
+
# and if so, will ignore the second request. This prevents clients from
|
6272
|
+
# accidentally creating duplicate commitments.
|
6273
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
6274
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
6275
|
+
# @param [String] fields
|
6276
|
+
# Selector specifying which fields to include in a partial response.
|
6277
|
+
# @param [String] quota_user
|
6278
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
6279
|
+
# characters.
|
6280
|
+
# @param [String] user_ip
|
6281
|
+
# Deprecated. Please use quotaUser instead.
|
6282
|
+
# @param [Google::Apis::RequestOptions] options
|
6283
|
+
# Request-specific options
|
6284
|
+
#
|
6285
|
+
# @yield [result, err] Result & error if block supplied
|
6286
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
6287
|
+
# @yieldparam err [StandardError] error object if request failed
|
6288
|
+
#
|
6289
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
6290
|
+
#
|
6291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6294
|
+
def insert_global_public_delegated_prefix(project, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6295
|
+
command = make_simple_command(:post, 'projects/{project}/global/publicDelegatedPrefixes', options)
|
6296
|
+
command.request_representation = Google::Apis::ComputeV1::PublicDelegatedPrefix::Representation
|
6297
|
+
command.request_object = public_delegated_prefix_object
|
6298
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
6299
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
6300
|
+
command.params['project'] = project unless project.nil?
|
6301
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
6302
|
+
command.query['fields'] = fields unless fields.nil?
|
6303
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6304
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
6305
|
+
execute_or_queue_command(command, &block)
|
6306
|
+
end
|
6307
|
+
|
6308
|
+
# Lists the global PublicDelegatedPrefixes for a project.
|
6309
|
+
# @param [String] project
|
6310
|
+
# Project ID for this request.
|
6311
|
+
# @param [String] filter
|
6312
|
+
# A filter expression that filters resources listed in the response. The
|
6313
|
+
# expression must specify the field name, a comparison operator, and the value
|
6314
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
6315
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
6316
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
6317
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
6318
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
6319
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
6320
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
6321
|
+
# on resource labels.
|
6322
|
+
# To filter on multiple expressions, provide each separate expression within
|
6323
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
6324
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
6325
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
6326
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
6327
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
6328
|
+
# @param [Fixnum] max_results
|
6329
|
+
# The maximum number of results per page that should be returned. If the number
|
6330
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
6331
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
6332
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
6333
|
+
# @param [String] order_by
|
6334
|
+
# Sorts list results by a certain order. By default, results are returned in
|
6335
|
+
# alphanumerical order based on the resource name.
|
6336
|
+
# You can also sort results in descending order based on the creation timestamp
|
6337
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
6338
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
6339
|
+
# Use this to sort resources like operations so that the newest operation is
|
6340
|
+
# returned first.
|
6341
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
6342
|
+
# @param [String] page_token
|
6343
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
6344
|
+
# by a previous list request to get the next page of results.
|
6345
|
+
# @param [Boolean] return_partial_success
|
6346
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
6347
|
+
# failure. The default value is false.
|
6348
|
+
# @param [String] fields
|
6349
|
+
# Selector specifying which fields to include in a partial response.
|
6350
|
+
# @param [String] quota_user
|
6351
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
6352
|
+
# characters.
|
6353
|
+
# @param [String] user_ip
|
6354
|
+
# Deprecated. Please use quotaUser instead.
|
6355
|
+
# @param [Google::Apis::RequestOptions] options
|
6356
|
+
# Request-specific options
|
6357
|
+
#
|
6358
|
+
# @yield [result, err] Result & error if block supplied
|
6359
|
+
# @yieldparam result [Google::Apis::ComputeV1::PublicDelegatedPrefixList] parsed result object
|
6360
|
+
# @yieldparam err [StandardError] error object if request failed
|
6361
|
+
#
|
6362
|
+
# @return [Google::Apis::ComputeV1::PublicDelegatedPrefixList]
|
6363
|
+
#
|
6364
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6365
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6366
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6367
|
+
def list_global_public_delegated_prefixes(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)
|
6368
|
+
command = make_simple_command(:get, 'projects/{project}/global/publicDelegatedPrefixes', options)
|
6369
|
+
command.response_representation = Google::Apis::ComputeV1::PublicDelegatedPrefixList::Representation
|
6370
|
+
command.response_class = Google::Apis::ComputeV1::PublicDelegatedPrefixList
|
6371
|
+
command.params['project'] = project unless project.nil?
|
6372
|
+
command.query['filter'] = filter unless filter.nil?
|
6373
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
6374
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
6375
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6376
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
6377
|
+
command.query['fields'] = fields unless fields.nil?
|
6378
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6379
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
6380
|
+
execute_or_queue_command(command, &block)
|
6381
|
+
end
|
6382
|
+
|
6383
|
+
# Patches the specified global PublicDelegatedPrefix resource with the data
|
6384
|
+
# included in the request. This method supports PATCH semantics and uses JSON
|
6385
|
+
# merge patch format and processing rules.
|
6386
|
+
# @param [String] project
|
6387
|
+
# Project ID for this request.
|
6388
|
+
# @param [String] public_delegated_prefix
|
6389
|
+
# Name of the PublicDelegatedPrefix resource to patch.
|
6390
|
+
# @param [Google::Apis::ComputeV1::PublicDelegatedPrefix] public_delegated_prefix_object
|
6391
|
+
# @param [String] request_id
|
6392
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
6393
|
+
# that if you must retry your request, the server will know to ignore the
|
6394
|
+
# request if it has already been completed.
|
6395
|
+
# For example, consider a situation where you make an initial request and the
|
6396
|
+
# request times out. If you make the request again with the same request ID, the
|
6397
|
+
# server can check if original operation with the same request ID was received,
|
6398
|
+
# and if so, will ignore the second request. This prevents clients from
|
6399
|
+
# accidentally creating duplicate commitments.
|
6400
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
6401
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
6402
|
+
# @param [String] fields
|
6403
|
+
# Selector specifying which fields to include in a partial response.
|
6404
|
+
# @param [String] quota_user
|
6405
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
6406
|
+
# characters.
|
6407
|
+
# @param [String] user_ip
|
6408
|
+
# Deprecated. Please use quotaUser instead.
|
6409
|
+
# @param [Google::Apis::RequestOptions] options
|
6410
|
+
# Request-specific options
|
6411
|
+
#
|
6412
|
+
# @yield [result, err] Result & error if block supplied
|
6413
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
6414
|
+
# @yieldparam err [StandardError] error object if request failed
|
6415
|
+
#
|
6416
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
6417
|
+
#
|
6418
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6419
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6420
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6421
|
+
def patch_global_public_delegated_prefix(project, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6422
|
+
command = make_simple_command(:patch, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options)
|
6423
|
+
command.request_representation = Google::Apis::ComputeV1::PublicDelegatedPrefix::Representation
|
6424
|
+
command.request_object = public_delegated_prefix_object
|
6425
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
6426
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
6427
|
+
command.params['project'] = project unless project.nil?
|
6428
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
6429
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
6430
|
+
command.query['fields'] = fields unless fields.nil?
|
6431
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6432
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
6433
|
+
execute_or_queue_command(command, &block)
|
6434
|
+
end
|
6435
|
+
|
6174
6436
|
# Retrieves the list of all HealthCheck resources, regional and global,
|
6175
6437
|
# available to the specified project.
|
6176
6438
|
# @param [String] project
|
@@ -6218,7 +6480,7 @@ module Google
|
|
6218
6480
|
# by a previous list request to get the next page of results.
|
6219
6481
|
# @param [Boolean] return_partial_success
|
6220
6482
|
# Opt-in for partial success behavior which provides partial results in case of
|
6221
|
-
# failure. The default value is false
|
6483
|
+
# failure. The default value is false.
|
6222
6484
|
# @param [String] fields
|
6223
6485
|
# Selector specifying which fields to include in a partial response.
|
6224
6486
|
# @param [String] quota_user
|
@@ -6428,7 +6690,7 @@ module Google
|
|
6428
6690
|
# by a previous list request to get the next page of results.
|
6429
6691
|
# @param [Boolean] return_partial_success
|
6430
6692
|
# Opt-in for partial success behavior which provides partial results in case of
|
6431
|
-
# failure. The default value is false
|
6693
|
+
# failure. The default value is false.
|
6432
6694
|
# @param [String] fields
|
6433
6695
|
# Selector specifying which fields to include in a partial response.
|
6434
6696
|
# @param [String] quota_user
|
@@ -6743,7 +7005,7 @@ module Google
|
|
6743
7005
|
# by a previous list request to get the next page of results.
|
6744
7006
|
# @param [Boolean] return_partial_success
|
6745
7007
|
# Opt-in for partial success behavior which provides partial results in case of
|
6746
|
-
# failure. The default value is false
|
7008
|
+
# failure. The default value is false.
|
6747
7009
|
# @param [String] fields
|
6748
7010
|
# Selector specifying which fields to include in a partial response.
|
6749
7011
|
# @param [String] quota_user
|
@@ -7058,7 +7320,7 @@ module Google
|
|
7058
7320
|
# by a previous list request to get the next page of results.
|
7059
7321
|
# @param [Boolean] return_partial_success
|
7060
7322
|
# Opt-in for partial success behavior which provides partial results in case of
|
7061
|
-
# failure. The default value is false
|
7323
|
+
# failure. The default value is false.
|
7062
7324
|
# @param [String] fields
|
7063
7325
|
# Selector specifying which fields to include in a partial response.
|
7064
7326
|
# @param [String] quota_user
|
@@ -7508,7 +7770,7 @@ module Google
|
|
7508
7770
|
# by a previous list request to get the next page of results.
|
7509
7771
|
# @param [Boolean] return_partial_success
|
7510
7772
|
# Opt-in for partial success behavior which provides partial results in case of
|
7511
|
-
# failure. The default value is false
|
7773
|
+
# failure. The default value is false.
|
7512
7774
|
# @param [String] fields
|
7513
7775
|
# Selector specifying which fields to include in a partial response.
|
7514
7776
|
# @param [String] quota_user
|
@@ -7826,7 +8088,7 @@ module Google
|
|
7826
8088
|
# by a previous list request to get the next page of results.
|
7827
8089
|
# @param [Boolean] return_partial_success
|
7828
8090
|
# Opt-in for partial success behavior which provides partial results in case of
|
7829
|
-
# failure. The default value is false
|
8091
|
+
# failure. The default value is false.
|
7830
8092
|
# @param [String] fields
|
7831
8093
|
# Selector specifying which fields to include in a partial response.
|
7832
8094
|
# @param [String] quota_user
|
@@ -8266,7 +8528,7 @@ module Google
|
|
8266
8528
|
# by a previous list request to get the next page of results.
|
8267
8529
|
# @param [Boolean] return_partial_success
|
8268
8530
|
# Opt-in for partial success behavior which provides partial results in case of
|
8269
|
-
# failure. The default value is false
|
8531
|
+
# failure. The default value is false.
|
8270
8532
|
# @param [String] fields
|
8271
8533
|
# Selector specifying which fields to include in a partial response.
|
8272
8534
|
# @param [String] quota_user
|
@@ -8350,7 +8612,7 @@ module Google
|
|
8350
8612
|
# by a previous list request to get the next page of results.
|
8351
8613
|
# @param [Boolean] return_partial_success
|
8352
8614
|
# Opt-in for partial success behavior which provides partial results in case of
|
8353
|
-
# failure. The default value is false
|
8615
|
+
# failure. The default value is false.
|
8354
8616
|
# @param [String] fields
|
8355
8617
|
# Selector specifying which fields to include in a partial response.
|
8356
8618
|
# @param [String] quota_user
|
@@ -8436,7 +8698,7 @@ module Google
|
|
8436
8698
|
# by a previous list request to get the next page of results.
|
8437
8699
|
# @param [Boolean] return_partial_success
|
8438
8700
|
# Opt-in for partial success behavior which provides partial results in case of
|
8439
|
-
# failure. The default value is false
|
8701
|
+
# failure. The default value is false.
|
8440
8702
|
# @param [String] fields
|
8441
8703
|
# Selector specifying which fields to include in a partial response.
|
8442
8704
|
# @param [String] quota_user
|
@@ -8519,7 +8781,7 @@ module Google
|
|
8519
8781
|
# by a previous list request to get the next page of results.
|
8520
8782
|
# @param [Boolean] return_partial_success
|
8521
8783
|
# Opt-in for partial success behavior which provides partial results in case of
|
8522
|
-
# failure. The default value is false
|
8784
|
+
# failure. The default value is false.
|
8523
8785
|
# @param [String] fields
|
8524
8786
|
# Selector specifying which fields to include in a partial response.
|
8525
8787
|
# @param [String] quota_user
|
@@ -9082,7 +9344,7 @@ module Google
|
|
9082
9344
|
# by a previous list request to get the next page of results.
|
9083
9345
|
# @param [Boolean] return_partial_success
|
9084
9346
|
# Opt-in for partial success behavior which provides partial results in case of
|
9085
|
-
# failure. The default value is false
|
9347
|
+
# failure. The default value is false.
|
9086
9348
|
# @param [String] fields
|
9087
9349
|
# Selector specifying which fields to include in a partial response.
|
9088
9350
|
# @param [String] quota_user
|
@@ -9310,7 +9572,7 @@ module Google
|
|
9310
9572
|
# by a previous list request to get the next page of results.
|
9311
9573
|
# @param [Boolean] return_partial_success
|
9312
9574
|
# Opt-in for partial success behavior which provides partial results in case of
|
9313
|
-
# failure. The default value is false
|
9575
|
+
# failure. The default value is false.
|
9314
9576
|
# @param [String] fields
|
9315
9577
|
# Selector specifying which fields to include in a partial response.
|
9316
9578
|
# @param [String] quota_user
|
@@ -9393,7 +9655,7 @@ module Google
|
|
9393
9655
|
# by a previous list request to get the next page of results.
|
9394
9656
|
# @param [Boolean] return_partial_success
|
9395
9657
|
# Opt-in for partial success behavior which provides partial results in case of
|
9396
|
-
# failure. The default value is false
|
9658
|
+
# failure. The default value is false.
|
9397
9659
|
# @param [String] fields
|
9398
9660
|
# Selector specifying which fields to include in a partial response.
|
9399
9661
|
# @param [String] quota_user
|
@@ -9763,7 +10025,7 @@ module Google
|
|
9763
10025
|
# by a previous list request to get the next page of results.
|
9764
10026
|
# @param [Boolean] return_partial_success
|
9765
10027
|
# Opt-in for partial success behavior which provides partial results in case of
|
9766
|
-
# failure. The default value is false
|
10028
|
+
# failure. The default value is false.
|
9767
10029
|
# @param [String] fields
|
9768
10030
|
# Selector specifying which fields to include in a partial response.
|
9769
10031
|
# @param [String] quota_user
|
@@ -10038,7 +10300,7 @@ module Google
|
|
10038
10300
|
# by a previous list request to get the next page of results.
|
10039
10301
|
# @param [Boolean] return_partial_success
|
10040
10302
|
# Opt-in for partial success behavior which provides partial results in case of
|
10041
|
-
# failure. The default value is false
|
10303
|
+
# failure. The default value is false.
|
10042
10304
|
# @param [String] fields
|
10043
10305
|
# Selector specifying which fields to include in a partial response.
|
10044
10306
|
# @param [String] quota_user
|
@@ -10137,14 +10399,12 @@ module Google
|
|
10137
10399
|
execute_or_queue_command(command, &block)
|
10138
10400
|
end
|
10139
10401
|
|
10140
|
-
#
|
10141
|
-
# Deleting an Instance.
|
10402
|
+
# Creates multiple instances. Count specifies the number of instances to create.
|
10142
10403
|
# @param [String] project
|
10143
10404
|
# Project ID for this request.
|
10144
10405
|
# @param [String] zone
|
10145
10406
|
# The name of the zone for this request.
|
10146
|
-
# @param [
|
10147
|
-
# Name of the instance resource to delete.
|
10407
|
+
# @param [Google::Apis::ComputeV1::BulkInsertInstanceResource] bulk_insert_instance_resource_object
|
10148
10408
|
# @param [String] request_id
|
10149
10409
|
# An optional request ID to identify requests. Specify a unique request ID so
|
10150
10410
|
# that if you must retry your request, the server will know to ignore the
|
@@ -10175,13 +10435,14 @@ module Google
|
|
10175
10435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10176
10436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10177
10437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10178
|
-
def
|
10179
|
-
command = make_simple_command(:
|
10438
|
+
def bulk_instance_insert(project, zone, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10439
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/bulkInsert', options)
|
10440
|
+
command.request_representation = Google::Apis::ComputeV1::BulkInsertInstanceResource::Representation
|
10441
|
+
command.request_object = bulk_insert_instance_resource_object
|
10180
10442
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10181
10443
|
command.response_class = Google::Apis::ComputeV1::Operation
|
10182
10444
|
command.params['project'] = project unless project.nil?
|
10183
10445
|
command.params['zone'] = zone unless zone.nil?
|
10184
|
-
command.params['instance'] = instance unless instance.nil?
|
10185
10446
|
command.query['requestId'] = request_id unless request_id.nil?
|
10186
10447
|
command.query['fields'] = fields unless fields.nil?
|
10187
10448
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -10189,17 +10450,14 @@ module Google
|
|
10189
10450
|
execute_or_queue_command(command, &block)
|
10190
10451
|
end
|
10191
10452
|
|
10192
|
-
# Deletes
|
10453
|
+
# Deletes the specified Instance resource. For more information, see Stopping or
|
10454
|
+
# Deleting an Instance.
|
10193
10455
|
# @param [String] project
|
10194
10456
|
# Project ID for this request.
|
10195
10457
|
# @param [String] zone
|
10196
10458
|
# The name of the zone for this request.
|
10197
10459
|
# @param [String] instance
|
10198
|
-
#
|
10199
|
-
# @param [String] access_config
|
10200
|
-
# The name of the access config to delete.
|
10201
|
-
# @param [String] network_interface
|
10202
|
-
# The name of the network interface.
|
10460
|
+
# Name of the instance resource to delete.
|
10203
10461
|
# @param [String] request_id
|
10204
10462
|
# An optional request ID to identify requests. Specify a unique request ID so
|
10205
10463
|
# that if you must retry your request, the server will know to ignore the
|
@@ -10230,15 +10488,13 @@ module Google
|
|
10230
10488
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10231
10489
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10232
10490
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10233
|
-
def
|
10234
|
-
command = make_simple_command(:
|
10491
|
+
def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10492
|
+
command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instances/{instance}', options)
|
10235
10493
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10236
10494
|
command.response_class = Google::Apis::ComputeV1::Operation
|
10237
10495
|
command.params['project'] = project unless project.nil?
|
10238
10496
|
command.params['zone'] = zone unless zone.nil?
|
10239
10497
|
command.params['instance'] = instance unless instance.nil?
|
10240
|
-
command.query['accessConfig'] = access_config unless access_config.nil?
|
10241
|
-
command.query['networkInterface'] = network_interface unless network_interface.nil?
|
10242
10498
|
command.query['requestId'] = request_id unless request_id.nil?
|
10243
10499
|
command.query['fields'] = fields unless fields.nil?
|
10244
10500
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -10246,16 +10502,17 @@ module Google
|
|
10246
10502
|
execute_or_queue_command(command, &block)
|
10247
10503
|
end
|
10248
10504
|
|
10249
|
-
#
|
10505
|
+
# Deletes an access config from an instance's network interface.
|
10250
10506
|
# @param [String] project
|
10251
10507
|
# Project ID for this request.
|
10252
10508
|
# @param [String] zone
|
10253
10509
|
# The name of the zone for this request.
|
10254
10510
|
# @param [String] instance
|
10255
|
-
#
|
10256
|
-
# @param [String]
|
10257
|
-
# The
|
10258
|
-
#
|
10511
|
+
# The instance name for this request.
|
10512
|
+
# @param [String] access_config
|
10513
|
+
# The name of the access config to delete.
|
10514
|
+
# @param [String] network_interface
|
10515
|
+
# The name of the network interface.
|
10259
10516
|
# @param [String] request_id
|
10260
10517
|
# An optional request ID to identify requests. Specify a unique request ID so
|
10261
10518
|
# that if you must retry your request, the server will know to ignore the
|
@@ -10286,9 +10543,65 @@ module Google
|
|
10286
10543
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10287
10544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10288
10545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10289
|
-
def
|
10290
|
-
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/
|
10291
|
-
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10546
|
+
def delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10547
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options)
|
10548
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10549
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
10550
|
+
command.params['project'] = project unless project.nil?
|
10551
|
+
command.params['zone'] = zone unless zone.nil?
|
10552
|
+
command.params['instance'] = instance unless instance.nil?
|
10553
|
+
command.query['accessConfig'] = access_config unless access_config.nil?
|
10554
|
+
command.query['networkInterface'] = network_interface unless network_interface.nil?
|
10555
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10556
|
+
command.query['fields'] = fields unless fields.nil?
|
10557
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10558
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10559
|
+
execute_or_queue_command(command, &block)
|
10560
|
+
end
|
10561
|
+
|
10562
|
+
# Detaches a disk from an instance.
|
10563
|
+
# @param [String] project
|
10564
|
+
# Project ID for this request.
|
10565
|
+
# @param [String] zone
|
10566
|
+
# The name of the zone for this request.
|
10567
|
+
# @param [String] instance
|
10568
|
+
# Instance name for this request.
|
10569
|
+
# @param [String] device_name
|
10570
|
+
# The device name of the disk to detach. Make a get() request on the instance to
|
10571
|
+
# view currently attached disks and device names.
|
10572
|
+
# @param [String] request_id
|
10573
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10574
|
+
# that if you must retry your request, the server will know to ignore the
|
10575
|
+
# request if it has already been completed.
|
10576
|
+
# For example, consider a situation where you make an initial request and the
|
10577
|
+
# request times out. If you make the request again with the same request ID, the
|
10578
|
+
# server can check if original operation with the same request ID was received,
|
10579
|
+
# and if so, will ignore the second request. This prevents clients from
|
10580
|
+
# accidentally creating duplicate commitments.
|
10581
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10582
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10583
|
+
# @param [String] fields
|
10584
|
+
# Selector specifying which fields to include in a partial response.
|
10585
|
+
# @param [String] quota_user
|
10586
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10587
|
+
# characters.
|
10588
|
+
# @param [String] user_ip
|
10589
|
+
# Deprecated. Please use quotaUser instead.
|
10590
|
+
# @param [Google::Apis::RequestOptions] options
|
10591
|
+
# Request-specific options
|
10592
|
+
#
|
10593
|
+
# @yield [result, err] Result & error if block supplied
|
10594
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
10595
|
+
# @yieldparam err [StandardError] error object if request failed
|
10596
|
+
#
|
10597
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
10598
|
+
#
|
10599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10602
|
+
def detach_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10603
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/detachDisk', options)
|
10604
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
10292
10605
|
command.response_class = Google::Apis::ComputeV1::Operation
|
10293
10606
|
command.params['project'] = project unless project.nil?
|
10294
10607
|
command.params['zone'] = zone unless zone.nil?
|
@@ -10341,6 +10654,48 @@ module Google
|
|
10341
10654
|
execute_or_queue_command(command, &block)
|
10342
10655
|
end
|
10343
10656
|
|
10657
|
+
# Returns effective firewalls applied to an interface of the instance.
|
10658
|
+
# @param [String] project
|
10659
|
+
# Project ID for this request.
|
10660
|
+
# @param [String] zone
|
10661
|
+
# The name of the zone for this request.
|
10662
|
+
# @param [String] instance
|
10663
|
+
# Name of the instance scoping this request.
|
10664
|
+
# @param [String] network_interface
|
10665
|
+
# The name of the network interface to get the effective firewalls.
|
10666
|
+
# @param [String] fields
|
10667
|
+
# Selector specifying which fields to include in a partial response.
|
10668
|
+
# @param [String] quota_user
|
10669
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10670
|
+
# characters.
|
10671
|
+
# @param [String] user_ip
|
10672
|
+
# Deprecated. Please use quotaUser instead.
|
10673
|
+
# @param [Google::Apis::RequestOptions] options
|
10674
|
+
# Request-specific options
|
10675
|
+
#
|
10676
|
+
# @yield [result, err] Result & error if block supplied
|
10677
|
+
# @yieldparam result [Google::Apis::ComputeV1::InstancesGetEffectiveFirewallsResponse] parsed result object
|
10678
|
+
# @yieldparam err [StandardError] error object if request failed
|
10679
|
+
#
|
10680
|
+
# @return [Google::Apis::ComputeV1::InstancesGetEffectiveFirewallsResponse]
|
10681
|
+
#
|
10682
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10683
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10684
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10685
|
+
def get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10686
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options)
|
10687
|
+
command.response_representation = Google::Apis::ComputeV1::InstancesGetEffectiveFirewallsResponse::Representation
|
10688
|
+
command.response_class = Google::Apis::ComputeV1::InstancesGetEffectiveFirewallsResponse
|
10689
|
+
command.params['project'] = project unless project.nil?
|
10690
|
+
command.params['zone'] = zone unless zone.nil?
|
10691
|
+
command.params['instance'] = instance unless instance.nil?
|
10692
|
+
command.query['networkInterface'] = network_interface unless network_interface.nil?
|
10693
|
+
command.query['fields'] = fields unless fields.nil?
|
10694
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10695
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10696
|
+
execute_or_queue_command(command, &block)
|
10697
|
+
end
|
10698
|
+
|
10344
10699
|
# Returns the specified guest attributes entry.
|
10345
10700
|
# @param [String] project
|
10346
10701
|
# Project ID for this request.
|
@@ -10665,7 +11020,7 @@ module Google
|
|
10665
11020
|
# by a previous list request to get the next page of results.
|
10666
11021
|
# @param [Boolean] return_partial_success
|
10667
11022
|
# Opt-in for partial success behavior which provides partial results in case of
|
10668
|
-
# failure. The default value is false
|
11023
|
+
# failure. The default value is false.
|
10669
11024
|
# @param [String] fields
|
10670
11025
|
# Selector specifying which fields to include in a partial response.
|
10671
11026
|
# @param [String] quota_user
|
@@ -10749,7 +11104,7 @@ module Google
|
|
10749
11104
|
# by a previous list request to get the next page of results.
|
10750
11105
|
# @param [Boolean] return_partial_success
|
10751
11106
|
# Opt-in for partial success behavior which provides partial results in case of
|
10752
|
-
# failure. The default value is false
|
11107
|
+
# failure. The default value is false.
|
10753
11108
|
# @param [String] fields
|
10754
11109
|
# Selector specifying which fields to include in a partial response.
|
10755
11110
|
# @param [String] quota_user
|
@@ -12133,7 +12488,7 @@ module Google
|
|
12133
12488
|
# by a previous list request to get the next page of results.
|
12134
12489
|
# @param [Boolean] return_partial_success
|
12135
12490
|
# Opt-in for partial success behavior which provides partial results in case of
|
12136
|
-
# failure. The default value is false
|
12491
|
+
# failure. The default value is false.
|
12137
12492
|
# @param [String] fields
|
12138
12493
|
# Selector specifying which fields to include in a partial response.
|
12139
12494
|
# @param [String] quota_user
|
@@ -12357,7 +12712,7 @@ module Google
|
|
12357
12712
|
# by a previous list request to get the next page of results.
|
12358
12713
|
# @param [Boolean] return_partial_success
|
12359
12714
|
# Opt-in for partial success behavior which provides partial results in case of
|
12360
|
-
# failure. The default value is false
|
12715
|
+
# failure. The default value is false.
|
12361
12716
|
# @param [String] fields
|
12362
12717
|
# Selector specifying which fields to include in a partial response.
|
12363
12718
|
# @param [String] quota_user
|
@@ -12527,7 +12882,7 @@ module Google
|
|
12527
12882
|
# by a previous list request to get the next page of results.
|
12528
12883
|
# @param [Boolean] return_partial_success
|
12529
12884
|
# Opt-in for partial success behavior which provides partial results in case of
|
12530
|
-
# failure. The default value is false
|
12885
|
+
# failure. The default value is false.
|
12531
12886
|
# @param [String] fields
|
12532
12887
|
# Selector specifying which fields to include in a partial response.
|
12533
12888
|
# @param [String] quota_user
|
@@ -12772,7 +13127,7 @@ module Google
|
|
12772
13127
|
# by a previous list request to get the next page of results.
|
12773
13128
|
# @param [Boolean] return_partial_success
|
12774
13129
|
# Opt-in for partial success behavior which provides partial results in case of
|
12775
|
-
# failure. The default value is false
|
13130
|
+
# failure. The default value is false.
|
12776
13131
|
# @param [String] fields
|
12777
13132
|
# Selector specifying which fields to include in a partial response.
|
12778
13133
|
# @param [String] quota_user
|
@@ -13163,7 +13518,7 @@ module Google
|
|
13163
13518
|
# by a previous list request to get the next page of results.
|
13164
13519
|
# @param [Boolean] return_partial_success
|
13165
13520
|
# Opt-in for partial success behavior which provides partial results in case of
|
13166
|
-
# failure. The default value is false
|
13521
|
+
# failure. The default value is false.
|
13167
13522
|
# @param [String] fields
|
13168
13523
|
# Selector specifying which fields to include in a partial response.
|
13169
13524
|
# @param [String] quota_user
|
@@ -13327,7 +13682,7 @@ module Google
|
|
13327
13682
|
# by a previous list request to get the next page of results.
|
13328
13683
|
# @param [Boolean] return_partial_success
|
13329
13684
|
# Opt-in for partial success behavior which provides partial results in case of
|
13330
|
-
# failure. The default value is false
|
13685
|
+
# failure. The default value is false.
|
13331
13686
|
# @param [String] fields
|
13332
13687
|
# Selector specifying which fields to include in a partial response.
|
13333
13688
|
# @param [String] quota_user
|
@@ -13445,7 +13800,7 @@ module Google
|
|
13445
13800
|
# by a previous list request to get the next page of results.
|
13446
13801
|
# @param [Boolean] return_partial_success
|
13447
13802
|
# Opt-in for partial success behavior which provides partial results in case of
|
13448
|
-
# failure. The default value is false
|
13803
|
+
# failure. The default value is false.
|
13449
13804
|
# @param [String] fields
|
13450
13805
|
# Selector specifying which fields to include in a partial response.
|
13451
13806
|
# @param [String] quota_user
|
@@ -13528,7 +13883,7 @@ module Google
|
|
13528
13883
|
# by a previous list request to get the next page of results.
|
13529
13884
|
# @param [Boolean] return_partial_success
|
13530
13885
|
# Opt-in for partial success behavior which provides partial results in case of
|
13531
|
-
# failure. The default value is false
|
13886
|
+
# failure. The default value is false.
|
13532
13887
|
# @param [String] fields
|
13533
13888
|
# Selector specifying which fields to include in a partial response.
|
13534
13889
|
# @param [String] quota_user
|
@@ -13870,7 +14225,7 @@ module Google
|
|
13870
14225
|
# by a previous list request to get the next page of results.
|
13871
14226
|
# @param [Boolean] return_partial_success
|
13872
14227
|
# Opt-in for partial success behavior which provides partial results in case of
|
13873
|
-
# failure. The default value is false
|
14228
|
+
# failure. The default value is false.
|
13874
14229
|
# @param [String] fields
|
13875
14230
|
# Selector specifying which fields to include in a partial response.
|
13876
14231
|
# @param [String] quota_user
|
@@ -13953,7 +14308,7 @@ module Google
|
|
13953
14308
|
# by a previous list request to get the next page of results.
|
13954
14309
|
# @param [Boolean] return_partial_success
|
13955
14310
|
# Opt-in for partial success behavior which provides partial results in case of
|
13956
|
-
# failure. The default value is false
|
14311
|
+
# failure. The default value is false.
|
13957
14312
|
# @param [String] fields
|
13958
14313
|
# Selector specifying which fields to include in a partial response.
|
13959
14314
|
# @param [String] quota_user
|
@@ -14171,6 +14526,42 @@ module Google
|
|
14171
14526
|
execute_or_queue_command(command, &block)
|
14172
14527
|
end
|
14173
14528
|
|
14529
|
+
# Returns the effective firewalls on a given network.
|
14530
|
+
# @param [String] project
|
14531
|
+
# Project ID for this request.
|
14532
|
+
# @param [String] network
|
14533
|
+
# Name of the network for this request.
|
14534
|
+
# @param [String] fields
|
14535
|
+
# Selector specifying which fields to include in a partial response.
|
14536
|
+
# @param [String] quota_user
|
14537
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
14538
|
+
# characters.
|
14539
|
+
# @param [String] user_ip
|
14540
|
+
# Deprecated. Please use quotaUser instead.
|
14541
|
+
# @param [Google::Apis::RequestOptions] options
|
14542
|
+
# Request-specific options
|
14543
|
+
#
|
14544
|
+
# @yield [result, err] Result & error if block supplied
|
14545
|
+
# @yieldparam result [Google::Apis::ComputeV1::NetworksGetEffectiveFirewallsResponse] parsed result object
|
14546
|
+
# @yieldparam err [StandardError] error object if request failed
|
14547
|
+
#
|
14548
|
+
# @return [Google::Apis::ComputeV1::NetworksGetEffectiveFirewallsResponse]
|
14549
|
+
#
|
14550
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14551
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14552
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14553
|
+
def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14554
|
+
command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/getEffectiveFirewalls', options)
|
14555
|
+
command.response_representation = Google::Apis::ComputeV1::NetworksGetEffectiveFirewallsResponse::Representation
|
14556
|
+
command.response_class = Google::Apis::ComputeV1::NetworksGetEffectiveFirewallsResponse
|
14557
|
+
command.params['project'] = project unless project.nil?
|
14558
|
+
command.params['network'] = network unless network.nil?
|
14559
|
+
command.query['fields'] = fields unless fields.nil?
|
14560
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14561
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14562
|
+
execute_or_queue_command(command, &block)
|
14563
|
+
end
|
14564
|
+
|
14174
14565
|
# Creates a network in the specified project using the data included in the
|
14175
14566
|
# request.
|
14176
14567
|
# @param [String] project
|
@@ -14259,7 +14650,7 @@ module Google
|
|
14259
14650
|
# by a previous list request to get the next page of results.
|
14260
14651
|
# @param [Boolean] return_partial_success
|
14261
14652
|
# Opt-in for partial success behavior which provides partial results in case of
|
14262
|
-
# failure. The default value is false
|
14653
|
+
# failure. The default value is false.
|
14263
14654
|
# @param [String] fields
|
14264
14655
|
# Selector specifying which fields to include in a partial response.
|
14265
14656
|
# @param [String] quota_user
|
@@ -14343,7 +14734,7 @@ module Google
|
|
14343
14734
|
# routes and dynamic routes in the region.
|
14344
14735
|
# @param [Boolean] return_partial_success
|
14345
14736
|
# Opt-in for partial success behavior which provides partial results in case of
|
14346
|
-
# failure. The default value is false
|
14737
|
+
# failure. The default value is false.
|
14347
14738
|
# @param [String] fields
|
14348
14739
|
# Selector specifying which fields to include in a partial response.
|
14349
14740
|
# @param [String] quota_user
|
@@ -14688,7 +15079,7 @@ module Google
|
|
14688
15079
|
# by a previous list request to get the next page of results.
|
14689
15080
|
# @param [Boolean] return_partial_success
|
14690
15081
|
# Opt-in for partial success behavior which provides partial results in case of
|
14691
|
-
# failure. The default value is false
|
15082
|
+
# failure. The default value is false.
|
14692
15083
|
# @param [String] fields
|
14693
15084
|
# Selector specifying which fields to include in a partial response.
|
14694
15085
|
# @param [String] quota_user
|
@@ -15011,7 +15402,7 @@ module Google
|
|
15011
15402
|
# by a previous list request to get the next page of results.
|
15012
15403
|
# @param [Boolean] return_partial_success
|
15013
15404
|
# Opt-in for partial success behavior which provides partial results in case of
|
15014
|
-
# failure. The default value is false
|
15405
|
+
# failure. The default value is false.
|
15015
15406
|
# @param [String] fields
|
15016
15407
|
# Selector specifying which fields to include in a partial response.
|
15017
15408
|
# @param [String] quota_user
|
@@ -15091,7 +15482,7 @@ module Google
|
|
15091
15482
|
# by a previous list request to get the next page of results.
|
15092
15483
|
# @param [Boolean] return_partial_success
|
15093
15484
|
# Opt-in for partial success behavior which provides partial results in case of
|
15094
|
-
# failure. The default value is false
|
15485
|
+
# failure. The default value is false.
|
15095
15486
|
# @param [String] fields
|
15096
15487
|
# Selector specifying which fields to include in a partial response.
|
15097
15488
|
# @param [String] quota_user
|
@@ -15368,7 +15759,7 @@ module Google
|
|
15368
15759
|
# by a previous list request to get the next page of results.
|
15369
15760
|
# @param [Boolean] return_partial_success
|
15370
15761
|
# Opt-in for partial success behavior which provides partial results in case of
|
15371
|
-
# failure. The default value is false
|
15762
|
+
# failure. The default value is false.
|
15372
15763
|
# @param [String] fields
|
15373
15764
|
# Selector specifying which fields to include in a partial response.
|
15374
15765
|
# @param [String] quota_user
|
@@ -15632,7 +16023,7 @@ module Google
|
|
15632
16023
|
# by a previous list request to get the next page of results.
|
15633
16024
|
# @param [Boolean] return_partial_success
|
15634
16025
|
# Opt-in for partial success behavior which provides partial results in case of
|
15635
|
-
# failure. The default value is false
|
16026
|
+
# failure. The default value is false.
|
15636
16027
|
# @param [String] fields
|
15637
16028
|
# Selector specifying which fields to include in a partial response.
|
15638
16029
|
# @param [String] quota_user
|
@@ -15800,7 +16191,7 @@ module Google
|
|
15800
16191
|
# by a previous list request to get the next page of results.
|
15801
16192
|
# @param [Boolean] return_partial_success
|
15802
16193
|
# Opt-in for partial success behavior which provides partial results in case of
|
15803
|
-
# failure. The default value is false
|
16194
|
+
# failure. The default value is false.
|
15804
16195
|
# @param [String] fields
|
15805
16196
|
# Selector specifying which fields to include in a partial response.
|
15806
16197
|
# @param [String] quota_user
|
@@ -15918,7 +16309,7 @@ module Google
|
|
15918
16309
|
# by a previous list request to get the next page of results.
|
15919
16310
|
# @param [Boolean] return_partial_success
|
15920
16311
|
# Opt-in for partial success behavior which provides partial results in case of
|
15921
|
-
# failure. The default value is false
|
16312
|
+
# failure. The default value is false.
|
15922
16313
|
# @param [String] fields
|
15923
16314
|
# Selector specifying which fields to include in a partial response.
|
15924
16315
|
# @param [String] quota_user
|
@@ -16001,7 +16392,7 @@ module Google
|
|
16001
16392
|
# by a previous list request to get the next page of results.
|
16002
16393
|
# @param [Boolean] return_partial_success
|
16003
16394
|
# Opt-in for partial success behavior which provides partial results in case of
|
16004
|
-
# failure. The default value is false
|
16395
|
+
# failure. The default value is false.
|
16005
16396
|
# @param [String] fields
|
16006
16397
|
# Selector specifying which fields to include in a partial response.
|
16007
16398
|
# @param [String] quota_user
|
@@ -16222,7 +16613,7 @@ module Google
|
|
16222
16613
|
# by a previous list request to get the next page of results.
|
16223
16614
|
# @param [Boolean] return_partial_success
|
16224
16615
|
# Opt-in for partial success behavior which provides partial results in case of
|
16225
|
-
# failure. The default value is false
|
16616
|
+
# failure. The default value is false.
|
16226
16617
|
# @param [String] fields
|
16227
16618
|
# Selector specifying which fields to include in a partial response.
|
16228
16619
|
# @param [String] quota_user
|
@@ -16652,7 +17043,7 @@ module Google
|
|
16652
17043
|
# by a previous list request to get the next page of results.
|
16653
17044
|
# @param [Boolean] return_partial_success
|
16654
17045
|
# Opt-in for partial success behavior which provides partial results in case of
|
16655
|
-
# failure. The default value is false
|
17046
|
+
# failure. The default value is false.
|
16656
17047
|
# @param [String] fields
|
16657
17048
|
# Selector specifying which fields to include in a partial response.
|
16658
17049
|
# @param [String] quota_user
|
@@ -16728,7 +17119,7 @@ module Google
|
|
16728
17119
|
# by a previous list request to get the next page of results.
|
16729
17120
|
# @param [Boolean] return_partial_success
|
16730
17121
|
# Opt-in for partial success behavior which provides partial results in case of
|
16731
|
-
# failure. The default value is false
|
17122
|
+
# failure. The default value is false.
|
16732
17123
|
# @param [String] fields
|
16733
17124
|
# Selector specifying which fields to include in a partial response.
|
16734
17125
|
# @param [String] quota_user
|
@@ -17011,13 +17402,11 @@ module Google
|
|
17011
17402
|
execute_or_queue_command(command, &block)
|
17012
17403
|
end
|
17013
17404
|
|
17014
|
-
# Deletes the specified
|
17405
|
+
# Deletes the specified PublicAdvertisedPrefix
|
17015
17406
|
# @param [String] project
|
17016
17407
|
# Project ID for this request.
|
17017
|
-
# @param [String]
|
17018
|
-
# Name of the
|
17019
|
-
# @param [String] autoscaler
|
17020
|
-
# Name of the autoscaler to delete.
|
17408
|
+
# @param [String] public_advertised_prefix
|
17409
|
+
# Name of the PublicAdvertisedPrefix resource to delete.
|
17021
17410
|
# @param [String] request_id
|
17022
17411
|
# An optional request ID to identify requests. Specify a unique request ID so
|
17023
17412
|
# that if you must retry your request, the server will know to ignore the
|
@@ -17048,13 +17437,12 @@ module Google
|
|
17048
17437
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17049
17438
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17050
17439
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17051
|
-
def
|
17052
|
-
command = make_simple_command(:delete, 'projects/{project}/
|
17440
|
+
def delete_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17441
|
+
command = make_simple_command(:delete, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options)
|
17053
17442
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17054
17443
|
command.response_class = Google::Apis::ComputeV1::Operation
|
17055
17444
|
command.params['project'] = project unless project.nil?
|
17056
|
-
command.params['
|
17057
|
-
command.params['autoscaler'] = autoscaler unless autoscaler.nil?
|
17445
|
+
command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
|
17058
17446
|
command.query['requestId'] = request_id unless request_id.nil?
|
17059
17447
|
command.query['fields'] = fields unless fields.nil?
|
17060
17448
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -17062,13 +17450,11 @@ module Google
|
|
17062
17450
|
execute_or_queue_command(command, &block)
|
17063
17451
|
end
|
17064
17452
|
|
17065
|
-
# Returns the specified
|
17453
|
+
# Returns the specified PublicAdvertisedPrefix resource.
|
17066
17454
|
# @param [String] project
|
17067
17455
|
# Project ID for this request.
|
17068
|
-
# @param [String]
|
17069
|
-
# Name of the
|
17070
|
-
# @param [String] autoscaler
|
17071
|
-
# Name of the autoscaler to return.
|
17456
|
+
# @param [String] public_advertised_prefix
|
17457
|
+
# Name of the PublicAdvertisedPrefix resource to return.
|
17072
17458
|
# @param [String] fields
|
17073
17459
|
# Selector specifying which fields to include in a partial response.
|
17074
17460
|
# @param [String] quota_user
|
@@ -17080,34 +17466,31 @@ module Google
|
|
17080
17466
|
# Request-specific options
|
17081
17467
|
#
|
17082
17468
|
# @yield [result, err] Result & error if block supplied
|
17083
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17469
|
+
# @yieldparam result [Google::Apis::ComputeV1::PublicAdvertisedPrefix] parsed result object
|
17084
17470
|
# @yieldparam err [StandardError] error object if request failed
|
17085
17471
|
#
|
17086
|
-
# @return [Google::Apis::ComputeV1::
|
17472
|
+
# @return [Google::Apis::ComputeV1::PublicAdvertisedPrefix]
|
17087
17473
|
#
|
17088
17474
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17089
17475
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17090
17476
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17091
|
-
def
|
17092
|
-
command = make_simple_command(:get, 'projects/{project}/
|
17093
|
-
command.response_representation = Google::Apis::ComputeV1::
|
17094
|
-
command.response_class = Google::Apis::ComputeV1::
|
17477
|
+
def get_public_advertised_prefix(project, public_advertised_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17478
|
+
command = make_simple_command(:get, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options)
|
17479
|
+
command.response_representation = Google::Apis::ComputeV1::PublicAdvertisedPrefix::Representation
|
17480
|
+
command.response_class = Google::Apis::ComputeV1::PublicAdvertisedPrefix
|
17095
17481
|
command.params['project'] = project unless project.nil?
|
17096
|
-
command.params['
|
17097
|
-
command.params['autoscaler'] = autoscaler unless autoscaler.nil?
|
17482
|
+
command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
|
17098
17483
|
command.query['fields'] = fields unless fields.nil?
|
17099
17484
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17100
17485
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
17101
17486
|
execute_or_queue_command(command, &block)
|
17102
17487
|
end
|
17103
17488
|
|
17104
|
-
# Creates
|
17105
|
-
# request.
|
17489
|
+
# Creates a PublicAdvertisedPrefix in the specified project using the parameters
|
17490
|
+
# that are included in the request.
|
17106
17491
|
# @param [String] project
|
17107
17492
|
# Project ID for this request.
|
17108
|
-
# @param [
|
17109
|
-
# Name of the region scoping this request.
|
17110
|
-
# @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object
|
17493
|
+
# @param [Google::Apis::ComputeV1::PublicAdvertisedPrefix] public_advertised_prefix_object
|
17111
17494
|
# @param [String] request_id
|
17112
17495
|
# An optional request ID to identify requests. Specify a unique request ID so
|
17113
17496
|
# that if you must retry your request, the server will know to ignore the
|
@@ -17138,14 +17521,13 @@ module Google
|
|
17138
17521
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17139
17522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17140
17523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17141
|
-
def
|
17142
|
-
command = make_simple_command(:post, 'projects/{project}/
|
17143
|
-
command.request_representation = Google::Apis::ComputeV1::
|
17144
|
-
command.request_object =
|
17524
|
+
def insert_public_advertised_prefix(project, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17525
|
+
command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes', options)
|
17526
|
+
command.request_representation = Google::Apis::ComputeV1::PublicAdvertisedPrefix::Representation
|
17527
|
+
command.request_object = public_advertised_prefix_object
|
17145
17528
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17146
17529
|
command.response_class = Google::Apis::ComputeV1::Operation
|
17147
17530
|
command.params['project'] = project unless project.nil?
|
17148
|
-
command.params['region'] = region unless region.nil?
|
17149
17531
|
command.query['requestId'] = request_id unless request_id.nil?
|
17150
17532
|
command.query['fields'] = fields unless fields.nil?
|
17151
17533
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -17153,11 +17535,9 @@ module Google
|
|
17153
17535
|
execute_or_queue_command(command, &block)
|
17154
17536
|
end
|
17155
17537
|
|
17156
|
-
#
|
17538
|
+
# Lists the PublicAdvertisedPrefixes for a project.
|
17157
17539
|
# @param [String] project
|
17158
17540
|
# Project ID for this request.
|
17159
|
-
# @param [String] region
|
17160
|
-
# Name of the region scoping this request.
|
17161
17541
|
# @param [String] filter
|
17162
17542
|
# A filter expression that filters resources listed in the response. The
|
17163
17543
|
# expression must specify the field name, a comparison operator, and the value
|
@@ -17194,7 +17574,7 @@ module Google
|
|
17194
17574
|
# by a previous list request to get the next page of results.
|
17195
17575
|
# @param [Boolean] return_partial_success
|
17196
17576
|
# Opt-in for partial success behavior which provides partial results in case of
|
17197
|
-
# failure. The default value is false
|
17577
|
+
# failure. The default value is false.
|
17198
17578
|
# @param [String] fields
|
17199
17579
|
# Selector specifying which fields to include in a partial response.
|
17200
17580
|
# @param [String] quota_user
|
@@ -17206,20 +17586,19 @@ module Google
|
|
17206
17586
|
# Request-specific options
|
17207
17587
|
#
|
17208
17588
|
# @yield [result, err] Result & error if block supplied
|
17209
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17589
|
+
# @yieldparam result [Google::Apis::ComputeV1::PublicAdvertisedPrefixList] parsed result object
|
17210
17590
|
# @yieldparam err [StandardError] error object if request failed
|
17211
17591
|
#
|
17212
|
-
# @return [Google::Apis::ComputeV1::
|
17592
|
+
# @return [Google::Apis::ComputeV1::PublicAdvertisedPrefixList]
|
17213
17593
|
#
|
17214
17594
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17215
17595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17216
17596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17217
|
-
def
|
17218
|
-
command = make_simple_command(:get, 'projects/{project}/
|
17219
|
-
command.response_representation = Google::Apis::ComputeV1::
|
17220
|
-
command.response_class = Google::Apis::ComputeV1::
|
17597
|
+
def list_public_advertised_prefixes(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)
|
17598
|
+
command = make_simple_command(:get, 'projects/{project}/global/publicAdvertisedPrefixes', options)
|
17599
|
+
command.response_representation = Google::Apis::ComputeV1::PublicAdvertisedPrefixList::Representation
|
17600
|
+
command.response_class = Google::Apis::ComputeV1::PublicAdvertisedPrefixList
|
17221
17601
|
command.params['project'] = project unless project.nil?
|
17222
|
-
command.params['region'] = region unless region.nil?
|
17223
17602
|
command.query['filter'] = filter unless filter.nil?
|
17224
17603
|
command.query['maxResults'] = max_results unless max_results.nil?
|
17225
17604
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -17231,16 +17610,14 @@ module Google
|
|
17231
17610
|
execute_or_queue_command(command, &block)
|
17232
17611
|
end
|
17233
17612
|
|
17234
|
-
#
|
17235
|
-
#
|
17236
|
-
#
|
17613
|
+
# Patches the specified Router resource with the data included in the request.
|
17614
|
+
# This method supports PATCH semantics and uses JSON merge patch format and
|
17615
|
+
# processing rules.
|
17237
17616
|
# @param [String] project
|
17238
17617
|
# Project ID for this request.
|
17239
|
-
# @param [String]
|
17240
|
-
# Name of the
|
17241
|
-
# @param [Google::Apis::ComputeV1::
|
17242
|
-
# @param [String] autoscaler
|
17243
|
-
# Name of the autoscaler to patch.
|
17618
|
+
# @param [String] public_advertised_prefix
|
17619
|
+
# Name of the PublicAdvertisedPrefix resource to patch.
|
17620
|
+
# @param [Google::Apis::ComputeV1::PublicAdvertisedPrefix] public_advertised_prefix_object
|
17244
17621
|
# @param [String] request_id
|
17245
17622
|
# An optional request ID to identify requests. Specify a unique request ID so
|
17246
17623
|
# that if you must retry your request, the server will know to ignore the
|
@@ -17271,15 +17648,14 @@ module Google
|
|
17271
17648
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17272
17649
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17273
17650
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17274
|
-
def
|
17275
|
-
command = make_simple_command(:patch, 'projects/{project}/
|
17276
|
-
command.request_representation = Google::Apis::ComputeV1::
|
17277
|
-
command.request_object =
|
17651
|
+
def patch_public_advertised_prefix(project, public_advertised_prefix, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17652
|
+
command = make_simple_command(:patch, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options)
|
17653
|
+
command.request_representation = Google::Apis::ComputeV1::PublicAdvertisedPrefix::Representation
|
17654
|
+
command.request_object = public_advertised_prefix_object
|
17278
17655
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17279
17656
|
command.response_class = Google::Apis::ComputeV1::Operation
|
17280
17657
|
command.params['project'] = project unless project.nil?
|
17281
|
-
command.params['
|
17282
|
-
command.query['autoscaler'] = autoscaler unless autoscaler.nil?
|
17658
|
+
command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
|
17283
17659
|
command.query['requestId'] = request_id unless request_id.nil?
|
17284
17660
|
command.query['fields'] = fields unless fields.nil?
|
17285
17661
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -17287,26 +17663,54 @@ module Google
|
|
17287
17663
|
execute_or_queue_command(command, &block)
|
17288
17664
|
end
|
17289
17665
|
|
17290
|
-
#
|
17291
|
-
#
|
17666
|
+
# Lists all PublicDelegatedPrefix resources owned by the specific project across
|
17667
|
+
# all scopes.
|
17292
17668
|
# @param [String] project
|
17293
|
-
#
|
17294
|
-
# @param [String]
|
17295
|
-
#
|
17296
|
-
#
|
17297
|
-
#
|
17298
|
-
#
|
17299
|
-
#
|
17300
|
-
#
|
17301
|
-
#
|
17302
|
-
#
|
17303
|
-
#
|
17304
|
-
#
|
17305
|
-
#
|
17306
|
-
#
|
17307
|
-
#
|
17308
|
-
#
|
17309
|
-
#
|
17669
|
+
# Name of the project scoping this request.
|
17670
|
+
# @param [String] filter
|
17671
|
+
# A filter expression that filters resources listed in the response. The
|
17672
|
+
# expression must specify the field name, a comparison operator, and the value
|
17673
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
17674
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
17675
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
17676
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
17677
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
17678
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
17679
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
17680
|
+
# on resource labels.
|
17681
|
+
# To filter on multiple expressions, provide each separate expression within
|
17682
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
17683
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
17684
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
17685
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
17686
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
17687
|
+
# @param [Boolean] include_all_scopes
|
17688
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
17689
|
+
# global) should be included in the response. For new resource types added after
|
17690
|
+
# this field, the flag has no effect as new resource types will always include
|
17691
|
+
# every visible scope for each scope type in response. For resource types which
|
17692
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
17693
|
+
# types where the resource type is expected to be found will be included.
|
17694
|
+
# @param [Fixnum] max_results
|
17695
|
+
# The maximum number of results per page that should be returned. If the number
|
17696
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
17697
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
17698
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
17699
|
+
# @param [String] order_by
|
17700
|
+
# Sorts list results by a certain order. By default, results are returned in
|
17701
|
+
# alphanumerical order based on the resource name.
|
17702
|
+
# You can also sort results in descending order based on the creation timestamp
|
17703
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
17704
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
17705
|
+
# Use this to sort resources like operations so that the newest operation is
|
17706
|
+
# returned first.
|
17707
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
17708
|
+
# @param [String] page_token
|
17709
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
17710
|
+
# by a previous list request to get the next page of results.
|
17711
|
+
# @param [Boolean] return_partial_success
|
17712
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
17713
|
+
# failure. The default value is false.
|
17310
17714
|
# @param [String] fields
|
17311
17715
|
# Selector specifying which fields to include in a partial response.
|
17312
17716
|
# @param [String] quota_user
|
@@ -17318,24 +17722,632 @@ module Google
|
|
17318
17722
|
# Request-specific options
|
17319
17723
|
#
|
17320
17724
|
# @yield [result, err] Result & error if block supplied
|
17321
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17725
|
+
# @yieldparam result [Google::Apis::ComputeV1::PublicDelegatedPrefixAggregatedList] parsed result object
|
17322
17726
|
# @yieldparam err [StandardError] error object if request failed
|
17323
17727
|
#
|
17324
|
-
# @return [Google::Apis::ComputeV1::
|
17728
|
+
# @return [Google::Apis::ComputeV1::PublicDelegatedPrefixAggregatedList]
|
17325
17729
|
#
|
17326
17730
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17327
17731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17328
17732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17329
|
-
def
|
17330
|
-
command = make_simple_command(:
|
17331
|
-
command.
|
17332
|
-
command.
|
17333
|
-
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17334
|
-
command.response_class = Google::Apis::ComputeV1::Operation
|
17733
|
+
def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17734
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/publicDelegatedPrefixes', options)
|
17735
|
+
command.response_representation = Google::Apis::ComputeV1::PublicDelegatedPrefixAggregatedList::Representation
|
17736
|
+
command.response_class = Google::Apis::ComputeV1::PublicDelegatedPrefixAggregatedList
|
17335
17737
|
command.params['project'] = project unless project.nil?
|
17336
|
-
command.
|
17337
|
-
command.query['
|
17338
|
-
command.query['
|
17738
|
+
command.query['filter'] = filter unless filter.nil?
|
17739
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
17740
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
17741
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
17742
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
17743
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
17744
|
+
command.query['fields'] = fields unless fields.nil?
|
17745
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17746
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17747
|
+
execute_or_queue_command(command, &block)
|
17748
|
+
end
|
17749
|
+
|
17750
|
+
# Deletes the specified PublicDelegatedPrefix in the given region.
|
17751
|
+
# @param [String] project
|
17752
|
+
# Project ID for this request.
|
17753
|
+
# @param [String] region
|
17754
|
+
# Name of the region of this request.
|
17755
|
+
# @param [String] public_delegated_prefix
|
17756
|
+
# Name of the PublicDelegatedPrefix resource to delete.
|
17757
|
+
# @param [String] request_id
|
17758
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
17759
|
+
# that if you must retry your request, the server will know to ignore the
|
17760
|
+
# request if it has already been completed.
|
17761
|
+
# For example, consider a situation where you make an initial request and the
|
17762
|
+
# request times out. If you make the request again with the same request ID, the
|
17763
|
+
# server can check if original operation with the same request ID was received,
|
17764
|
+
# and if so, will ignore the second request. This prevents clients from
|
17765
|
+
# accidentally creating duplicate commitments.
|
17766
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
17767
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
17768
|
+
# @param [String] fields
|
17769
|
+
# Selector specifying which fields to include in a partial response.
|
17770
|
+
# @param [String] quota_user
|
17771
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17772
|
+
# characters.
|
17773
|
+
# @param [String] user_ip
|
17774
|
+
# Deprecated. Please use quotaUser instead.
|
17775
|
+
# @param [Google::Apis::RequestOptions] options
|
17776
|
+
# Request-specific options
|
17777
|
+
#
|
17778
|
+
# @yield [result, err] Result & error if block supplied
|
17779
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
17780
|
+
# @yieldparam err [StandardError] error object if request failed
|
17781
|
+
#
|
17782
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
17783
|
+
#
|
17784
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17785
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17786
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17787
|
+
def delete_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17788
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options)
|
17789
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17790
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
17791
|
+
command.params['project'] = project unless project.nil?
|
17792
|
+
command.params['region'] = region unless region.nil?
|
17793
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
17794
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
17795
|
+
command.query['fields'] = fields unless fields.nil?
|
17796
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17797
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17798
|
+
execute_or_queue_command(command, &block)
|
17799
|
+
end
|
17800
|
+
|
17801
|
+
# Returns the specified PublicDelegatedPrefix resource in the given region.
|
17802
|
+
# @param [String] project
|
17803
|
+
# Project ID for this request.
|
17804
|
+
# @param [String] region
|
17805
|
+
# Name of the region of this request.
|
17806
|
+
# @param [String] public_delegated_prefix
|
17807
|
+
# Name of the PublicDelegatedPrefix resource to return.
|
17808
|
+
# @param [String] fields
|
17809
|
+
# Selector specifying which fields to include in a partial response.
|
17810
|
+
# @param [String] quota_user
|
17811
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17812
|
+
# characters.
|
17813
|
+
# @param [String] user_ip
|
17814
|
+
# Deprecated. Please use quotaUser instead.
|
17815
|
+
# @param [Google::Apis::RequestOptions] options
|
17816
|
+
# Request-specific options
|
17817
|
+
#
|
17818
|
+
# @yield [result, err] Result & error if block supplied
|
17819
|
+
# @yieldparam result [Google::Apis::ComputeV1::PublicDelegatedPrefix] parsed result object
|
17820
|
+
# @yieldparam err [StandardError] error object if request failed
|
17821
|
+
#
|
17822
|
+
# @return [Google::Apis::ComputeV1::PublicDelegatedPrefix]
|
17823
|
+
#
|
17824
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17825
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17826
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17827
|
+
def get_public_delegated_prefix(project, region, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17828
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options)
|
17829
|
+
command.response_representation = Google::Apis::ComputeV1::PublicDelegatedPrefix::Representation
|
17830
|
+
command.response_class = Google::Apis::ComputeV1::PublicDelegatedPrefix
|
17831
|
+
command.params['project'] = project unless project.nil?
|
17832
|
+
command.params['region'] = region unless region.nil?
|
17833
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
17834
|
+
command.query['fields'] = fields unless fields.nil?
|
17835
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17836
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17837
|
+
execute_or_queue_command(command, &block)
|
17838
|
+
end
|
17839
|
+
|
17840
|
+
# Creates a PublicDelegatedPrefix in the specified project in the given region
|
17841
|
+
# using the parameters that are included in the request.
|
17842
|
+
# @param [String] project
|
17843
|
+
# Project ID for this request.
|
17844
|
+
# @param [String] region
|
17845
|
+
# Name of the region of this request.
|
17846
|
+
# @param [Google::Apis::ComputeV1::PublicDelegatedPrefix] public_delegated_prefix_object
|
17847
|
+
# @param [String] request_id
|
17848
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
17849
|
+
# that if you must retry your request, the server will know to ignore the
|
17850
|
+
# request if it has already been completed.
|
17851
|
+
# For example, consider a situation where you make an initial request and the
|
17852
|
+
# request times out. If you make the request again with the same request ID, the
|
17853
|
+
# server can check if original operation with the same request ID was received,
|
17854
|
+
# and if so, will ignore the second request. This prevents clients from
|
17855
|
+
# accidentally creating duplicate commitments.
|
17856
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
17857
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
17858
|
+
# @param [String] fields
|
17859
|
+
# Selector specifying which fields to include in a partial response.
|
17860
|
+
# @param [String] quota_user
|
17861
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17862
|
+
# characters.
|
17863
|
+
# @param [String] user_ip
|
17864
|
+
# Deprecated. Please use quotaUser instead.
|
17865
|
+
# @param [Google::Apis::RequestOptions] options
|
17866
|
+
# Request-specific options
|
17867
|
+
#
|
17868
|
+
# @yield [result, err] Result & error if block supplied
|
17869
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
17870
|
+
# @yieldparam err [StandardError] error object if request failed
|
17871
|
+
#
|
17872
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
17873
|
+
#
|
17874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17877
|
+
def insert_public_delegated_prefix(project, region, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17878
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes', options)
|
17879
|
+
command.request_representation = Google::Apis::ComputeV1::PublicDelegatedPrefix::Representation
|
17880
|
+
command.request_object = public_delegated_prefix_object
|
17881
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17882
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
17883
|
+
command.params['project'] = project unless project.nil?
|
17884
|
+
command.params['region'] = region unless region.nil?
|
17885
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
17886
|
+
command.query['fields'] = fields unless fields.nil?
|
17887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17888
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17889
|
+
execute_or_queue_command(command, &block)
|
17890
|
+
end
|
17891
|
+
|
17892
|
+
# Lists the PublicDelegatedPrefixes for a project in the given region.
|
17893
|
+
# @param [String] project
|
17894
|
+
# Project ID for this request.
|
17895
|
+
# @param [String] region
|
17896
|
+
# Name of the region of this request.
|
17897
|
+
# @param [String] filter
|
17898
|
+
# A filter expression that filters resources listed in the response. The
|
17899
|
+
# expression must specify the field name, a comparison operator, and the value
|
17900
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
17901
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
17902
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
17903
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
17904
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
17905
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
17906
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
17907
|
+
# on resource labels.
|
17908
|
+
# To filter on multiple expressions, provide each separate expression within
|
17909
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
17910
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
17911
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
17912
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
17913
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
17914
|
+
# @param [Fixnum] max_results
|
17915
|
+
# The maximum number of results per page that should be returned. If the number
|
17916
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
17917
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
17918
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
17919
|
+
# @param [String] order_by
|
17920
|
+
# Sorts list results by a certain order. By default, results are returned in
|
17921
|
+
# alphanumerical order based on the resource name.
|
17922
|
+
# You can also sort results in descending order based on the creation timestamp
|
17923
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
17924
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
17925
|
+
# Use this to sort resources like operations so that the newest operation is
|
17926
|
+
# returned first.
|
17927
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
17928
|
+
# @param [String] page_token
|
17929
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
17930
|
+
# by a previous list request to get the next page of results.
|
17931
|
+
# @param [Boolean] return_partial_success
|
17932
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
17933
|
+
# failure. The default value is false.
|
17934
|
+
# @param [String] fields
|
17935
|
+
# Selector specifying which fields to include in a partial response.
|
17936
|
+
# @param [String] quota_user
|
17937
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17938
|
+
# characters.
|
17939
|
+
# @param [String] user_ip
|
17940
|
+
# Deprecated. Please use quotaUser instead.
|
17941
|
+
# @param [Google::Apis::RequestOptions] options
|
17942
|
+
# Request-specific options
|
17943
|
+
#
|
17944
|
+
# @yield [result, err] Result & error if block supplied
|
17945
|
+
# @yieldparam result [Google::Apis::ComputeV1::PublicDelegatedPrefixList] parsed result object
|
17946
|
+
# @yieldparam err [StandardError] error object if request failed
|
17947
|
+
#
|
17948
|
+
# @return [Google::Apis::ComputeV1::PublicDelegatedPrefixList]
|
17949
|
+
#
|
17950
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17951
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17952
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17953
|
+
def list_public_delegated_prefixes(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)
|
17954
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/publicDelegatedPrefixes', options)
|
17955
|
+
command.response_representation = Google::Apis::ComputeV1::PublicDelegatedPrefixList::Representation
|
17956
|
+
command.response_class = Google::Apis::ComputeV1::PublicDelegatedPrefixList
|
17957
|
+
command.params['project'] = project unless project.nil?
|
17958
|
+
command.params['region'] = region unless region.nil?
|
17959
|
+
command.query['filter'] = filter unless filter.nil?
|
17960
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
17961
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
17962
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
17963
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
17964
|
+
command.query['fields'] = fields unless fields.nil?
|
17965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17966
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17967
|
+
execute_or_queue_command(command, &block)
|
17968
|
+
end
|
17969
|
+
|
17970
|
+
# Patches the specified PublicDelegatedPrefix resource with the data included in
|
17971
|
+
# the request. This method supports PATCH semantics and uses JSON merge patch
|
17972
|
+
# format and processing rules.
|
17973
|
+
# @param [String] project
|
17974
|
+
# Project ID for this request.
|
17975
|
+
# @param [String] region
|
17976
|
+
# Name of the region for this request.
|
17977
|
+
# @param [String] public_delegated_prefix
|
17978
|
+
# Name of the PublicDelegatedPrefix resource to patch.
|
17979
|
+
# @param [Google::Apis::ComputeV1::PublicDelegatedPrefix] public_delegated_prefix_object
|
17980
|
+
# @param [String] request_id
|
17981
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
17982
|
+
# that if you must retry your request, the server will know to ignore the
|
17983
|
+
# request if it has already been completed.
|
17984
|
+
# For example, consider a situation where you make an initial request and the
|
17985
|
+
# request times out. If you make the request again with the same request ID, the
|
17986
|
+
# server can check if original operation with the same request ID was received,
|
17987
|
+
# and if so, will ignore the second request. This prevents clients from
|
17988
|
+
# accidentally creating duplicate commitments.
|
17989
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
17990
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
17991
|
+
# @param [String] fields
|
17992
|
+
# Selector specifying which fields to include in a partial response.
|
17993
|
+
# @param [String] quota_user
|
17994
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17995
|
+
# characters.
|
17996
|
+
# @param [String] user_ip
|
17997
|
+
# Deprecated. Please use quotaUser instead.
|
17998
|
+
# @param [Google::Apis::RequestOptions] options
|
17999
|
+
# Request-specific options
|
18000
|
+
#
|
18001
|
+
# @yield [result, err] Result & error if block supplied
|
18002
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
18003
|
+
# @yieldparam err [StandardError] error object if request failed
|
18004
|
+
#
|
18005
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
18006
|
+
#
|
18007
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18008
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18009
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18010
|
+
def patch_public_delegated_prefix(project, region, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18011
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options)
|
18012
|
+
command.request_representation = Google::Apis::ComputeV1::PublicDelegatedPrefix::Representation
|
18013
|
+
command.request_object = public_delegated_prefix_object
|
18014
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
18015
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
18016
|
+
command.params['project'] = project unless project.nil?
|
18017
|
+
command.params['region'] = region unless region.nil?
|
18018
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
18019
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
18020
|
+
command.query['fields'] = fields unless fields.nil?
|
18021
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18022
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18023
|
+
execute_or_queue_command(command, &block)
|
18024
|
+
end
|
18025
|
+
|
18026
|
+
# Deletes the specified autoscaler.
|
18027
|
+
# @param [String] project
|
18028
|
+
# Project ID for this request.
|
18029
|
+
# @param [String] region
|
18030
|
+
# Name of the region scoping this request.
|
18031
|
+
# @param [String] autoscaler
|
18032
|
+
# Name of the autoscaler to delete.
|
18033
|
+
# @param [String] request_id
|
18034
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
18035
|
+
# that if you must retry your request, the server will know to ignore the
|
18036
|
+
# request if it has already been completed.
|
18037
|
+
# For example, consider a situation where you make an initial request and the
|
18038
|
+
# request times out. If you make the request again with the same request ID, the
|
18039
|
+
# server can check if original operation with the same request ID was received,
|
18040
|
+
# and if so, will ignore the second request. This prevents clients from
|
18041
|
+
# accidentally creating duplicate commitments.
|
18042
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
18043
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
18044
|
+
# @param [String] fields
|
18045
|
+
# Selector specifying which fields to include in a partial response.
|
18046
|
+
# @param [String] quota_user
|
18047
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
18048
|
+
# characters.
|
18049
|
+
# @param [String] user_ip
|
18050
|
+
# Deprecated. Please use quotaUser instead.
|
18051
|
+
# @param [Google::Apis::RequestOptions] options
|
18052
|
+
# Request-specific options
|
18053
|
+
#
|
18054
|
+
# @yield [result, err] Result & error if block supplied
|
18055
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
18056
|
+
# @yieldparam err [StandardError] error object if request failed
|
18057
|
+
#
|
18058
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
18059
|
+
#
|
18060
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18061
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18062
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18063
|
+
def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18064
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options)
|
18065
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
18066
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
18067
|
+
command.params['project'] = project unless project.nil?
|
18068
|
+
command.params['region'] = region unless region.nil?
|
18069
|
+
command.params['autoscaler'] = autoscaler unless autoscaler.nil?
|
18070
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
18071
|
+
command.query['fields'] = fields unless fields.nil?
|
18072
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18073
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18074
|
+
execute_or_queue_command(command, &block)
|
18075
|
+
end
|
18076
|
+
|
18077
|
+
# Returns the specified autoscaler.
|
18078
|
+
# @param [String] project
|
18079
|
+
# Project ID for this request.
|
18080
|
+
# @param [String] region
|
18081
|
+
# Name of the region scoping this request.
|
18082
|
+
# @param [String] autoscaler
|
18083
|
+
# Name of the autoscaler to return.
|
18084
|
+
# @param [String] fields
|
18085
|
+
# Selector specifying which fields to include in a partial response.
|
18086
|
+
# @param [String] quota_user
|
18087
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
18088
|
+
# characters.
|
18089
|
+
# @param [String] user_ip
|
18090
|
+
# Deprecated. Please use quotaUser instead.
|
18091
|
+
# @param [Google::Apis::RequestOptions] options
|
18092
|
+
# Request-specific options
|
18093
|
+
#
|
18094
|
+
# @yield [result, err] Result & error if block supplied
|
18095
|
+
# @yieldparam result [Google::Apis::ComputeV1::Autoscaler] parsed result object
|
18096
|
+
# @yieldparam err [StandardError] error object if request failed
|
18097
|
+
#
|
18098
|
+
# @return [Google::Apis::ComputeV1::Autoscaler]
|
18099
|
+
#
|
18100
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18101
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18102
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18103
|
+
def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18104
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options)
|
18105
|
+
command.response_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
18106
|
+
command.response_class = Google::Apis::ComputeV1::Autoscaler
|
18107
|
+
command.params['project'] = project unless project.nil?
|
18108
|
+
command.params['region'] = region unless region.nil?
|
18109
|
+
command.params['autoscaler'] = autoscaler unless autoscaler.nil?
|
18110
|
+
command.query['fields'] = fields unless fields.nil?
|
18111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18112
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18113
|
+
execute_or_queue_command(command, &block)
|
18114
|
+
end
|
18115
|
+
|
18116
|
+
# Creates an autoscaler in the specified project using the data included in the
|
18117
|
+
# request.
|
18118
|
+
# @param [String] project
|
18119
|
+
# Project ID for this request.
|
18120
|
+
# @param [String] region
|
18121
|
+
# Name of the region scoping this request.
|
18122
|
+
# @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object
|
18123
|
+
# @param [String] request_id
|
18124
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
18125
|
+
# that if you must retry your request, the server will know to ignore the
|
18126
|
+
# request if it has already been completed.
|
18127
|
+
# For example, consider a situation where you make an initial request and the
|
18128
|
+
# request times out. If you make the request again with the same request ID, the
|
18129
|
+
# server can check if original operation with the same request ID was received,
|
18130
|
+
# and if so, will ignore the second request. This prevents clients from
|
18131
|
+
# accidentally creating duplicate commitments.
|
18132
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
18133
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
18134
|
+
# @param [String] fields
|
18135
|
+
# Selector specifying which fields to include in a partial response.
|
18136
|
+
# @param [String] quota_user
|
18137
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
18138
|
+
# characters.
|
18139
|
+
# @param [String] user_ip
|
18140
|
+
# Deprecated. Please use quotaUser instead.
|
18141
|
+
# @param [Google::Apis::RequestOptions] options
|
18142
|
+
# Request-specific options
|
18143
|
+
#
|
18144
|
+
# @yield [result, err] Result & error if block supplied
|
18145
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
18146
|
+
# @yieldparam err [StandardError] error object if request failed
|
18147
|
+
#
|
18148
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
18149
|
+
#
|
18150
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18151
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18152
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18153
|
+
def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18154
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers', options)
|
18155
|
+
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
18156
|
+
command.request_object = autoscaler_object
|
18157
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
18158
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
18159
|
+
command.params['project'] = project unless project.nil?
|
18160
|
+
command.params['region'] = region unless region.nil?
|
18161
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
18162
|
+
command.query['fields'] = fields unless fields.nil?
|
18163
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18164
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18165
|
+
execute_or_queue_command(command, &block)
|
18166
|
+
end
|
18167
|
+
|
18168
|
+
# Retrieves a list of autoscalers contained within the specified region.
|
18169
|
+
# @param [String] project
|
18170
|
+
# Project ID for this request.
|
18171
|
+
# @param [String] region
|
18172
|
+
# Name of the region scoping this request.
|
18173
|
+
# @param [String] filter
|
18174
|
+
# A filter expression that filters resources listed in the response. The
|
18175
|
+
# expression must specify the field name, a comparison operator, and the value
|
18176
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
18177
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
18178
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
18179
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
18180
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
18181
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
18182
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
18183
|
+
# on resource labels.
|
18184
|
+
# To filter on multiple expressions, provide each separate expression within
|
18185
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
18186
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
18187
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
18188
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
18189
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
18190
|
+
# @param [Fixnum] max_results
|
18191
|
+
# The maximum number of results per page that should be returned. If the number
|
18192
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
18193
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
18194
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
18195
|
+
# @param [String] order_by
|
18196
|
+
# Sorts list results by a certain order. By default, results are returned in
|
18197
|
+
# alphanumerical order based on the resource name.
|
18198
|
+
# You can also sort results in descending order based on the creation timestamp
|
18199
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
18200
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
18201
|
+
# Use this to sort resources like operations so that the newest operation is
|
18202
|
+
# returned first.
|
18203
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
18204
|
+
# @param [String] page_token
|
18205
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
18206
|
+
# by a previous list request to get the next page of results.
|
18207
|
+
# @param [Boolean] return_partial_success
|
18208
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
18209
|
+
# failure. The default value is false.
|
18210
|
+
# @param [String] fields
|
18211
|
+
# Selector specifying which fields to include in a partial response.
|
18212
|
+
# @param [String] quota_user
|
18213
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
18214
|
+
# characters.
|
18215
|
+
# @param [String] user_ip
|
18216
|
+
# Deprecated. Please use quotaUser instead.
|
18217
|
+
# @param [Google::Apis::RequestOptions] options
|
18218
|
+
# Request-specific options
|
18219
|
+
#
|
18220
|
+
# @yield [result, err] Result & error if block supplied
|
18221
|
+
# @yieldparam result [Google::Apis::ComputeV1::RegionAutoscalerList] parsed result object
|
18222
|
+
# @yieldparam err [StandardError] error object if request failed
|
18223
|
+
#
|
18224
|
+
# @return [Google::Apis::ComputeV1::RegionAutoscalerList]
|
18225
|
+
#
|
18226
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18227
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18228
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18229
|
+
def list_region_autoscalers(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)
|
18230
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers', options)
|
18231
|
+
command.response_representation = Google::Apis::ComputeV1::RegionAutoscalerList::Representation
|
18232
|
+
command.response_class = Google::Apis::ComputeV1::RegionAutoscalerList
|
18233
|
+
command.params['project'] = project unless project.nil?
|
18234
|
+
command.params['region'] = region unless region.nil?
|
18235
|
+
command.query['filter'] = filter unless filter.nil?
|
18236
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
18237
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
18238
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
18239
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
18240
|
+
command.query['fields'] = fields unless fields.nil?
|
18241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18242
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18243
|
+
execute_or_queue_command(command, &block)
|
18244
|
+
end
|
18245
|
+
|
18246
|
+
# Updates an autoscaler in the specified project using the data included in the
|
18247
|
+
# request. This method supports PATCH semantics and uses the JSON merge patch
|
18248
|
+
# format and processing rules.
|
18249
|
+
# @param [String] project
|
18250
|
+
# Project ID for this request.
|
18251
|
+
# @param [String] region
|
18252
|
+
# Name of the region scoping this request.
|
18253
|
+
# @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object
|
18254
|
+
# @param [String] autoscaler
|
18255
|
+
# Name of the autoscaler to patch.
|
18256
|
+
# @param [String] request_id
|
18257
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
18258
|
+
# that if you must retry your request, the server will know to ignore the
|
18259
|
+
# request if it has already been completed.
|
18260
|
+
# For example, consider a situation where you make an initial request and the
|
18261
|
+
# request times out. If you make the request again with the same request ID, the
|
18262
|
+
# server can check if original operation with the same request ID was received,
|
18263
|
+
# and if so, will ignore the second request. This prevents clients from
|
18264
|
+
# accidentally creating duplicate commitments.
|
18265
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
18266
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
18267
|
+
# @param [String] fields
|
18268
|
+
# Selector specifying which fields to include in a partial response.
|
18269
|
+
# @param [String] quota_user
|
18270
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
18271
|
+
# characters.
|
18272
|
+
# @param [String] user_ip
|
18273
|
+
# Deprecated. Please use quotaUser instead.
|
18274
|
+
# @param [Google::Apis::RequestOptions] options
|
18275
|
+
# Request-specific options
|
18276
|
+
#
|
18277
|
+
# @yield [result, err] Result & error if block supplied
|
18278
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
18279
|
+
# @yieldparam err [StandardError] error object if request failed
|
18280
|
+
#
|
18281
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
18282
|
+
#
|
18283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18286
|
+
def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18287
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/autoscalers', options)
|
18288
|
+
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
18289
|
+
command.request_object = autoscaler_object
|
18290
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
18291
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
18292
|
+
command.params['project'] = project unless project.nil?
|
18293
|
+
command.params['region'] = region unless region.nil?
|
18294
|
+
command.query['autoscaler'] = autoscaler unless autoscaler.nil?
|
18295
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
18296
|
+
command.query['fields'] = fields unless fields.nil?
|
18297
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18298
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18299
|
+
execute_or_queue_command(command, &block)
|
18300
|
+
end
|
18301
|
+
|
18302
|
+
# Updates an autoscaler in the specified project using the data included in the
|
18303
|
+
# request.
|
18304
|
+
# @param [String] project
|
18305
|
+
# Project ID for this request.
|
18306
|
+
# @param [String] region
|
18307
|
+
# Name of the region scoping this request.
|
18308
|
+
# @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object
|
18309
|
+
# @param [String] autoscaler
|
18310
|
+
# Name of the autoscaler to update.
|
18311
|
+
# @param [String] request_id
|
18312
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
18313
|
+
# that if you must retry your request, the server will know to ignore the
|
18314
|
+
# request if it has already been completed.
|
18315
|
+
# For example, consider a situation where you make an initial request and the
|
18316
|
+
# request times out. If you make the request again with the same request ID, the
|
18317
|
+
# server can check if original operation with the same request ID was received,
|
18318
|
+
# and if so, will ignore the second request. This prevents clients from
|
18319
|
+
# accidentally creating duplicate commitments.
|
18320
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
18321
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
18322
|
+
# @param [String] fields
|
18323
|
+
# Selector specifying which fields to include in a partial response.
|
18324
|
+
# @param [String] quota_user
|
18325
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
18326
|
+
# characters.
|
18327
|
+
# @param [String] user_ip
|
18328
|
+
# Deprecated. Please use quotaUser instead.
|
18329
|
+
# @param [Google::Apis::RequestOptions] options
|
18330
|
+
# Request-specific options
|
18331
|
+
#
|
18332
|
+
# @yield [result, err] Result & error if block supplied
|
18333
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
18334
|
+
# @yieldparam err [StandardError] error object if request failed
|
18335
|
+
#
|
18336
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
18337
|
+
#
|
18338
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18339
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18340
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18341
|
+
def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18342
|
+
command = make_simple_command(:put, 'projects/{project}/regions/{region}/autoscalers', options)
|
18343
|
+
command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation
|
18344
|
+
command.request_object = autoscaler_object
|
18345
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
18346
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
18347
|
+
command.params['project'] = project unless project.nil?
|
18348
|
+
command.params['region'] = region unless region.nil?
|
18349
|
+
command.query['autoscaler'] = autoscaler unless autoscaler.nil?
|
18350
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
17339
18351
|
command.query['fields'] = fields unless fields.nil?
|
17340
18352
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17341
18353
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -17568,7 +18580,7 @@ module Google
|
|
17568
18580
|
# by a previous list request to get the next page of results.
|
17569
18581
|
# @param [Boolean] return_partial_success
|
17570
18582
|
# Opt-in for partial success behavior which provides partial results in case of
|
17571
|
-
# failure. The default value is false
|
18583
|
+
# failure. The default value is false.
|
17572
18584
|
# @param [String] fields
|
17573
18585
|
# Selector specifying which fields to include in a partial response.
|
17574
18586
|
# @param [String] quota_user
|
@@ -17763,7 +18775,7 @@ module Google
|
|
17763
18775
|
# by a previous list request to get the next page of results.
|
17764
18776
|
# @param [Boolean] return_partial_success
|
17765
18777
|
# Opt-in for partial success behavior which provides partial results in case of
|
17766
|
-
# failure. The default value is false
|
18778
|
+
# failure. The default value is false.
|
17767
18779
|
# @param [String] fields
|
17768
18780
|
# Selector specifying which fields to include in a partial response.
|
17769
18781
|
# @param [String] quota_user
|
@@ -17933,7 +18945,7 @@ module Google
|
|
17933
18945
|
# by a previous list request to get the next page of results.
|
17934
18946
|
# @param [Boolean] return_partial_success
|
17935
18947
|
# Opt-in for partial success behavior which provides partial results in case of
|
17936
|
-
# failure. The default value is false
|
18948
|
+
# failure. The default value is false.
|
17937
18949
|
# @param [String] fields
|
17938
18950
|
# Selector specifying which fields to include in a partial response.
|
17939
18951
|
# @param [String] quota_user
|
@@ -18051,7 +19063,7 @@ module Google
|
|
18051
19063
|
# by a previous list request to get the next page of results.
|
18052
19064
|
# @param [Boolean] return_partial_success
|
18053
19065
|
# Opt-in for partial success behavior which provides partial results in case of
|
18054
|
-
# failure. The default value is false
|
19066
|
+
# failure. The default value is false.
|
18055
19067
|
# @param [String] fields
|
18056
19068
|
# Selector specifying which fields to include in a partial response.
|
18057
19069
|
# @param [String] quota_user
|
@@ -18429,7 +19441,7 @@ module Google
|
|
18429
19441
|
# by a previous list request to get the next page of results.
|
18430
19442
|
# @param [Boolean] return_partial_success
|
18431
19443
|
# Opt-in for partial success behavior which provides partial results in case of
|
18432
|
-
# failure. The default value is false
|
19444
|
+
# failure. The default value is false.
|
18433
19445
|
# @param [String] fields
|
18434
19446
|
# Selector specifying which fields to include in a partial response.
|
18435
19447
|
# @param [String] quota_user
|
@@ -18899,7 +19911,7 @@ module Google
|
|
18899
19911
|
# by a previous list request to get the next page of results.
|
18900
19912
|
# @param [Boolean] return_partial_success
|
18901
19913
|
# Opt-in for partial success behavior which provides partial results in case of
|
18902
|
-
# failure. The default value is false
|
19914
|
+
# failure. The default value is false.
|
18903
19915
|
# @param [String] fields
|
18904
19916
|
# Selector specifying which fields to include in a partial response.
|
18905
19917
|
# @param [String] quota_user
|
@@ -19177,7 +20189,7 @@ module Google
|
|
19177
20189
|
# by a previous list request to get the next page of results.
|
19178
20190
|
# @param [Boolean] return_partial_success
|
19179
20191
|
# Opt-in for partial success behavior which provides partial results in case of
|
19180
|
-
# failure. The default value is false
|
20192
|
+
# failure. The default value is false.
|
19181
20193
|
# @param [String] fields
|
19182
20194
|
# Selector specifying which fields to include in a partial response.
|
19183
20195
|
# @param [String] quota_user
|
@@ -19787,7 +20799,7 @@ module Google
|
|
19787
20799
|
# by a previous list request to get the next page of results.
|
19788
20800
|
# @param [Boolean] return_partial_success
|
19789
20801
|
# Opt-in for partial success behavior which provides partial results in case of
|
19790
|
-
# failure. The default value is false
|
20802
|
+
# failure. The default value is false.
|
19791
20803
|
# @param [String] fields
|
19792
20804
|
# Selector specifying which fields to include in a partial response.
|
19793
20805
|
# @param [String] quota_user
|
@@ -19870,7 +20882,7 @@ module Google
|
|
19870
20882
|
# by a previous list request to get the next page of results.
|
19871
20883
|
# @param [Boolean] return_partial_success
|
19872
20884
|
# Opt-in for partial success behavior which provides partial results in case of
|
19873
|
-
# failure. The default value is false
|
20885
|
+
# failure. The default value is false.
|
19874
20886
|
# @param [String] fields
|
19875
20887
|
# Selector specifying which fields to include in a partial response.
|
19876
20888
|
# @param [String] quota_user
|
@@ -19953,7 +20965,7 @@ module Google
|
|
19953
20965
|
# by a previous list request to get the next page of results.
|
19954
20966
|
# @param [Boolean] return_partial_success
|
19955
20967
|
# Opt-in for partial success behavior which provides partial results in case of
|
19956
|
-
# failure. The default value is false
|
20968
|
+
# failure. The default value is false.
|
19957
20969
|
# @param [String] fields
|
19958
20970
|
# Selector specifying which fields to include in a partial response.
|
19959
20971
|
# @param [String] quota_user
|
@@ -20035,7 +21047,7 @@ module Google
|
|
20035
21047
|
# by a previous list request to get the next page of results.
|
20036
21048
|
# @param [Boolean] return_partial_success
|
20037
21049
|
# Opt-in for partial success behavior which provides partial results in case of
|
20038
|
-
# failure. The default value is false
|
21050
|
+
# failure. The default value is false.
|
20039
21051
|
# @param [String] fields
|
20040
21052
|
# Selector specifying which fields to include in a partial response.
|
20041
21053
|
# @param [String] quota_user
|
@@ -20560,7 +21572,7 @@ module Google
|
|
20560
21572
|
# by a previous list request to get the next page of results.
|
20561
21573
|
# @param [Boolean] return_partial_success
|
20562
21574
|
# Opt-in for partial success behavior which provides partial results in case of
|
20563
|
-
# failure. The default value is false
|
21575
|
+
# failure. The default value is false.
|
20564
21576
|
# @param [String] fields
|
20565
21577
|
# Selector specifying which fields to include in a partial response.
|
20566
21578
|
# @param [String] quota_user
|
@@ -20644,7 +21656,7 @@ module Google
|
|
20644
21656
|
# by a previous list request to get the next page of results.
|
20645
21657
|
# @param [Boolean] return_partial_success
|
20646
21658
|
# Opt-in for partial success behavior which provides partial results in case of
|
20647
|
-
# failure. The default value is false
|
21659
|
+
# failure. The default value is false.
|
20648
21660
|
# @param [String] fields
|
20649
21661
|
# Selector specifying which fields to include in a partial response.
|
20650
21662
|
# @param [String] quota_user
|
@@ -20738,6 +21750,58 @@ module Google
|
|
20738
21750
|
execute_or_queue_command(command, &block)
|
20739
21751
|
end
|
20740
21752
|
|
21753
|
+
# Creates multiple instances in a given region. Count specifies the number of
|
21754
|
+
# instances to create.
|
21755
|
+
# @param [String] project
|
21756
|
+
# Project ID for this request.
|
21757
|
+
# @param [String] region
|
21758
|
+
# The name of the region for this request.
|
21759
|
+
# @param [Google::Apis::ComputeV1::BulkInsertInstanceResource] bulk_insert_instance_resource_object
|
21760
|
+
# @param [String] request_id
|
21761
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
21762
|
+
# that if you must retry your request, the server will know to ignore the
|
21763
|
+
# request if it has already been completed.
|
21764
|
+
# For example, consider a situation where you make an initial request and the
|
21765
|
+
# request times out. If you make the request again with the same request ID, the
|
21766
|
+
# server can check if original operation with the same request ID was received,
|
21767
|
+
# and if so, will ignore the second request. This prevents clients from
|
21768
|
+
# accidentally creating duplicate commitments.
|
21769
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
21770
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
21771
|
+
# @param [String] fields
|
21772
|
+
# Selector specifying which fields to include in a partial response.
|
21773
|
+
# @param [String] quota_user
|
21774
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
21775
|
+
# characters.
|
21776
|
+
# @param [String] user_ip
|
21777
|
+
# Deprecated. Please use quotaUser instead.
|
21778
|
+
# @param [Google::Apis::RequestOptions] options
|
21779
|
+
# Request-specific options
|
21780
|
+
#
|
21781
|
+
# @yield [result, err] Result & error if block supplied
|
21782
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
21783
|
+
# @yieldparam err [StandardError] error object if request failed
|
21784
|
+
#
|
21785
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
21786
|
+
#
|
21787
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21788
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21789
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21790
|
+
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)
|
21791
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instances/bulkInsert', options)
|
21792
|
+
command.request_representation = Google::Apis::ComputeV1::BulkInsertInstanceResource::Representation
|
21793
|
+
command.request_object = bulk_insert_instance_resource_object
|
21794
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
21795
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
21796
|
+
command.params['project'] = project unless project.nil?
|
21797
|
+
command.params['region'] = region unless region.nil?
|
21798
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
21799
|
+
command.query['fields'] = fields unless fields.nil?
|
21800
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21801
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21802
|
+
execute_or_queue_command(command, &block)
|
21803
|
+
end
|
21804
|
+
|
20741
21805
|
# Deletes the specified network endpoint group. Note that the NEG cannot be
|
20742
21806
|
# deleted if it is configured as a backend of a backend service.
|
20743
21807
|
# @param [String] project
|
@@ -20929,7 +21993,7 @@ module Google
|
|
20929
21993
|
# by a previous list request to get the next page of results.
|
20930
21994
|
# @param [Boolean] return_partial_success
|
20931
21995
|
# Opt-in for partial success behavior which provides partial results in case of
|
20932
|
-
# failure. The default value is false
|
21996
|
+
# failure. The default value is false.
|
20933
21997
|
# @param [String] fields
|
20934
21998
|
# Selector specifying which fields to include in a partial response.
|
20935
21999
|
# @param [String] quota_user
|
@@ -21149,7 +22213,7 @@ module Google
|
|
21149
22213
|
# by a previous list request to get the next page of results.
|
21150
22214
|
# @param [Boolean] return_partial_success
|
21151
22215
|
# Opt-in for partial success behavior which provides partial results in case of
|
21152
|
-
# failure. The default value is false
|
22216
|
+
# failure. The default value is false.
|
21153
22217
|
# @param [String] fields
|
21154
22218
|
# Selector specifying which fields to include in a partial response.
|
21155
22219
|
# @param [String] quota_user
|
@@ -21303,7 +22367,7 @@ module Google
|
|
21303
22367
|
# by a previous list request to get the next page of results.
|
21304
22368
|
# @param [Boolean] return_partial_success
|
21305
22369
|
# Opt-in for partial success behavior which provides partial results in case of
|
21306
|
-
# failure. The default value is false
|
22370
|
+
# failure. The default value is false.
|
21307
22371
|
# @param [String] fields
|
21308
22372
|
# Selector specifying which fields to include in a partial response.
|
21309
22373
|
# @param [String] quota_user
|
@@ -21574,7 +22638,7 @@ module Google
|
|
21574
22638
|
# by a previous list request to get the next page of results.
|
21575
22639
|
# @param [Boolean] return_partial_success
|
21576
22640
|
# Opt-in for partial success behavior which provides partial results in case of
|
21577
|
-
# failure. The default value is false
|
22641
|
+
# failure. The default value is false.
|
21578
22642
|
# @param [String] fields
|
21579
22643
|
# Selector specifying which fields to include in a partial response.
|
21580
22644
|
# @param [String] quota_user
|
@@ -21796,7 +22860,7 @@ module Google
|
|
21796
22860
|
# by a previous list request to get the next page of results.
|
21797
22861
|
# @param [Boolean] return_partial_success
|
21798
22862
|
# Opt-in for partial success behavior which provides partial results in case of
|
21799
|
-
# failure. The default value is false
|
22863
|
+
# failure. The default value is false.
|
21800
22864
|
# @param [String] fields
|
21801
22865
|
# Selector specifying which fields to include in a partial response.
|
21802
22866
|
# @param [String] quota_user
|
@@ -22072,7 +23136,7 @@ module Google
|
|
22072
23136
|
# by a previous list request to get the next page of results.
|
22073
23137
|
# @param [Boolean] return_partial_success
|
22074
23138
|
# Opt-in for partial success behavior which provides partial results in case of
|
22075
|
-
# failure. The default value is false
|
23139
|
+
# failure. The default value is false.
|
22076
23140
|
# @param [String] fields
|
22077
23141
|
# Selector specifying which fields to include in a partial response.
|
22078
23142
|
# @param [String] quota_user
|
@@ -22384,7 +23448,7 @@ module Google
|
|
22384
23448
|
# by a previous list request to get the next page of results.
|
22385
23449
|
# @param [Boolean] return_partial_success
|
22386
23450
|
# Opt-in for partial success behavior which provides partial results in case of
|
22387
|
-
# failure. The default value is false
|
23451
|
+
# failure. The default value is false.
|
22388
23452
|
# @param [String] fields
|
22389
23453
|
# Selector specifying which fields to include in a partial response.
|
22390
23454
|
# @param [String] quota_user
|
@@ -22632,7 +23696,7 @@ module Google
|
|
22632
23696
|
# by a previous list request to get the next page of results.
|
22633
23697
|
# @param [Boolean] return_partial_success
|
22634
23698
|
# Opt-in for partial success behavior which provides partial results in case of
|
22635
|
-
# failure. The default value is false
|
23699
|
+
# failure. The default value is false.
|
22636
23700
|
# @param [String] fields
|
22637
23701
|
# Selector specifying which fields to include in a partial response.
|
22638
23702
|
# @param [String] quota_user
|
@@ -22714,7 +23778,7 @@ module Google
|
|
22714
23778
|
# by a previous list request to get the next page of results.
|
22715
23779
|
# @param [Boolean] return_partial_success
|
22716
23780
|
# Opt-in for partial success behavior which provides partial results in case of
|
22717
|
-
# failure. The default value is false
|
23781
|
+
# failure. The default value is false.
|
22718
23782
|
# @param [String] fields
|
22719
23783
|
# Selector specifying which fields to include in a partial response.
|
22720
23784
|
# @param [String] quota_user
|
@@ -22978,7 +24042,7 @@ module Google
|
|
22978
24042
|
# by a previous list request to get the next page of results.
|
22979
24043
|
# @param [Boolean] return_partial_success
|
22980
24044
|
# Opt-in for partial success behavior which provides partial results in case of
|
22981
|
-
# failure. The default value is false
|
24045
|
+
# failure. The default value is false.
|
22982
24046
|
# @param [String] fields
|
22983
24047
|
# Selector specifying which fields to include in a partial response.
|
22984
24048
|
# @param [String] quota_user
|
@@ -23201,7 +24265,7 @@ module Google
|
|
23201
24265
|
# by a previous list request to get the next page of results.
|
23202
24266
|
# @param [Boolean] return_partial_success
|
23203
24267
|
# Opt-in for partial success behavior which provides partial results in case of
|
23204
|
-
# failure. The default value is false
|
24268
|
+
# failure. The default value is false.
|
23205
24269
|
# @param [String] fields
|
23206
24270
|
# Selector specifying which fields to include in a partial response.
|
23207
24271
|
# @param [String] quota_user
|
@@ -23464,7 +24528,7 @@ module Google
|
|
23464
24528
|
# by a previous list request to get the next page of results.
|
23465
24529
|
# @param [Boolean] return_partial_success
|
23466
24530
|
# Opt-in for partial success behavior which provides partial results in case of
|
23467
|
-
# failure. The default value is false
|
24531
|
+
# failure. The default value is false.
|
23468
24532
|
# @param [String] fields
|
23469
24533
|
# Selector specifying which fields to include in a partial response.
|
23470
24534
|
# @param [String] quota_user
|
@@ -23632,7 +24696,7 @@ module Google
|
|
23632
24696
|
# by a previous list request to get the next page of results.
|
23633
24697
|
# @param [Boolean] return_partial_success
|
23634
24698
|
# Opt-in for partial success behavior which provides partial results in case of
|
23635
|
-
# failure. The default value is false
|
24699
|
+
# failure. The default value is false.
|
23636
24700
|
# @param [String] fields
|
23637
24701
|
# Selector specifying which fields to include in a partial response.
|
23638
24702
|
# @param [String] quota_user
|
@@ -23804,7 +24868,7 @@ module Google
|
|
23804
24868
|
# by a previous list request to get the next page of results.
|
23805
24869
|
# @param [Boolean] return_partial_success
|
23806
24870
|
# Opt-in for partial success behavior which provides partial results in case of
|
23807
|
-
# failure. The default value is false
|
24871
|
+
# failure. The default value is false.
|
23808
24872
|
# @param [String] fields
|
23809
24873
|
# Selector specifying which fields to include in a partial response.
|
23810
24874
|
# @param [String] quota_user
|
@@ -23974,7 +25038,7 @@ module Google
|
|
23974
25038
|
# by a previous list request to get the next page of results.
|
23975
25039
|
# @param [Boolean] return_partial_success
|
23976
25040
|
# Opt-in for partial success behavior which provides partial results in case of
|
23977
|
-
# failure. The default value is false
|
25041
|
+
# failure. The default value is false.
|
23978
25042
|
# @param [String] fields
|
23979
25043
|
# Selector specifying which fields to include in a partial response.
|
23980
25044
|
# @param [String] quota_user
|
@@ -24340,7 +25404,7 @@ module Google
|
|
24340
25404
|
# by a previous list request to get the next page of results.
|
24341
25405
|
# @param [Boolean] return_partial_success
|
24342
25406
|
# Opt-in for partial success behavior which provides partial results in case of
|
24343
|
-
# failure. The default value is false
|
25407
|
+
# failure. The default value is false.
|
24344
25408
|
# @param [String] fields
|
24345
25409
|
# Selector specifying which fields to include in a partial response.
|
24346
25410
|
# @param [String] quota_user
|
@@ -24626,7 +25690,7 @@ module Google
|
|
24626
25690
|
# by a previous list request to get the next page of results.
|
24627
25691
|
# @param [Boolean] return_partial_success
|
24628
25692
|
# Opt-in for partial success behavior which provides partial results in case of
|
24629
|
-
# failure. The default value is false
|
25693
|
+
# failure. The default value is false.
|
24630
25694
|
# @param [String] fields
|
24631
25695
|
# Selector specifying which fields to include in a partial response.
|
24632
25696
|
# @param [String] quota_user
|
@@ -24702,7 +25766,7 @@ module Google
|
|
24702
25766
|
# by a previous list request to get the next page of results.
|
24703
25767
|
# @param [Boolean] return_partial_success
|
24704
25768
|
# Opt-in for partial success behavior which provides partial results in case of
|
24705
|
-
# failure. The default value is false
|
25769
|
+
# failure. The default value is false.
|
24706
25770
|
# @param [String] fields
|
24707
25771
|
# Selector specifying which fields to include in a partial response.
|
24708
25772
|
# @param [String] quota_user
|
@@ -25041,7 +26105,7 @@ module Google
|
|
25041
26105
|
# by a previous list request to get the next page of results.
|
25042
26106
|
# @param [Boolean] return_partial_success
|
25043
26107
|
# Opt-in for partial success behavior which provides partial results in case of
|
25044
|
-
# failure. The default value is false
|
26108
|
+
# failure. The default value is false.
|
25045
26109
|
# @param [String] fields
|
25046
26110
|
# Selector specifying which fields to include in a partial response.
|
25047
26111
|
# @param [String] quota_user
|
@@ -25243,7 +26307,7 @@ module Google
|
|
25243
26307
|
# by a previous list request to get the next page of results.
|
25244
26308
|
# @param [Boolean] return_partial_success
|
25245
26309
|
# Opt-in for partial success behavior which provides partial results in case of
|
25246
|
-
# failure. The default value is false
|
26310
|
+
# failure. The default value is false.
|
25247
26311
|
# @param [String] fields
|
25248
26312
|
# Selector specifying which fields to include in a partial response.
|
25249
26313
|
# @param [String] quota_user
|
@@ -25454,7 +26518,7 @@ module Google
|
|
25454
26518
|
# by a previous list request to get the next page of results.
|
25455
26519
|
# @param [Boolean] return_partial_success
|
25456
26520
|
# Opt-in for partial success behavior which provides partial results in case of
|
25457
|
-
# failure. The default value is false
|
26521
|
+
# failure. The default value is false.
|
25458
26522
|
# @param [String] fields
|
25459
26523
|
# Selector specifying which fields to include in a partial response.
|
25460
26524
|
# @param [String] quota_user
|
@@ -25665,7 +26729,7 @@ module Google
|
|
25665
26729
|
# by a previous list request to get the next page of results.
|
25666
26730
|
# @param [Boolean] return_partial_success
|
25667
26731
|
# Opt-in for partial success behavior which provides partial results in case of
|
25668
|
-
# failure. The default value is false
|
26732
|
+
# failure. The default value is false.
|
25669
26733
|
# @param [String] fields
|
25670
26734
|
# Selector specifying which fields to include in a partial response.
|
25671
26735
|
# @param [String] quota_user
|
@@ -25741,7 +26805,7 @@ module Google
|
|
25741
26805
|
# by a previous list request to get the next page of results.
|
25742
26806
|
# @param [Boolean] return_partial_success
|
25743
26807
|
# Opt-in for partial success behavior which provides partial results in case of
|
25744
|
-
# failure. The default value is false
|
26808
|
+
# failure. The default value is false.
|
25745
26809
|
# @param [String] fields
|
25746
26810
|
# Selector specifying which fields to include in a partial response.
|
25747
26811
|
# @param [String] quota_user
|
@@ -25875,7 +26939,7 @@ module Google
|
|
25875
26939
|
# by a previous list request to get the next page of results.
|
25876
26940
|
# @param [Boolean] return_partial_success
|
25877
26941
|
# Opt-in for partial success behavior which provides partial results in case of
|
25878
|
-
# failure. The default value is false
|
26942
|
+
# failure. The default value is false.
|
25879
26943
|
# @param [String] fields
|
25880
26944
|
# Selector specifying which fields to include in a partial response.
|
25881
26945
|
# @param [String] quota_user
|
@@ -26193,7 +27257,7 @@ module Google
|
|
26193
27257
|
# by a previous list request to get the next page of results.
|
26194
27258
|
# @param [Boolean] return_partial_success
|
26195
27259
|
# Opt-in for partial success behavior which provides partial results in case of
|
26196
|
-
# failure. The default value is false
|
27260
|
+
# failure. The default value is false.
|
26197
27261
|
# @param [String] fields
|
26198
27262
|
# Selector specifying which fields to include in a partial response.
|
26199
27263
|
# @param [String] quota_user
|
@@ -26269,7 +27333,7 @@ module Google
|
|
26269
27333
|
# by a previous list request to get the next page of results.
|
26270
27334
|
# @param [Boolean] return_partial_success
|
26271
27335
|
# Opt-in for partial success behavior which provides partial results in case of
|
26272
|
-
# failure. The default value is false
|
27336
|
+
# failure. The default value is false.
|
26273
27337
|
# @param [String] fields
|
26274
27338
|
# Selector specifying which fields to include in a partial response.
|
26275
27339
|
# @param [String] quota_user
|
@@ -26683,7 +27747,7 @@ module Google
|
|
26683
27747
|
# by a previous list request to get the next page of results.
|
26684
27748
|
# @param [Boolean] return_partial_success
|
26685
27749
|
# Opt-in for partial success behavior which provides partial results in case of
|
26686
|
-
# failure. The default value is false
|
27750
|
+
# failure. The default value is false.
|
26687
27751
|
# @param [String] fields
|
26688
27752
|
# Selector specifying which fields to include in a partial response.
|
26689
27753
|
# @param [String] quota_user
|
@@ -26819,7 +27883,7 @@ module Google
|
|
26819
27883
|
# by a previous list request to get the next page of results.
|
26820
27884
|
# @param [Boolean] return_partial_success
|
26821
27885
|
# Opt-in for partial success behavior which provides partial results in case of
|
26822
|
-
# failure. The default value is false
|
27886
|
+
# failure. The default value is false.
|
26823
27887
|
# @param [String] fields
|
26824
27888
|
# Selector specifying which fields to include in a partial response.
|
26825
27889
|
# @param [String] quota_user
|
@@ -27030,7 +28094,7 @@ module Google
|
|
27030
28094
|
# by a previous list request to get the next page of results.
|
27031
28095
|
# @param [Boolean] return_partial_success
|
27032
28096
|
# Opt-in for partial success behavior which provides partial results in case of
|
27033
|
-
# failure. The default value is false
|
28097
|
+
# failure. The default value is false.
|
27034
28098
|
# @param [String] fields
|
27035
28099
|
# Selector specifying which fields to include in a partial response.
|
27036
28100
|
# @param [String] quota_user
|
@@ -27217,7 +28281,7 @@ module Google
|
|
27217
28281
|
# by a previous list request to get the next page of results.
|
27218
28282
|
# @param [Boolean] return_partial_success
|
27219
28283
|
# Opt-in for partial success behavior which provides partial results in case of
|
27220
|
-
# failure. The default value is false
|
28284
|
+
# failure. The default value is false.
|
27221
28285
|
# @param [String] fields
|
27222
28286
|
# Selector specifying which fields to include in a partial response.
|
27223
28287
|
# @param [String] quota_user
|
@@ -27428,7 +28492,7 @@ module Google
|
|
27428
28492
|
# by a previous list request to get the next page of results.
|
27429
28493
|
# @param [Boolean] return_partial_success
|
27430
28494
|
# Opt-in for partial success behavior which provides partial results in case of
|
27431
|
-
# failure. The default value is false
|
28495
|
+
# failure. The default value is false.
|
27432
28496
|
# @param [String] fields
|
27433
28497
|
# Selector specifying which fields to include in a partial response.
|
27434
28498
|
# @param [String] quota_user
|
@@ -27772,7 +28836,7 @@ module Google
|
|
27772
28836
|
# by a previous list request to get the next page of results.
|
27773
28837
|
# @param [Boolean] return_partial_success
|
27774
28838
|
# Opt-in for partial success behavior which provides partial results in case of
|
27775
|
-
# failure. The default value is false
|
28839
|
+
# failure. The default value is false.
|
27776
28840
|
# @param [String] fields
|
27777
28841
|
# Selector specifying which fields to include in a partial response.
|
27778
28842
|
# @param [String] quota_user
|
@@ -27994,7 +29058,7 @@ module Google
|
|
27994
29058
|
# by a previous list request to get the next page of results.
|
27995
29059
|
# @param [Boolean] return_partial_success
|
27996
29060
|
# Opt-in for partial success behavior which provides partial results in case of
|
27997
|
-
# failure. The default value is false
|
29061
|
+
# failure. The default value is false.
|
27998
29062
|
# @param [String] fields
|
27999
29063
|
# Selector specifying which fields to include in a partial response.
|
28000
29064
|
# @param [String] quota_user
|
@@ -28185,7 +29249,7 @@ module Google
|
|
28185
29249
|
# by a previous list request to get the next page of results.
|
28186
29250
|
# @param [Boolean] return_partial_success
|
28187
29251
|
# Opt-in for partial success behavior which provides partial results in case of
|
28188
|
-
# failure. The default value is false
|
29252
|
+
# failure. The default value is false.
|
28189
29253
|
# @param [String] fields
|
28190
29254
|
# Selector specifying which fields to include in a partial response.
|
28191
29255
|
# @param [String] quota_user
|
@@ -28449,7 +29513,7 @@ module Google
|
|
28449
29513
|
# by a previous list request to get the next page of results.
|
28450
29514
|
# @param [Boolean] return_partial_success
|
28451
29515
|
# Opt-in for partial success behavior which provides partial results in case of
|
28452
|
-
# failure. The default value is false
|
29516
|
+
# failure. The default value is false.
|
28453
29517
|
# @param [String] fields
|
28454
29518
|
# Selector specifying which fields to include in a partial response.
|
28455
29519
|
# @param [String] quota_user
|
@@ -28825,7 +29889,7 @@ module Google
|
|
28825
29889
|
# by a previous list request to get the next page of results.
|
28826
29890
|
# @param [Boolean] return_partial_success
|
28827
29891
|
# Opt-in for partial success behavior which provides partial results in case of
|
28828
|
-
# failure. The default value is false
|
29892
|
+
# failure. The default value is false.
|
28829
29893
|
# @param [String] fields
|
28830
29894
|
# Selector specifying which fields to include in a partial response.
|
28831
29895
|
# @param [String] quota_user
|
@@ -29243,7 +30307,7 @@ module Google
|
|
29243
30307
|
# by a previous list request to get the next page of results.
|
29244
30308
|
# @param [Boolean] return_partial_success
|
29245
30309
|
# Opt-in for partial success behavior which provides partial results in case of
|
29246
|
-
# failure. The default value is false
|
30310
|
+
# failure. The default value is false.
|
29247
30311
|
# @param [String] fields
|
29248
30312
|
# Selector specifying which fields to include in a partial response.
|
29249
30313
|
# @param [String] quota_user
|
@@ -29427,7 +30491,7 @@ module Google
|
|
29427
30491
|
# by a previous list request to get the next page of results.
|
29428
30492
|
# @param [Boolean] return_partial_success
|
29429
30493
|
# Opt-in for partial success behavior which provides partial results in case of
|
29430
|
-
# failure. The default value is false
|
30494
|
+
# failure. The default value is false.
|
29431
30495
|
# @param [String] fields
|
29432
30496
|
# Selector specifying which fields to include in a partial response.
|
29433
30497
|
# @param [String] quota_user
|
@@ -29649,7 +30713,7 @@ module Google
|
|
29649
30713
|
# by a previous list request to get the next page of results.
|
29650
30714
|
# @param [Boolean] return_partial_success
|
29651
30715
|
# Opt-in for partial success behavior which provides partial results in case of
|
29652
|
-
# failure. The default value is false
|
30716
|
+
# failure. The default value is false.
|
29653
30717
|
# @param [String] fields
|
29654
30718
|
# Selector specifying which fields to include in a partial response.
|
29655
30719
|
# @param [String] quota_user
|
@@ -29733,7 +30797,7 @@ module Google
|
|
29733
30797
|
# by a previous list request to get the next page of results.
|
29734
30798
|
# @param [Boolean] return_partial_success
|
29735
30799
|
# Opt-in for partial success behavior which provides partial results in case of
|
29736
|
-
# failure. The default value is false
|
30800
|
+
# failure. The default value is false.
|
29737
30801
|
# @param [String] fields
|
29738
30802
|
# Selector specifying which fields to include in a partial response.
|
29739
30803
|
# @param [String] quota_user
|
@@ -29997,7 +31061,7 @@ module Google
|
|
29997
31061
|
# by a previous list request to get the next page of results.
|
29998
31062
|
# @param [Boolean] return_partial_success
|
29999
31063
|
# Opt-in for partial success behavior which provides partial results in case of
|
30000
|
-
# failure. The default value is false
|
31064
|
+
# failure. The default value is false.
|
30001
31065
|
# @param [String] fields
|
30002
31066
|
# Selector specifying which fields to include in a partial response.
|
30003
31067
|
# @param [String] quota_user
|
@@ -30223,7 +31287,7 @@ module Google
|
|
30223
31287
|
# by a previous list request to get the next page of results.
|
30224
31288
|
# @param [Boolean] return_partial_success
|
30225
31289
|
# Opt-in for partial success behavior which provides partial results in case of
|
30226
|
-
# failure. The default value is false
|
31290
|
+
# failure. The default value is false.
|
30227
31291
|
# @param [String] fields
|
30228
31292
|
# Selector specifying which fields to include in a partial response.
|
30229
31293
|
# @param [String] quota_user
|
@@ -30483,7 +31547,7 @@ module Google
|
|
30483
31547
|
# by a previous list request to get the next page of results.
|
30484
31548
|
# @param [Boolean] return_partial_success
|
30485
31549
|
# Opt-in for partial success behavior which provides partial results in case of
|
30486
|
-
# failure. The default value is false
|
31550
|
+
# failure. The default value is false.
|
30487
31551
|
# @param [String] fields
|
30488
31552
|
# Selector specifying which fields to include in a partial response.
|
30489
31553
|
# @param [String] quota_user
|
@@ -30663,7 +31727,7 @@ module Google
|
|
30663
31727
|
# by a previous list request to get the next page of results.
|
30664
31728
|
# @param [Boolean] return_partial_success
|
30665
31729
|
# Opt-in for partial success behavior which provides partial results in case of
|
30666
|
-
# failure. The default value is false
|
31730
|
+
# failure. The default value is false.
|
30667
31731
|
# @param [String] fields
|
30668
31732
|
# Selector specifying which fields to include in a partial response.
|
30669
31733
|
# @param [String] quota_user
|
@@ -30885,7 +31949,7 @@ module Google
|
|
30885
31949
|
# by a previous list request to get the next page of results.
|
30886
31950
|
# @param [Boolean] return_partial_success
|
30887
31951
|
# Opt-in for partial success behavior which provides partial results in case of
|
30888
|
-
# failure. The default value is false
|
31952
|
+
# failure. The default value is false.
|
30889
31953
|
# @param [String] fields
|
30890
31954
|
# Selector specifying which fields to include in a partial response.
|
30891
31955
|
# @param [String] quota_user
|
@@ -31039,7 +32103,7 @@ module Google
|
|
31039
32103
|
# by a previous list request to get the next page of results.
|
31040
32104
|
# @param [Boolean] return_partial_success
|
31041
32105
|
# Opt-in for partial success behavior which provides partial results in case of
|
31042
|
-
# failure. The default value is false
|
32106
|
+
# failure. The default value is false.
|
31043
32107
|
# @param [String] fields
|
31044
32108
|
# Selector specifying which fields to include in a partial response.
|
31045
32109
|
# @param [String] quota_user
|
@@ -31201,7 +32265,7 @@ module Google
|
|
31201
32265
|
# by a previous list request to get the next page of results.
|
31202
32266
|
# @param [Boolean] return_partial_success
|
31203
32267
|
# Opt-in for partial success behavior which provides partial results in case of
|
31204
|
-
# failure. The default value is false
|
32268
|
+
# failure. The default value is false.
|
31205
32269
|
# @param [String] fields
|
31206
32270
|
# Selector specifying which fields to include in a partial response.
|
31207
32271
|
# @param [String] quota_user
|