google-api-client 0.30.10 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -9
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -24
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +20 -6
- data/generated/google/apis/compute_alpha/representations.rb +1 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +112 -6
- data/generated/google/apis/compute_beta/representations.rb +58 -0
- data/generated/google/apis/compute_beta/service.rb +118 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1095 -7
- data/generated/google/apis/compute_v1/representations.rb +483 -0
- data/generated/google/apis/compute_v1/service.rb +2307 -468
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +108 -3
- data/generated/google/apis/container_v1beta1/representations.rb +35 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
- data/generated/google/apis/dialogflow_v2/service.rb +78 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +330 -4
- data/generated/google/apis/dns_v1/representations.rb +149 -0
- data/generated/google/apis/dns_v1/service.rb +246 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
- data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
- data/generated/google/apis/dns_v2beta1/service.rb +246 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -1
- data/generated/google/apis/iam_v1/service.rb +5 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +11 -4
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +30 -0
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +30 -35
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +60 -59
- data/generated/google/apis/monitoring_v3/service.rb +18 -18
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +40 -40
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
- data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -4416,6 +4416,78 @@ module Google
|
|
4416
4416
|
execute_or_queue_command(command, &block)
|
4417
4417
|
end
|
4418
4418
|
|
4419
|
+
# Retrieves the list of all HealthCheck resources, regional and global,
|
4420
|
+
# available to the specified project.
|
4421
|
+
# @param [String] project
|
4422
|
+
# Name of the project scoping this request.
|
4423
|
+
# @param [String] filter
|
4424
|
+
# A filter expression that filters resources listed in the response. The
|
4425
|
+
# expression must specify the field name, a comparison operator, and the value
|
4426
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
4427
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
4428
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
4429
|
+
# instances named example-instance by specifying name != example-instance.
|
4430
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
4431
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
4432
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
4433
|
+
# on resource labels.
|
4434
|
+
# To filter on multiple expressions, provide each separate expression within
|
4435
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
4436
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
4437
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
4438
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
4439
|
+
# automaticRestart = true).
|
4440
|
+
# @param [Fixnum] max_results
|
4441
|
+
# The maximum number of results per page that should be returned. If the number
|
4442
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
4443
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
4444
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
4445
|
+
# @param [String] order_by
|
4446
|
+
# Sorts list results by a certain order. By default, results are returned in
|
4447
|
+
# alphanumerical order based on the resource name.
|
4448
|
+
# You can also sort results in descending order based on the creation timestamp
|
4449
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
4450
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
4451
|
+
# Use this to sort resources like operations so that the newest operation is
|
4452
|
+
# returned first.
|
4453
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
4454
|
+
# @param [String] page_token
|
4455
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
4456
|
+
# a previous list request to get the next page of results.
|
4457
|
+
# @param [String] fields
|
4458
|
+
# Selector specifying which fields to include in a partial response.
|
4459
|
+
# @param [String] quota_user
|
4460
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
4461
|
+
# characters.
|
4462
|
+
# @param [String] user_ip
|
4463
|
+
# Deprecated. Please use quotaUser instead.
|
4464
|
+
# @param [Google::Apis::RequestOptions] options
|
4465
|
+
# Request-specific options
|
4466
|
+
#
|
4467
|
+
# @yield [result, err] Result & error if block supplied
|
4468
|
+
# @yieldparam result [Google::Apis::ComputeV1::HealthChecksAggregatedList] parsed result object
|
4469
|
+
# @yieldparam err [StandardError] error object if request failed
|
4470
|
+
#
|
4471
|
+
# @return [Google::Apis::ComputeV1::HealthChecksAggregatedList]
|
4472
|
+
#
|
4473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4476
|
+
def aggregated_health_check_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4477
|
+
command = make_simple_command(:get, '{project}/aggregated/healthChecks', options)
|
4478
|
+
command.response_representation = Google::Apis::ComputeV1::HealthChecksAggregatedList::Representation
|
4479
|
+
command.response_class = Google::Apis::ComputeV1::HealthChecksAggregatedList
|
4480
|
+
command.params['project'] = project unless project.nil?
|
4481
|
+
command.query['filter'] = filter unless filter.nil?
|
4482
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
4483
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4484
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4485
|
+
command.query['fields'] = fields unless fields.nil?
|
4486
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4487
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
4488
|
+
execute_or_queue_command(command, &block)
|
4489
|
+
end
|
4490
|
+
|
4419
4491
|
# Deletes the specified HealthCheck resource.
|
4420
4492
|
# @param [String] project
|
4421
4493
|
# Project ID for this request.
|
@@ -15253,25 +15325,13 @@ module Google
|
|
15253
15325
|
execute_or_queue_command(command, &block)
|
15254
15326
|
end
|
15255
15327
|
|
15256
|
-
#
|
15257
|
-
# instance group. Abandoning an instance does not delete the instance, but it
|
15258
|
-
# does remove the instance from any target pools that are applied by the managed
|
15259
|
-
# instance group. This method reduces the targetSize of the managed instance
|
15260
|
-
# group by the number of instances that you abandon. This operation is marked as
|
15261
|
-
# DONE when the action is scheduled even if the instances have not yet been
|
15262
|
-
# removed from the group. You must separately verify the status of the
|
15263
|
-
# abandoning action with the listmanagedinstances method.
|
15264
|
-
# If the group is part of a backend service that has enabled connection draining,
|
15265
|
-
# it can take up to 60 seconds after the connection draining duration has
|
15266
|
-
# elapsed before the VM instance is removed or deleted.
|
15267
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
15328
|
+
# Deletes the specified HealthCheck resource.
|
15268
15329
|
# @param [String] project
|
15269
15330
|
# Project ID for this request.
|
15270
15331
|
# @param [String] region
|
15271
15332
|
# Name of the region scoping this request.
|
15272
|
-
# @param [String]
|
15273
|
-
# Name of the
|
15274
|
-
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
|
15333
|
+
# @param [String] health_check
|
15334
|
+
# Name of the HealthCheck resource to delete.
|
15275
15335
|
# @param [String] request_id
|
15276
15336
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15277
15337
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15302,15 +15362,13 @@ module Google
|
|
15302
15362
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15303
15363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15304
15364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15305
|
-
def
|
15306
|
-
command = make_simple_command(:
|
15307
|
-
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
|
15308
|
-
command.request_object = region_instance_group_managers_abandon_instances_request_object
|
15365
|
+
def delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15366
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
15309
15367
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15310
15368
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15311
15369
|
command.params['project'] = project unless project.nil?
|
15312
15370
|
command.params['region'] = region unless region.nil?
|
15313
|
-
command.params['
|
15371
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
15314
15372
|
command.query['requestId'] = request_id unless request_id.nil?
|
15315
15373
|
command.query['fields'] = fields unless fields.nil?
|
15316
15374
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -15318,25 +15376,14 @@ module Google
|
|
15318
15376
|
execute_or_queue_command(command, &block)
|
15319
15377
|
end
|
15320
15378
|
|
15321
|
-
#
|
15322
|
-
#
|
15379
|
+
# Returns the specified HealthCheck resource. Gets a list of available health
|
15380
|
+
# checks by making a list() request.
|
15323
15381
|
# @param [String] project
|
15324
15382
|
# Project ID for this request.
|
15325
15383
|
# @param [String] region
|
15326
15384
|
# Name of the region scoping this request.
|
15327
|
-
# @param [String]
|
15328
|
-
# Name of the
|
15329
|
-
# @param [String] request_id
|
15330
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
15331
|
-
# that if you must retry your request, the server will know to ignore the
|
15332
|
-
# request if it has already been completed.
|
15333
|
-
# For example, consider a situation where you make an initial request and the
|
15334
|
-
# request times out. If you make the request again with the same request ID, the
|
15335
|
-
# server can check if original operation with the same request ID was received,
|
15336
|
-
# and if so, will ignore the second request. This prevents clients from
|
15337
|
-
# accidentally creating duplicate commitments.
|
15338
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not
|
15339
|
-
# supported (00000000-0000-0000-0000-000000000000).
|
15385
|
+
# @param [String] health_check
|
15386
|
+
# Name of the HealthCheck resource to return.
|
15340
15387
|
# @param [String] fields
|
15341
15388
|
# Selector specifying which fields to include in a partial response.
|
15342
15389
|
# @param [String] quota_user
|
@@ -15348,46 +15395,34 @@ module Google
|
|
15348
15395
|
# Request-specific options
|
15349
15396
|
#
|
15350
15397
|
# @yield [result, err] Result & error if block supplied
|
15351
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
15398
|
+
# @yieldparam result [Google::Apis::ComputeV1::HealthCheck] parsed result object
|
15352
15399
|
# @yieldparam err [StandardError] error object if request failed
|
15353
15400
|
#
|
15354
|
-
# @return [Google::Apis::ComputeV1::
|
15401
|
+
# @return [Google::Apis::ComputeV1::HealthCheck]
|
15355
15402
|
#
|
15356
15403
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15357
15404
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15358
15405
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15359
|
-
def
|
15360
|
-
command = make_simple_command(:
|
15361
|
-
command.response_representation = Google::Apis::ComputeV1::
|
15362
|
-
command.response_class = Google::Apis::ComputeV1::
|
15406
|
+
def get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15407
|
+
command = make_simple_command(:get, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
15408
|
+
command.response_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
15409
|
+
command.response_class = Google::Apis::ComputeV1::HealthCheck
|
15363
15410
|
command.params['project'] = project unless project.nil?
|
15364
15411
|
command.params['region'] = region unless region.nil?
|
15365
|
-
command.params['
|
15366
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
15412
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
15367
15413
|
command.query['fields'] = fields unless fields.nil?
|
15368
15414
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15369
15415
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15370
15416
|
execute_or_queue_command(command, &block)
|
15371
15417
|
end
|
15372
15418
|
|
15373
|
-
#
|
15374
|
-
#
|
15375
|
-
# were a member. This method reduces the targetSize of the managed instance
|
15376
|
-
# group by the number of instances that you delete. The deleteInstances
|
15377
|
-
# operation is marked DONE if the deleteInstances request is successful. The
|
15378
|
-
# underlying actions take additional time. You must separately verify the status
|
15379
|
-
# of the deleting action with the listmanagedinstances method.
|
15380
|
-
# If the group is part of a backend service that has enabled connection draining,
|
15381
|
-
# it can take up to 60 seconds after the connection draining duration has
|
15382
|
-
# elapsed before the VM instance is removed or deleted.
|
15383
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
15419
|
+
# Creates a HealthCheck resource in the specified project using the data
|
15420
|
+
# included in the request.
|
15384
15421
|
# @param [String] project
|
15385
15422
|
# Project ID for this request.
|
15386
15423
|
# @param [String] region
|
15387
15424
|
# Name of the region scoping this request.
|
15388
|
-
# @param [
|
15389
|
-
# Name of the managed instance group.
|
15390
|
-
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object
|
15425
|
+
# @param [Google::Apis::ComputeV1::HealthCheck] health_check_object
|
15391
15426
|
# @param [String] request_id
|
15392
15427
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15393
15428
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15418,15 +15453,14 @@ module Google
|
|
15418
15453
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15419
15454
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15420
15455
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15421
|
-
def
|
15422
|
-
command = make_simple_command(:post, '{project}/regions/{region}/
|
15423
|
-
command.request_representation = Google::Apis::ComputeV1::
|
15424
|
-
command.request_object =
|
15456
|
+
def insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15457
|
+
command = make_simple_command(:post, '{project}/regions/{region}/healthChecks', options)
|
15458
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
15459
|
+
command.request_object = health_check_object
|
15425
15460
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15426
15461
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15427
15462
|
command.params['project'] = project unless project.nil?
|
15428
15463
|
command.params['region'] = region unless region.nil?
|
15429
|
-
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
15430
15464
|
command.query['requestId'] = request_id unless request_id.nil?
|
15431
15465
|
command.query['fields'] = fields unless fields.nil?
|
15432
15466
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -15434,13 +15468,45 @@ module Google
|
|
15434
15468
|
execute_or_queue_command(command, &block)
|
15435
15469
|
end
|
15436
15470
|
|
15437
|
-
#
|
15471
|
+
# Retrieves the list of HealthCheck resources available to the specified project.
|
15438
15472
|
# @param [String] project
|
15439
15473
|
# Project ID for this request.
|
15440
15474
|
# @param [String] region
|
15441
15475
|
# Name of the region scoping this request.
|
15442
|
-
# @param [String]
|
15443
|
-
#
|
15476
|
+
# @param [String] filter
|
15477
|
+
# A filter expression that filters resources listed in the response. The
|
15478
|
+
# expression must specify the field name, a comparison operator, and the value
|
15479
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
15480
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
15481
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
15482
|
+
# instances named example-instance by specifying name != example-instance.
|
15483
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
15484
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
15485
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
15486
|
+
# on resource labels.
|
15487
|
+
# To filter on multiple expressions, provide each separate expression within
|
15488
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
15489
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
15490
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
15491
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
15492
|
+
# automaticRestart = true).
|
15493
|
+
# @param [Fixnum] max_results
|
15494
|
+
# The maximum number of results per page that should be returned. If the number
|
15495
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
15496
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
15497
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
15498
|
+
# @param [String] order_by
|
15499
|
+
# Sorts list results by a certain order. By default, results are returned in
|
15500
|
+
# alphanumerical order based on the resource name.
|
15501
|
+
# You can also sort results in descending order based on the creation timestamp
|
15502
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
15503
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
15504
|
+
# Use this to sort resources like operations so that the newest operation is
|
15505
|
+
# returned first.
|
15506
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
15507
|
+
# @param [String] page_token
|
15508
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
15509
|
+
# a previous list request to get the next page of results.
|
15444
15510
|
# @param [String] fields
|
15445
15511
|
# Selector specifying which fields to include in a partial response.
|
15446
15512
|
# @param [String] quota_user
|
@@ -15452,39 +15518,40 @@ module Google
|
|
15452
15518
|
# Request-specific options
|
15453
15519
|
#
|
15454
15520
|
# @yield [result, err] Result & error if block supplied
|
15455
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
15521
|
+
# @yieldparam result [Google::Apis::ComputeV1::HealthCheckList] parsed result object
|
15456
15522
|
# @yieldparam err [StandardError] error object if request failed
|
15457
15523
|
#
|
15458
|
-
# @return [Google::Apis::ComputeV1::
|
15524
|
+
# @return [Google::Apis::ComputeV1::HealthCheckList]
|
15459
15525
|
#
|
15460
15526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15461
15527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15462
15528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15463
|
-
def
|
15464
|
-
command = make_simple_command(:get, '{project}/regions/{region}/
|
15465
|
-
command.response_representation = Google::Apis::ComputeV1::
|
15466
|
-
command.response_class = Google::Apis::ComputeV1::
|
15529
|
+
def list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15530
|
+
command = make_simple_command(:get, '{project}/regions/{region}/healthChecks', options)
|
15531
|
+
command.response_representation = Google::Apis::ComputeV1::HealthCheckList::Representation
|
15532
|
+
command.response_class = Google::Apis::ComputeV1::HealthCheckList
|
15467
15533
|
command.params['project'] = project unless project.nil?
|
15468
15534
|
command.params['region'] = region unless region.nil?
|
15469
|
-
command.
|
15535
|
+
command.query['filter'] = filter unless filter.nil?
|
15536
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
15537
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
15538
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
15470
15539
|
command.query['fields'] = fields unless fields.nil?
|
15471
15540
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15472
15541
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15473
15542
|
execute_or_queue_command(command, &block)
|
15474
15543
|
end
|
15475
15544
|
|
15476
|
-
#
|
15477
|
-
#
|
15478
|
-
#
|
15479
|
-
# group is created even if the instances in the group have not yet been created.
|
15480
|
-
# You must separately verify the status of the individual instances with the
|
15481
|
-
# listmanagedinstances method.
|
15482
|
-
# A regional managed instance group can contain up to 2000 instances.
|
15545
|
+
# Updates a HealthCheck resource in the specified project using the data
|
15546
|
+
# included in the request. This method supports PATCH semantics and uses the
|
15547
|
+
# JSON merge patch format and processing rules.
|
15483
15548
|
# @param [String] project
|
15484
15549
|
# Project ID for this request.
|
15485
15550
|
# @param [String] region
|
15486
15551
|
# Name of the region scoping this request.
|
15487
|
-
# @param [
|
15552
|
+
# @param [String] health_check
|
15553
|
+
# Name of the HealthCheck resource to patch.
|
15554
|
+
# @param [Google::Apis::ComputeV1::HealthCheck] health_check_object
|
15488
15555
|
# @param [String] request_id
|
15489
15556
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15490
15557
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15515,14 +15582,15 @@ module Google
|
|
15515
15582
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15516
15583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15517
15584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15518
|
-
def
|
15519
|
-
command = make_simple_command(:
|
15520
|
-
command.request_representation = Google::Apis::ComputeV1::
|
15521
|
-
command.request_object =
|
15585
|
+
def patch_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15586
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
15587
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
15588
|
+
command.request_object = health_check_object
|
15522
15589
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15523
15590
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15524
15591
|
command.params['project'] = project unless project.nil?
|
15525
15592
|
command.params['region'] = region unless region.nil?
|
15593
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
15526
15594
|
command.query['requestId'] = request_id unless request_id.nil?
|
15527
15595
|
command.query['fields'] = fields unless fields.nil?
|
15528
15596
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -15530,45 +15598,1586 @@ module Google
|
|
15530
15598
|
execute_or_queue_command(command, &block)
|
15531
15599
|
end
|
15532
15600
|
|
15533
|
-
#
|
15534
|
-
#
|
15601
|
+
# Updates a HealthCheck resource in the specified project using the data
|
15602
|
+
# included in the request.
|
15535
15603
|
# @param [String] project
|
15536
15604
|
# Project ID for this request.
|
15537
15605
|
# @param [String] region
|
15538
15606
|
# Name of the region scoping this request.
|
15539
|
-
# @param [String]
|
15540
|
-
#
|
15541
|
-
#
|
15542
|
-
#
|
15543
|
-
#
|
15544
|
-
#
|
15545
|
-
#
|
15546
|
-
#
|
15547
|
-
#
|
15548
|
-
#
|
15549
|
-
#
|
15550
|
-
#
|
15551
|
-
#
|
15552
|
-
#
|
15553
|
-
#
|
15554
|
-
#
|
15555
|
-
#
|
15556
|
-
#
|
15557
|
-
#
|
15558
|
-
#
|
15559
|
-
#
|
15560
|
-
#
|
15561
|
-
#
|
15562
|
-
#
|
15563
|
-
#
|
15564
|
-
#
|
15565
|
-
#
|
15566
|
-
#
|
15567
|
-
#
|
15568
|
-
#
|
15569
|
-
#
|
15570
|
-
# @
|
15571
|
-
#
|
15607
|
+
# @param [String] health_check
|
15608
|
+
# Name of the HealthCheck resource to update.
|
15609
|
+
# @param [Google::Apis::ComputeV1::HealthCheck] health_check_object
|
15610
|
+
# @param [String] request_id
|
15611
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
15612
|
+
# that if you must retry your request, the server will know to ignore the
|
15613
|
+
# request if it has already been completed.
|
15614
|
+
# For example, consider a situation where you make an initial request and the
|
15615
|
+
# request times out. If you make the request again with the same request ID, the
|
15616
|
+
# server can check if original operation with the same request ID was received,
|
15617
|
+
# and if so, will ignore the second request. This prevents clients from
|
15618
|
+
# accidentally creating duplicate commitments.
|
15619
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
15620
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
15621
|
+
# @param [String] fields
|
15622
|
+
# Selector specifying which fields to include in a partial response.
|
15623
|
+
# @param [String] quota_user
|
15624
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15625
|
+
# characters.
|
15626
|
+
# @param [String] user_ip
|
15627
|
+
# Deprecated. Please use quotaUser instead.
|
15628
|
+
# @param [Google::Apis::RequestOptions] options
|
15629
|
+
# Request-specific options
|
15630
|
+
#
|
15631
|
+
# @yield [result, err] Result & error if block supplied
|
15632
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15633
|
+
# @yieldparam err [StandardError] error object if request failed
|
15634
|
+
#
|
15635
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15636
|
+
#
|
15637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15640
|
+
def update_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15641
|
+
command = make_simple_command(:put, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
15642
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
15643
|
+
command.request_object = health_check_object
|
15644
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15645
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15646
|
+
command.params['project'] = project unless project.nil?
|
15647
|
+
command.params['region'] = region unless region.nil?
|
15648
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
15649
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15650
|
+
command.query['fields'] = fields unless fields.nil?
|
15651
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15652
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15653
|
+
execute_or_queue_command(command, &block)
|
15654
|
+
end
|
15655
|
+
|
15656
|
+
# Flags the specified instances to be immediately removed from the managed
|
15657
|
+
# instance group. Abandoning an instance does not delete the instance, but it
|
15658
|
+
# does remove the instance from any target pools that are applied by the managed
|
15659
|
+
# instance group. This method reduces the targetSize of the managed instance
|
15660
|
+
# group by the number of instances that you abandon. This operation is marked as
|
15661
|
+
# DONE when the action is scheduled even if the instances have not yet been
|
15662
|
+
# removed from the group. You must separately verify the status of the
|
15663
|
+
# abandoning action with the listmanagedinstances method.
|
15664
|
+
# If the group is part of a backend service that has enabled connection draining,
|
15665
|
+
# it can take up to 60 seconds after the connection draining duration has
|
15666
|
+
# elapsed before the VM instance is removed or deleted.
|
15667
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
15668
|
+
# @param [String] project
|
15669
|
+
# Project ID for this request.
|
15670
|
+
# @param [String] region
|
15671
|
+
# Name of the region scoping this request.
|
15672
|
+
# @param [String] instance_group_manager
|
15673
|
+
# Name of the managed instance group.
|
15674
|
+
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
|
15675
|
+
# @param [String] request_id
|
15676
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
15677
|
+
# that if you must retry your request, the server will know to ignore the
|
15678
|
+
# request if it has already been completed.
|
15679
|
+
# For example, consider a situation where you make an initial request and the
|
15680
|
+
# request times out. If you make the request again with the same request ID, the
|
15681
|
+
# server can check if original operation with the same request ID was received,
|
15682
|
+
# and if so, will ignore the second request. This prevents clients from
|
15683
|
+
# accidentally creating duplicate commitments.
|
15684
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
15685
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
15686
|
+
# @param [String] fields
|
15687
|
+
# Selector specifying which fields to include in a partial response.
|
15688
|
+
# @param [String] quota_user
|
15689
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15690
|
+
# characters.
|
15691
|
+
# @param [String] user_ip
|
15692
|
+
# Deprecated. Please use quotaUser instead.
|
15693
|
+
# @param [Google::Apis::RequestOptions] options
|
15694
|
+
# Request-specific options
|
15695
|
+
#
|
15696
|
+
# @yield [result, err] Result & error if block supplied
|
15697
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15698
|
+
# @yieldparam err [StandardError] error object if request failed
|
15699
|
+
#
|
15700
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15701
|
+
#
|
15702
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15703
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15704
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15705
|
+
def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15706
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
|
15707
|
+
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
|
15708
|
+
command.request_object = region_instance_group_managers_abandon_instances_request_object
|
15709
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15710
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15711
|
+
command.params['project'] = project unless project.nil?
|
15712
|
+
command.params['region'] = region unless region.nil?
|
15713
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
15714
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15715
|
+
command.query['fields'] = fields unless fields.nil?
|
15716
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15717
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15718
|
+
execute_or_queue_command(command, &block)
|
15719
|
+
end
|
15720
|
+
|
15721
|
+
# Deletes the specified managed instance group and all of the instances in that
|
15722
|
+
# group.
|
15723
|
+
# @param [String] project
|
15724
|
+
# Project ID for this request.
|
15725
|
+
# @param [String] region
|
15726
|
+
# Name of the region scoping this request.
|
15727
|
+
# @param [String] instance_group_manager
|
15728
|
+
# Name of the managed instance group to delete.
|
15729
|
+
# @param [String] request_id
|
15730
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
15731
|
+
# that if you must retry your request, the server will know to ignore the
|
15732
|
+
# request if it has already been completed.
|
15733
|
+
# For example, consider a situation where you make an initial request and the
|
15734
|
+
# request times out. If you make the request again with the same request ID, the
|
15735
|
+
# server can check if original operation with the same request ID was received,
|
15736
|
+
# and if so, will ignore the second request. This prevents clients from
|
15737
|
+
# accidentally creating duplicate commitments.
|
15738
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
15739
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
15740
|
+
# @param [String] fields
|
15741
|
+
# Selector specifying which fields to include in a partial response.
|
15742
|
+
# @param [String] quota_user
|
15743
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15744
|
+
# characters.
|
15745
|
+
# @param [String] user_ip
|
15746
|
+
# Deprecated. Please use quotaUser instead.
|
15747
|
+
# @param [Google::Apis::RequestOptions] options
|
15748
|
+
# Request-specific options
|
15749
|
+
#
|
15750
|
+
# @yield [result, err] Result & error if block supplied
|
15751
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15752
|
+
# @yieldparam err [StandardError] error object if request failed
|
15753
|
+
#
|
15754
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15755
|
+
#
|
15756
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15757
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15758
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15759
|
+
def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15760
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
15761
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15762
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15763
|
+
command.params['project'] = project unless project.nil?
|
15764
|
+
command.params['region'] = region unless region.nil?
|
15765
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
15766
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15767
|
+
command.query['fields'] = fields unless fields.nil?
|
15768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15769
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15770
|
+
execute_or_queue_command(command, &block)
|
15771
|
+
end
|
15772
|
+
|
15773
|
+
# Flags the specified instances in the managed instance group to be immediately
|
15774
|
+
# deleted. The instances are also removed from any target pools of which they
|
15775
|
+
# were a member. This method reduces the targetSize of the managed instance
|
15776
|
+
# group by the number of instances that you delete. The deleteInstances
|
15777
|
+
# operation is marked DONE if the deleteInstances request is successful. The
|
15778
|
+
# underlying actions take additional time. You must separately verify the status
|
15779
|
+
# of the deleting action with the listmanagedinstances method.
|
15780
|
+
# If the group is part of a backend service that has enabled connection draining,
|
15781
|
+
# it can take up to 60 seconds after the connection draining duration has
|
15782
|
+
# elapsed before the VM instance is removed or deleted.
|
15783
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
15784
|
+
# @param [String] project
|
15785
|
+
# Project ID for this request.
|
15786
|
+
# @param [String] region
|
15787
|
+
# Name of the region scoping this request.
|
15788
|
+
# @param [String] instance_group_manager
|
15789
|
+
# Name of the managed instance group.
|
15790
|
+
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object
|
15791
|
+
# @param [String] request_id
|
15792
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
15793
|
+
# that if you must retry your request, the server will know to ignore the
|
15794
|
+
# request if it has already been completed.
|
15795
|
+
# For example, consider a situation where you make an initial request and the
|
15796
|
+
# request times out. If you make the request again with the same request ID, the
|
15797
|
+
# server can check if original operation with the same request ID was received,
|
15798
|
+
# and if so, will ignore the second request. This prevents clients from
|
15799
|
+
# accidentally creating duplicate commitments.
|
15800
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
15801
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
15802
|
+
# @param [String] fields
|
15803
|
+
# Selector specifying which fields to include in a partial response.
|
15804
|
+
# @param [String] quota_user
|
15805
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15806
|
+
# characters.
|
15807
|
+
# @param [String] user_ip
|
15808
|
+
# Deprecated. Please use quotaUser instead.
|
15809
|
+
# @param [Google::Apis::RequestOptions] options
|
15810
|
+
# Request-specific options
|
15811
|
+
#
|
15812
|
+
# @yield [result, err] Result & error if block supplied
|
15813
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15814
|
+
# @yieldparam err [StandardError] error object if request failed
|
15815
|
+
#
|
15816
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15817
|
+
#
|
15818
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15819
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15820
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15821
|
+
def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15822
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
|
15823
|
+
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest::Representation
|
15824
|
+
command.request_object = region_instance_group_managers_delete_instances_request_object
|
15825
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15826
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15827
|
+
command.params['project'] = project unless project.nil?
|
15828
|
+
command.params['region'] = region unless region.nil?
|
15829
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
15830
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15831
|
+
command.query['fields'] = fields unless fields.nil?
|
15832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15833
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15834
|
+
execute_or_queue_command(command, &block)
|
15835
|
+
end
|
15836
|
+
|
15837
|
+
# Returns all of the details about the specified managed instance group.
|
15838
|
+
# @param [String] project
|
15839
|
+
# Project ID for this request.
|
15840
|
+
# @param [String] region
|
15841
|
+
# Name of the region scoping this request.
|
15842
|
+
# @param [String] instance_group_manager
|
15843
|
+
# Name of the managed instance group to return.
|
15844
|
+
# @param [String] fields
|
15845
|
+
# Selector specifying which fields to include in a partial response.
|
15846
|
+
# @param [String] quota_user
|
15847
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15848
|
+
# characters.
|
15849
|
+
# @param [String] user_ip
|
15850
|
+
# Deprecated. Please use quotaUser instead.
|
15851
|
+
# @param [Google::Apis::RequestOptions] options
|
15852
|
+
# Request-specific options
|
15853
|
+
#
|
15854
|
+
# @yield [result, err] Result & error if block supplied
|
15855
|
+
# @yieldparam result [Google::Apis::ComputeV1::InstanceGroupManager] parsed result object
|
15856
|
+
# @yieldparam err [StandardError] error object if request failed
|
15857
|
+
#
|
15858
|
+
# @return [Google::Apis::ComputeV1::InstanceGroupManager]
|
15859
|
+
#
|
15860
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15861
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15862
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15863
|
+
def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15864
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
15865
|
+
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
15866
|
+
command.response_class = Google::Apis::ComputeV1::InstanceGroupManager
|
15867
|
+
command.params['project'] = project unless project.nil?
|
15868
|
+
command.params['region'] = region unless region.nil?
|
15869
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
15870
|
+
command.query['fields'] = fields unless fields.nil?
|
15871
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15872
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15873
|
+
execute_or_queue_command(command, &block)
|
15874
|
+
end
|
15875
|
+
|
15876
|
+
# Creates a managed instance group using the information that you specify in the
|
15877
|
+
# request. After the group is created, instances in the group are created using
|
15878
|
+
# the specified instance template. This operation is marked as DONE when the
|
15879
|
+
# group is created even if the instances in the group have not yet been created.
|
15880
|
+
# You must separately verify the status of the individual instances with the
|
15881
|
+
# listmanagedinstances method.
|
15882
|
+
# A regional managed instance group can contain up to 2000 instances.
|
15883
|
+
# @param [String] project
|
15884
|
+
# Project ID for this request.
|
15885
|
+
# @param [String] region
|
15886
|
+
# Name of the region scoping this request.
|
15887
|
+
# @param [Google::Apis::ComputeV1::InstanceGroupManager] instance_group_manager_object
|
15888
|
+
# @param [String] request_id
|
15889
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
15890
|
+
# that if you must retry your request, the server will know to ignore the
|
15891
|
+
# request if it has already been completed.
|
15892
|
+
# For example, consider a situation where you make an initial request and the
|
15893
|
+
# request times out. If you make the request again with the same request ID, the
|
15894
|
+
# server can check if original operation with the same request ID was received,
|
15895
|
+
# and if so, will ignore the second request. This prevents clients from
|
15896
|
+
# accidentally creating duplicate commitments.
|
15897
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
15898
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
15899
|
+
# @param [String] fields
|
15900
|
+
# Selector specifying which fields to include in a partial response.
|
15901
|
+
# @param [String] quota_user
|
15902
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15903
|
+
# characters.
|
15904
|
+
# @param [String] user_ip
|
15905
|
+
# Deprecated. Please use quotaUser instead.
|
15906
|
+
# @param [Google::Apis::RequestOptions] options
|
15907
|
+
# Request-specific options
|
15908
|
+
#
|
15909
|
+
# @yield [result, err] Result & error if block supplied
|
15910
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15911
|
+
# @yieldparam err [StandardError] error object if request failed
|
15912
|
+
#
|
15913
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15914
|
+
#
|
15915
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15916
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15917
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15918
|
+
def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15919
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options)
|
15920
|
+
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
15921
|
+
command.request_object = instance_group_manager_object
|
15922
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15923
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15924
|
+
command.params['project'] = project unless project.nil?
|
15925
|
+
command.params['region'] = region unless region.nil?
|
15926
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15927
|
+
command.query['fields'] = fields unless fields.nil?
|
15928
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15929
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
15930
|
+
execute_or_queue_command(command, &block)
|
15931
|
+
end
|
15932
|
+
|
15933
|
+
# Retrieves the list of managed instance groups that are contained within the
|
15934
|
+
# specified region.
|
15935
|
+
# @param [String] project
|
15936
|
+
# Project ID for this request.
|
15937
|
+
# @param [String] region
|
15938
|
+
# Name of the region scoping this request.
|
15939
|
+
# @param [String] filter
|
15940
|
+
# A filter expression that filters resources listed in the response. The
|
15941
|
+
# expression must specify the field name, a comparison operator, and the value
|
15942
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
15943
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
15944
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
15945
|
+
# instances named example-instance by specifying name != example-instance.
|
15946
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
15947
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
15948
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
15949
|
+
# on resource labels.
|
15950
|
+
# To filter on multiple expressions, provide each separate expression within
|
15951
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
15952
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
15953
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
15954
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
15955
|
+
# automaticRestart = true).
|
15956
|
+
# @param [Fixnum] max_results
|
15957
|
+
# The maximum number of results per page that should be returned. If the number
|
15958
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
15959
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
15960
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
15961
|
+
# @param [String] order_by
|
15962
|
+
# Sorts list results by a certain order. By default, results are returned in
|
15963
|
+
# alphanumerical order based on the resource name.
|
15964
|
+
# You can also sort results in descending order based on the creation timestamp
|
15965
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
15966
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
15967
|
+
# Use this to sort resources like operations so that the newest operation is
|
15968
|
+
# returned first.
|
15969
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
15970
|
+
# @param [String] page_token
|
15971
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
15972
|
+
# a previous list request to get the next page of results.
|
15973
|
+
# @param [String] fields
|
15974
|
+
# Selector specifying which fields to include in a partial response.
|
15975
|
+
# @param [String] quota_user
|
15976
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
15977
|
+
# characters.
|
15978
|
+
# @param [String] user_ip
|
15979
|
+
# Deprecated. Please use quotaUser instead.
|
15980
|
+
# @param [Google::Apis::RequestOptions] options
|
15981
|
+
# Request-specific options
|
15982
|
+
#
|
15983
|
+
# @yield [result, err] Result & error if block supplied
|
15984
|
+
# @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupManagerList] parsed result object
|
15985
|
+
# @yieldparam err [StandardError] error object if request failed
|
15986
|
+
#
|
15987
|
+
# @return [Google::Apis::ComputeV1::RegionInstanceGroupManagerList]
|
15988
|
+
#
|
15989
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15990
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15991
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15992
|
+
def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15993
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options)
|
15994
|
+
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagerList::Representation
|
15995
|
+
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagerList
|
15996
|
+
command.params['project'] = project unless project.nil?
|
15997
|
+
command.params['region'] = region unless region.nil?
|
15998
|
+
command.query['filter'] = filter unless filter.nil?
|
15999
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16000
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
16001
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16002
|
+
command.query['fields'] = fields unless fields.nil?
|
16003
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16004
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16005
|
+
execute_or_queue_command(command, &block)
|
16006
|
+
end
|
16007
|
+
|
16008
|
+
# Lists the instances in the managed instance group and instances that are
|
16009
|
+
# scheduled to be created. The list includes any current actions that the group
|
16010
|
+
# has scheduled for its instances.
|
16011
|
+
# @param [String] project
|
16012
|
+
# Project ID for this request.
|
16013
|
+
# @param [String] region
|
16014
|
+
# Name of the region scoping this request.
|
16015
|
+
# @param [String] instance_group_manager
|
16016
|
+
# The name of the managed instance group.
|
16017
|
+
# @param [String] filter
|
16018
|
+
# A filter expression that filters resources listed in the response. The
|
16019
|
+
# expression must specify the field name, a comparison operator, and the value
|
16020
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
16021
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
16022
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
16023
|
+
# instances named example-instance by specifying name != example-instance.
|
16024
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
16025
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
16026
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
16027
|
+
# on resource labels.
|
16028
|
+
# To filter on multiple expressions, provide each separate expression within
|
16029
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
16030
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
16031
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
16032
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
16033
|
+
# automaticRestart = true).
|
16034
|
+
# @param [Fixnum] max_results
|
16035
|
+
# The maximum number of results per page that should be returned. If the number
|
16036
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
16037
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
16038
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
16039
|
+
# @param [String] order_by
|
16040
|
+
# Sorts list results by a certain order. By default, results are returned in
|
16041
|
+
# alphanumerical order based on the resource name.
|
16042
|
+
# You can also sort results in descending order based on the creation timestamp
|
16043
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
16044
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
16045
|
+
# Use this to sort resources like operations so that the newest operation is
|
16046
|
+
# returned first.
|
16047
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
16048
|
+
# @param [String] page_token
|
16049
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
16050
|
+
# a previous list request to get the next page of results.
|
16051
|
+
# @param [String] fields
|
16052
|
+
# Selector specifying which fields to include in a partial response.
|
16053
|
+
# @param [String] quota_user
|
16054
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16055
|
+
# characters.
|
16056
|
+
# @param [String] user_ip
|
16057
|
+
# Deprecated. Please use quotaUser instead.
|
16058
|
+
# @param [Google::Apis::RequestOptions] options
|
16059
|
+
# Request-specific options
|
16060
|
+
#
|
16061
|
+
# @yield [result, err] Result & error if block supplied
|
16062
|
+
# @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse] parsed result object
|
16063
|
+
# @yieldparam err [StandardError] error object if request failed
|
16064
|
+
#
|
16065
|
+
# @return [Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse]
|
16066
|
+
#
|
16067
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16068
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16069
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16070
|
+
def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16071
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
16072
|
+
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse::Representation
|
16073
|
+
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse
|
16074
|
+
command.params['project'] = project unless project.nil?
|
16075
|
+
command.params['region'] = region unless region.nil?
|
16076
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
16077
|
+
command.query['filter'] = filter unless filter.nil?
|
16078
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16079
|
+
command.query['order_by'] = order_by unless order_by.nil?
|
16080
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16081
|
+
command.query['fields'] = fields unless fields.nil?
|
16082
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16083
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16084
|
+
execute_or_queue_command(command, &block)
|
16085
|
+
end
|
16086
|
+
|
16087
|
+
# Updates a managed instance group using the information that you specify in the
|
16088
|
+
# request. This operation is marked as DONE when the group is patched even if
|
16089
|
+
# the instances in the group are still in the process of being patched. You must
|
16090
|
+
# separately verify the status of the individual instances with the
|
16091
|
+
# listmanagedinstances method. This method supports PATCH semantics and uses the
|
16092
|
+
# JSON merge patch format and processing rules.
|
16093
|
+
# @param [String] project
|
16094
|
+
# Project ID for this request.
|
16095
|
+
# @param [String] region
|
16096
|
+
# Name of the region scoping this request.
|
16097
|
+
# @param [String] instance_group_manager
|
16098
|
+
# The name of the instance group manager.
|
16099
|
+
# @param [Google::Apis::ComputeV1::InstanceGroupManager] instance_group_manager_object
|
16100
|
+
# @param [String] request_id
|
16101
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16102
|
+
# that if you must retry your request, the server will know to ignore the
|
16103
|
+
# request if it has already been completed.
|
16104
|
+
# For example, consider a situation where you make an initial request and the
|
16105
|
+
# request times out. If you make the request again with the same request ID, the
|
16106
|
+
# server can check if original operation with the same request ID was received,
|
16107
|
+
# and if so, will ignore the second request. This prevents clients from
|
16108
|
+
# accidentally creating duplicate commitments.
|
16109
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16110
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16111
|
+
# @param [String] fields
|
16112
|
+
# Selector specifying which fields to include in a partial response.
|
16113
|
+
# @param [String] quota_user
|
16114
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16115
|
+
# characters.
|
16116
|
+
# @param [String] user_ip
|
16117
|
+
# Deprecated. Please use quotaUser instead.
|
16118
|
+
# @param [Google::Apis::RequestOptions] options
|
16119
|
+
# Request-specific options
|
16120
|
+
#
|
16121
|
+
# @yield [result, err] Result & error if block supplied
|
16122
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16123
|
+
# @yieldparam err [StandardError] error object if request failed
|
16124
|
+
#
|
16125
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16126
|
+
#
|
16127
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16128
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16129
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16130
|
+
def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16131
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
16132
|
+
command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation
|
16133
|
+
command.request_object = instance_group_manager_object
|
16134
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16135
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16136
|
+
command.params['project'] = project unless project.nil?
|
16137
|
+
command.params['region'] = region unless region.nil?
|
16138
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
16139
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16140
|
+
command.query['fields'] = fields unless fields.nil?
|
16141
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16142
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16143
|
+
execute_or_queue_command(command, &block)
|
16144
|
+
end
|
16145
|
+
|
16146
|
+
# Flags the specified instances in the managed instance group to be immediately
|
16147
|
+
# recreated. The instances are deleted and recreated using the current instance
|
16148
|
+
# template for the managed instance group. This operation is marked as DONE when
|
16149
|
+
# the flag is set even if the instances have not yet been recreated. You must
|
16150
|
+
# separately verify the status of the recreating action with the
|
16151
|
+
# listmanagedinstances method.
|
16152
|
+
# If the group is part of a backend service that has enabled connection draining,
|
16153
|
+
# it can take up to 60 seconds after the connection draining duration has
|
16154
|
+
# elapsed before the VM instance is removed or deleted.
|
16155
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
16156
|
+
# @param [String] project
|
16157
|
+
# Project ID for this request.
|
16158
|
+
# @param [String] region
|
16159
|
+
# Name of the region scoping this request.
|
16160
|
+
# @param [String] instance_group_manager
|
16161
|
+
# Name of the managed instance group.
|
16162
|
+
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object
|
16163
|
+
# @param [String] request_id
|
16164
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16165
|
+
# that if you must retry your request, the server will know to ignore the
|
16166
|
+
# request if it has already been completed.
|
16167
|
+
# For example, consider a situation where you make an initial request and the
|
16168
|
+
# request times out. If you make the request again with the same request ID, the
|
16169
|
+
# server can check if original operation with the same request ID was received,
|
16170
|
+
# and if so, will ignore the second request. This prevents clients from
|
16171
|
+
# accidentally creating duplicate commitments.
|
16172
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16173
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16174
|
+
# @param [String] fields
|
16175
|
+
# Selector specifying which fields to include in a partial response.
|
16176
|
+
# @param [String] quota_user
|
16177
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16178
|
+
# characters.
|
16179
|
+
# @param [String] user_ip
|
16180
|
+
# Deprecated. Please use quotaUser instead.
|
16181
|
+
# @param [Google::Apis::RequestOptions] options
|
16182
|
+
# Request-specific options
|
16183
|
+
#
|
16184
|
+
# @yield [result, err] Result & error if block supplied
|
16185
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16186
|
+
# @yieldparam err [StandardError] error object if request failed
|
16187
|
+
#
|
16188
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16189
|
+
#
|
16190
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16191
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16192
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16193
|
+
def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16194
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
|
16195
|
+
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest::Representation
|
16196
|
+
command.request_object = region_instance_group_managers_recreate_request_object
|
16197
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16198
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16199
|
+
command.params['project'] = project unless project.nil?
|
16200
|
+
command.params['region'] = region unless region.nil?
|
16201
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
16202
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16203
|
+
command.query['fields'] = fields unless fields.nil?
|
16204
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16205
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16206
|
+
execute_or_queue_command(command, &block)
|
16207
|
+
end
|
16208
|
+
|
16209
|
+
# Changes the intended size of the managed instance group. If you increase the
|
16210
|
+
# size, the group creates new instances using the current instance template. If
|
16211
|
+
# you decrease the size, the group deletes one or more instances.
|
16212
|
+
# The resize operation is marked DONE if the resize request is successful. The
|
16213
|
+
# underlying actions take additional time. You must separately verify the status
|
16214
|
+
# of the creating or deleting actions with the listmanagedinstances method.
|
16215
|
+
# If the group is part of a backend service that has enabled connection draining,
|
16216
|
+
# it can take up to 60 seconds after the connection draining duration has
|
16217
|
+
# elapsed before the VM instance is removed or deleted.
|
16218
|
+
# @param [String] project
|
16219
|
+
# Project ID for this request.
|
16220
|
+
# @param [String] region
|
16221
|
+
# Name of the region scoping this request.
|
16222
|
+
# @param [String] instance_group_manager
|
16223
|
+
# Name of the managed instance group.
|
16224
|
+
# @param [Fixnum] size
|
16225
|
+
# Number of instances that should exist in this instance group manager.
|
16226
|
+
# @param [String] request_id
|
16227
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16228
|
+
# that if you must retry your request, the server will know to ignore the
|
16229
|
+
# request if it has already been completed.
|
16230
|
+
# For example, consider a situation where you make an initial request and the
|
16231
|
+
# request times out. If you make the request again with the same request ID, the
|
16232
|
+
# server can check if original operation with the same request ID was received,
|
16233
|
+
# and if so, will ignore the second request. This prevents clients from
|
16234
|
+
# accidentally creating duplicate commitments.
|
16235
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16236
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16237
|
+
# @param [String] fields
|
16238
|
+
# Selector specifying which fields to include in a partial response.
|
16239
|
+
# @param [String] quota_user
|
16240
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16241
|
+
# characters.
|
16242
|
+
# @param [String] user_ip
|
16243
|
+
# Deprecated. Please use quotaUser instead.
|
16244
|
+
# @param [Google::Apis::RequestOptions] options
|
16245
|
+
# Request-specific options
|
16246
|
+
#
|
16247
|
+
# @yield [result, err] Result & error if block supplied
|
16248
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16249
|
+
# @yieldparam err [StandardError] error object if request failed
|
16250
|
+
#
|
16251
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16252
|
+
#
|
16253
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16254
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16255
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16256
|
+
def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16257
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options)
|
16258
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16259
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16260
|
+
command.params['project'] = project unless project.nil?
|
16261
|
+
command.params['region'] = region unless region.nil?
|
16262
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
16263
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16264
|
+
command.query['size'] = size unless size.nil?
|
16265
|
+
command.query['fields'] = fields unless fields.nil?
|
16266
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16267
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16268
|
+
execute_or_queue_command(command, &block)
|
16269
|
+
end
|
16270
|
+
|
16271
|
+
# Sets the instance template to use when creating new instances or recreating
|
16272
|
+
# instances in this group. Existing instances are not affected.
|
16273
|
+
# @param [String] project
|
16274
|
+
# Project ID for this request.
|
16275
|
+
# @param [String] region
|
16276
|
+
# Name of the region scoping this request.
|
16277
|
+
# @param [String] instance_group_manager
|
16278
|
+
# The name of the managed instance group.
|
16279
|
+
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest] region_instance_group_managers_set_template_request_object
|
16280
|
+
# @param [String] request_id
|
16281
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16282
|
+
# that if you must retry your request, the server will know to ignore the
|
16283
|
+
# request if it has already been completed.
|
16284
|
+
# For example, consider a situation where you make an initial request and the
|
16285
|
+
# request times out. If you make the request again with the same request ID, the
|
16286
|
+
# server can check if original operation with the same request ID was received,
|
16287
|
+
# and if so, will ignore the second request. This prevents clients from
|
16288
|
+
# accidentally creating duplicate commitments.
|
16289
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16290
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16291
|
+
# @param [String] fields
|
16292
|
+
# Selector specifying which fields to include in a partial response.
|
16293
|
+
# @param [String] quota_user
|
16294
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16295
|
+
# characters.
|
16296
|
+
# @param [String] user_ip
|
16297
|
+
# Deprecated. Please use quotaUser instead.
|
16298
|
+
# @param [Google::Apis::RequestOptions] options
|
16299
|
+
# Request-specific options
|
16300
|
+
#
|
16301
|
+
# @yield [result, err] Result & error if block supplied
|
16302
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16303
|
+
# @yieldparam err [StandardError] error object if request failed
|
16304
|
+
#
|
16305
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16306
|
+
#
|
16307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16310
|
+
def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16311
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
|
16312
|
+
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest::Representation
|
16313
|
+
command.request_object = region_instance_group_managers_set_template_request_object
|
16314
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16315
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16316
|
+
command.params['project'] = project unless project.nil?
|
16317
|
+
command.params['region'] = region unless region.nil?
|
16318
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
16319
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16320
|
+
command.query['fields'] = fields unless fields.nil?
|
16321
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16322
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16323
|
+
execute_or_queue_command(command, &block)
|
16324
|
+
end
|
16325
|
+
|
16326
|
+
# Modifies the target pools to which all new instances in this group are
|
16327
|
+
# assigned. Existing instances in the group are not affected.
|
16328
|
+
# @param [String] project
|
16329
|
+
# Project ID for this request.
|
16330
|
+
# @param [String] region
|
16331
|
+
# Name of the region scoping this request.
|
16332
|
+
# @param [String] instance_group_manager
|
16333
|
+
# Name of the managed instance group.
|
16334
|
+
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object
|
16335
|
+
# @param [String] request_id
|
16336
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16337
|
+
# that if you must retry your request, the server will know to ignore the
|
16338
|
+
# request if it has already been completed.
|
16339
|
+
# For example, consider a situation where you make an initial request and the
|
16340
|
+
# request times out. If you make the request again with the same request ID, the
|
16341
|
+
# server can check if original operation with the same request ID was received,
|
16342
|
+
# and if so, will ignore the second request. This prevents clients from
|
16343
|
+
# accidentally creating duplicate commitments.
|
16344
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16345
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16346
|
+
# @param [String] fields
|
16347
|
+
# Selector specifying which fields to include in a partial response.
|
16348
|
+
# @param [String] quota_user
|
16349
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16350
|
+
# characters.
|
16351
|
+
# @param [String] user_ip
|
16352
|
+
# Deprecated. Please use quotaUser instead.
|
16353
|
+
# @param [Google::Apis::RequestOptions] options
|
16354
|
+
# Request-specific options
|
16355
|
+
#
|
16356
|
+
# @yield [result, err] Result & error if block supplied
|
16357
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16358
|
+
# @yieldparam err [StandardError] error object if request failed
|
16359
|
+
#
|
16360
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16361
|
+
#
|
16362
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16363
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16364
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16365
|
+
def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16366
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
|
16367
|
+
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
|
16368
|
+
command.request_object = region_instance_group_managers_set_target_pools_request_object
|
16369
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16370
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16371
|
+
command.params['project'] = project unless project.nil?
|
16372
|
+
command.params['region'] = region unless region.nil?
|
16373
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
16374
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16375
|
+
command.query['fields'] = fields unless fields.nil?
|
16376
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16377
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16378
|
+
execute_or_queue_command(command, &block)
|
16379
|
+
end
|
16380
|
+
|
16381
|
+
# Returns the specified instance group resource.
|
16382
|
+
# @param [String] project
|
16383
|
+
# Project ID for this request.
|
16384
|
+
# @param [String] region
|
16385
|
+
# Name of the region scoping this request.
|
16386
|
+
# @param [String] instance_group
|
16387
|
+
# Name of the instance group resource to return.
|
16388
|
+
# @param [String] fields
|
16389
|
+
# Selector specifying which fields to include in a partial response.
|
16390
|
+
# @param [String] quota_user
|
16391
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16392
|
+
# characters.
|
16393
|
+
# @param [String] user_ip
|
16394
|
+
# Deprecated. Please use quotaUser instead.
|
16395
|
+
# @param [Google::Apis::RequestOptions] options
|
16396
|
+
# Request-specific options
|
16397
|
+
#
|
16398
|
+
# @yield [result, err] Result & error if block supplied
|
16399
|
+
# @yieldparam result [Google::Apis::ComputeV1::InstanceGroup] parsed result object
|
16400
|
+
# @yieldparam err [StandardError] error object if request failed
|
16401
|
+
#
|
16402
|
+
# @return [Google::Apis::ComputeV1::InstanceGroup]
|
16403
|
+
#
|
16404
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16405
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16406
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16407
|
+
def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16408
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
|
16409
|
+
command.response_representation = Google::Apis::ComputeV1::InstanceGroup::Representation
|
16410
|
+
command.response_class = Google::Apis::ComputeV1::InstanceGroup
|
16411
|
+
command.params['project'] = project unless project.nil?
|
16412
|
+
command.params['region'] = region unless region.nil?
|
16413
|
+
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
16414
|
+
command.query['fields'] = fields unless fields.nil?
|
16415
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16416
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16417
|
+
execute_or_queue_command(command, &block)
|
16418
|
+
end
|
16419
|
+
|
16420
|
+
# Retrieves the list of instance group resources contained within the specified
|
16421
|
+
# region.
|
16422
|
+
# @param [String] project
|
16423
|
+
# Project ID for this request.
|
16424
|
+
# @param [String] region
|
16425
|
+
# Name of the region scoping this request.
|
16426
|
+
# @param [String] filter
|
16427
|
+
# A filter expression that filters resources listed in the response. The
|
16428
|
+
# expression must specify the field name, a comparison operator, and the value
|
16429
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
16430
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
16431
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
16432
|
+
# instances named example-instance by specifying name != example-instance.
|
16433
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
16434
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
16435
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
16436
|
+
# on resource labels.
|
16437
|
+
# To filter on multiple expressions, provide each separate expression within
|
16438
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
16439
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
16440
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
16441
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
16442
|
+
# automaticRestart = true).
|
16443
|
+
# @param [Fixnum] max_results
|
16444
|
+
# The maximum number of results per page that should be returned. If the number
|
16445
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
16446
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
16447
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
16448
|
+
# @param [String] order_by
|
16449
|
+
# Sorts list results by a certain order. By default, results are returned in
|
16450
|
+
# alphanumerical order based on the resource name.
|
16451
|
+
# You can also sort results in descending order based on the creation timestamp
|
16452
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
16453
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
16454
|
+
# Use this to sort resources like operations so that the newest operation is
|
16455
|
+
# returned first.
|
16456
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
16457
|
+
# @param [String] page_token
|
16458
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
16459
|
+
# a previous list request to get the next page of results.
|
16460
|
+
# @param [String] fields
|
16461
|
+
# Selector specifying which fields to include in a partial response.
|
16462
|
+
# @param [String] quota_user
|
16463
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16464
|
+
# characters.
|
16465
|
+
# @param [String] user_ip
|
16466
|
+
# Deprecated. Please use quotaUser instead.
|
16467
|
+
# @param [Google::Apis::RequestOptions] options
|
16468
|
+
# Request-specific options
|
16469
|
+
#
|
16470
|
+
# @yield [result, err] Result & error if block supplied
|
16471
|
+
# @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupList] parsed result object
|
16472
|
+
# @yieldparam err [StandardError] error object if request failed
|
16473
|
+
#
|
16474
|
+
# @return [Google::Apis::ComputeV1::RegionInstanceGroupList]
|
16475
|
+
#
|
16476
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16477
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16478
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16479
|
+
def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16480
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options)
|
16481
|
+
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupList::Representation
|
16482
|
+
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupList
|
16483
|
+
command.params['project'] = project unless project.nil?
|
16484
|
+
command.params['region'] = region unless region.nil?
|
16485
|
+
command.query['filter'] = filter unless filter.nil?
|
16486
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16487
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
16488
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16489
|
+
command.query['fields'] = fields unless fields.nil?
|
16490
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16491
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16492
|
+
execute_or_queue_command(command, &block)
|
16493
|
+
end
|
16494
|
+
|
16495
|
+
# Lists the instances in the specified instance group and displays information
|
16496
|
+
# about the named ports. Depending on the specified options, this method can
|
16497
|
+
# list all instances or only the instances that are running.
|
16498
|
+
# @param [String] project
|
16499
|
+
# Project ID for this request.
|
16500
|
+
# @param [String] region
|
16501
|
+
# Name of the region scoping this request.
|
16502
|
+
# @param [String] instance_group
|
16503
|
+
# Name of the regional instance group for which we want to list the instances.
|
16504
|
+
# @param [Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object
|
16505
|
+
# @param [String] filter
|
16506
|
+
# A filter expression that filters resources listed in the response. The
|
16507
|
+
# expression must specify the field name, a comparison operator, and the value
|
16508
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
16509
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
16510
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
16511
|
+
# instances named example-instance by specifying name != example-instance.
|
16512
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
16513
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
16514
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
16515
|
+
# on resource labels.
|
16516
|
+
# To filter on multiple expressions, provide each separate expression within
|
16517
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
16518
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
16519
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
16520
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
16521
|
+
# automaticRestart = true).
|
16522
|
+
# @param [Fixnum] max_results
|
16523
|
+
# The maximum number of results per page that should be returned. If the number
|
16524
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
16525
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
16526
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
16527
|
+
# @param [String] order_by
|
16528
|
+
# Sorts list results by a certain order. By default, results are returned in
|
16529
|
+
# alphanumerical order based on the resource name.
|
16530
|
+
# You can also sort results in descending order based on the creation timestamp
|
16531
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
16532
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
16533
|
+
# Use this to sort resources like operations so that the newest operation is
|
16534
|
+
# returned first.
|
16535
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
16536
|
+
# @param [String] page_token
|
16537
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
16538
|
+
# a previous list request to get the next page of results.
|
16539
|
+
# @param [String] fields
|
16540
|
+
# Selector specifying which fields to include in a partial response.
|
16541
|
+
# @param [String] quota_user
|
16542
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16543
|
+
# characters.
|
16544
|
+
# @param [String] user_ip
|
16545
|
+
# Deprecated. Please use quotaUser instead.
|
16546
|
+
# @param [Google::Apis::RequestOptions] options
|
16547
|
+
# Request-specific options
|
16548
|
+
#
|
16549
|
+
# @yield [result, err] Result & error if block supplied
|
16550
|
+
# @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupsListInstances] parsed result object
|
16551
|
+
# @yieldparam err [StandardError] error object if request failed
|
16552
|
+
#
|
16553
|
+
# @return [Google::Apis::ComputeV1::RegionInstanceGroupsListInstances]
|
16554
|
+
#
|
16555
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16556
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16557
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16558
|
+
def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16559
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
|
16560
|
+
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest::Representation
|
16561
|
+
command.request_object = region_instance_groups_list_instances_request_object
|
16562
|
+
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances::Representation
|
16563
|
+
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances
|
16564
|
+
command.params['project'] = project unless project.nil?
|
16565
|
+
command.params['region'] = region unless region.nil?
|
16566
|
+
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
16567
|
+
command.query['filter'] = filter unless filter.nil?
|
16568
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16569
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
16570
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16571
|
+
command.query['fields'] = fields unless fields.nil?
|
16572
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16573
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16574
|
+
execute_or_queue_command(command, &block)
|
16575
|
+
end
|
16576
|
+
|
16577
|
+
# Sets the named ports for the specified regional instance group.
|
16578
|
+
# @param [String] project
|
16579
|
+
# Project ID for this request.
|
16580
|
+
# @param [String] region
|
16581
|
+
# Name of the region scoping this request.
|
16582
|
+
# @param [String] instance_group
|
16583
|
+
# The name of the regional instance group where the named ports are updated.
|
16584
|
+
# @param [Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
|
16585
|
+
# @param [String] request_id
|
16586
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16587
|
+
# that if you must retry your request, the server will know to ignore the
|
16588
|
+
# request if it has already been completed.
|
16589
|
+
# For example, consider a situation where you make an initial request and the
|
16590
|
+
# request times out. If you make the request again with the same request ID, the
|
16591
|
+
# server can check if original operation with the same request ID was received,
|
16592
|
+
# and if so, will ignore the second request. This prevents clients from
|
16593
|
+
# accidentally creating duplicate commitments.
|
16594
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16595
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16596
|
+
# @param [String] fields
|
16597
|
+
# Selector specifying which fields to include in a partial response.
|
16598
|
+
# @param [String] quota_user
|
16599
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16600
|
+
# characters.
|
16601
|
+
# @param [String] user_ip
|
16602
|
+
# Deprecated. Please use quotaUser instead.
|
16603
|
+
# @param [Google::Apis::RequestOptions] options
|
16604
|
+
# Request-specific options
|
16605
|
+
#
|
16606
|
+
# @yield [result, err] Result & error if block supplied
|
16607
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16608
|
+
# @yieldparam err [StandardError] error object if request failed
|
16609
|
+
#
|
16610
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16611
|
+
#
|
16612
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16613
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16614
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16615
|
+
def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16616
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
|
16617
|
+
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest::Representation
|
16618
|
+
command.request_object = region_instance_groups_set_named_ports_request_object
|
16619
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16620
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16621
|
+
command.params['project'] = project unless project.nil?
|
16622
|
+
command.params['region'] = region unless region.nil?
|
16623
|
+
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
16624
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16625
|
+
command.query['fields'] = fields unless fields.nil?
|
16626
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16627
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16628
|
+
execute_or_queue_command(command, &block)
|
16629
|
+
end
|
16630
|
+
|
16631
|
+
# Deletes the specified region-specific Operations resource.
|
16632
|
+
# @param [String] project
|
16633
|
+
# Project ID for this request.
|
16634
|
+
# @param [String] region
|
16635
|
+
# Name of the region for this request.
|
16636
|
+
# @param [String] operation
|
16637
|
+
# Name of the Operations resource to delete.
|
16638
|
+
# @param [String] fields
|
16639
|
+
# Selector specifying which fields to include in a partial response.
|
16640
|
+
# @param [String] quota_user
|
16641
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16642
|
+
# characters.
|
16643
|
+
# @param [String] user_ip
|
16644
|
+
# Deprecated. Please use quotaUser instead.
|
16645
|
+
# @param [Google::Apis::RequestOptions] options
|
16646
|
+
# Request-specific options
|
16647
|
+
#
|
16648
|
+
# @yield [result, err] Result & error if block supplied
|
16649
|
+
# @yieldparam result [NilClass] No result returned for this method
|
16650
|
+
# @yieldparam err [StandardError] error object if request failed
|
16651
|
+
#
|
16652
|
+
# @return [void]
|
16653
|
+
#
|
16654
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16655
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16656
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16657
|
+
def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16658
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
|
16659
|
+
command.params['project'] = project unless project.nil?
|
16660
|
+
command.params['region'] = region unless region.nil?
|
16661
|
+
command.params['operation'] = operation unless operation.nil?
|
16662
|
+
command.query['fields'] = fields unless fields.nil?
|
16663
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16664
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16665
|
+
execute_or_queue_command(command, &block)
|
16666
|
+
end
|
16667
|
+
|
16668
|
+
# Retrieves the specified region-specific Operations resource.
|
16669
|
+
# @param [String] project
|
16670
|
+
# Project ID for this request.
|
16671
|
+
# @param [String] region
|
16672
|
+
# Name of the region for this request.
|
16673
|
+
# @param [String] operation
|
16674
|
+
# Name of the Operations resource to return.
|
16675
|
+
# @param [String] fields
|
16676
|
+
# Selector specifying which fields to include in a partial response.
|
16677
|
+
# @param [String] quota_user
|
16678
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16679
|
+
# characters.
|
16680
|
+
# @param [String] user_ip
|
16681
|
+
# Deprecated. Please use quotaUser instead.
|
16682
|
+
# @param [Google::Apis::RequestOptions] options
|
16683
|
+
# Request-specific options
|
16684
|
+
#
|
16685
|
+
# @yield [result, err] Result & error if block supplied
|
16686
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16687
|
+
# @yieldparam err [StandardError] error object if request failed
|
16688
|
+
#
|
16689
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16690
|
+
#
|
16691
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16692
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16693
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16694
|
+
def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16695
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
|
16696
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16697
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16698
|
+
command.params['project'] = project unless project.nil?
|
16699
|
+
command.params['region'] = region unless region.nil?
|
16700
|
+
command.params['operation'] = operation unless operation.nil?
|
16701
|
+
command.query['fields'] = fields unless fields.nil?
|
16702
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16703
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16704
|
+
execute_or_queue_command(command, &block)
|
16705
|
+
end
|
16706
|
+
|
16707
|
+
# Retrieves a list of Operation resources contained within the specified region.
|
16708
|
+
# @param [String] project
|
16709
|
+
# Project ID for this request.
|
16710
|
+
# @param [String] region
|
16711
|
+
# Name of the region for this request.
|
16712
|
+
# @param [String] filter
|
16713
|
+
# A filter expression that filters resources listed in the response. The
|
16714
|
+
# expression must specify the field name, a comparison operator, and the value
|
16715
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
16716
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
16717
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
16718
|
+
# instances named example-instance by specifying name != example-instance.
|
16719
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
16720
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
16721
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
16722
|
+
# on resource labels.
|
16723
|
+
# To filter on multiple expressions, provide each separate expression within
|
16724
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
16725
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
16726
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
16727
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
16728
|
+
# automaticRestart = true).
|
16729
|
+
# @param [Fixnum] max_results
|
16730
|
+
# The maximum number of results per page that should be returned. If the number
|
16731
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
16732
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
16733
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
16734
|
+
# @param [String] order_by
|
16735
|
+
# Sorts list results by a certain order. By default, results are returned in
|
16736
|
+
# alphanumerical order based on the resource name.
|
16737
|
+
# You can also sort results in descending order based on the creation timestamp
|
16738
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
16739
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
16740
|
+
# Use this to sort resources like operations so that the newest operation is
|
16741
|
+
# returned first.
|
16742
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
16743
|
+
# @param [String] page_token
|
16744
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
16745
|
+
# a previous list request to get the next page of results.
|
16746
|
+
# @param [String] fields
|
16747
|
+
# Selector specifying which fields to include in a partial response.
|
16748
|
+
# @param [String] quota_user
|
16749
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16750
|
+
# characters.
|
16751
|
+
# @param [String] user_ip
|
16752
|
+
# Deprecated. Please use quotaUser instead.
|
16753
|
+
# @param [Google::Apis::RequestOptions] options
|
16754
|
+
# Request-specific options
|
16755
|
+
#
|
16756
|
+
# @yield [result, err] Result & error if block supplied
|
16757
|
+
# @yieldparam result [Google::Apis::ComputeV1::OperationList] parsed result object
|
16758
|
+
# @yieldparam err [StandardError] error object if request failed
|
16759
|
+
#
|
16760
|
+
# @return [Google::Apis::ComputeV1::OperationList]
|
16761
|
+
#
|
16762
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16763
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16764
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16765
|
+
def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16766
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
|
16767
|
+
command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
|
16768
|
+
command.response_class = Google::Apis::ComputeV1::OperationList
|
16769
|
+
command.params['project'] = project unless project.nil?
|
16770
|
+
command.params['region'] = region unless region.nil?
|
16771
|
+
command.query['filter'] = filter unless filter.nil?
|
16772
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16773
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
16774
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16775
|
+
command.query['fields'] = fields unless fields.nil?
|
16776
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16777
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16778
|
+
execute_or_queue_command(command, &block)
|
16779
|
+
end
|
16780
|
+
|
16781
|
+
# Deletes the specified SslCertificate resource in the region.
|
16782
|
+
# @param [String] project
|
16783
|
+
# Project ID for this request.
|
16784
|
+
# @param [String] region
|
16785
|
+
# Name of the region scoping this request.
|
16786
|
+
# @param [String] ssl_certificate
|
16787
|
+
# Name of the SslCertificate resource to delete.
|
16788
|
+
# @param [String] request_id
|
16789
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16790
|
+
# that if you must retry your request, the server will know to ignore the
|
16791
|
+
# request if it has already been completed.
|
16792
|
+
# For example, consider a situation where you make an initial request and the
|
16793
|
+
# request times out. If you make the request again with the same request ID, the
|
16794
|
+
# server can check if original operation with the same request ID was received,
|
16795
|
+
# and if so, will ignore the second request. This prevents clients from
|
16796
|
+
# accidentally creating duplicate commitments.
|
16797
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16798
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16799
|
+
# @param [String] fields
|
16800
|
+
# Selector specifying which fields to include in a partial response.
|
16801
|
+
# @param [String] quota_user
|
16802
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16803
|
+
# characters.
|
16804
|
+
# @param [String] user_ip
|
16805
|
+
# Deprecated. Please use quotaUser instead.
|
16806
|
+
# @param [Google::Apis::RequestOptions] options
|
16807
|
+
# Request-specific options
|
16808
|
+
#
|
16809
|
+
# @yield [result, err] Result & error if block supplied
|
16810
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16811
|
+
# @yieldparam err [StandardError] error object if request failed
|
16812
|
+
#
|
16813
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16814
|
+
#
|
16815
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16816
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16817
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16818
|
+
def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16819
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
|
16820
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16821
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16822
|
+
command.params['project'] = project unless project.nil?
|
16823
|
+
command.params['region'] = region unless region.nil?
|
16824
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
16825
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16826
|
+
command.query['fields'] = fields unless fields.nil?
|
16827
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16828
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16829
|
+
execute_or_queue_command(command, &block)
|
16830
|
+
end
|
16831
|
+
|
16832
|
+
# Returns the specified SslCertificate resource in the specified region. Get a
|
16833
|
+
# list of available SSL certificates by making a list() request.
|
16834
|
+
# @param [String] project
|
16835
|
+
# Project ID for this request.
|
16836
|
+
# @param [String] region
|
16837
|
+
# Name of the region scoping this request.
|
16838
|
+
# @param [String] ssl_certificate
|
16839
|
+
# Name of the SslCertificate resource to return.
|
16840
|
+
# @param [String] fields
|
16841
|
+
# Selector specifying which fields to include in a partial response.
|
16842
|
+
# @param [String] quota_user
|
16843
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16844
|
+
# characters.
|
16845
|
+
# @param [String] user_ip
|
16846
|
+
# Deprecated. Please use quotaUser instead.
|
16847
|
+
# @param [Google::Apis::RequestOptions] options
|
16848
|
+
# Request-specific options
|
16849
|
+
#
|
16850
|
+
# @yield [result, err] Result & error if block supplied
|
16851
|
+
# @yieldparam result [Google::Apis::ComputeV1::SslCertificate] parsed result object
|
16852
|
+
# @yieldparam err [StandardError] error object if request failed
|
16853
|
+
#
|
16854
|
+
# @return [Google::Apis::ComputeV1::SslCertificate]
|
16855
|
+
#
|
16856
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16857
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16858
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16859
|
+
def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16860
|
+
command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
|
16861
|
+
command.response_representation = Google::Apis::ComputeV1::SslCertificate::Representation
|
16862
|
+
command.response_class = Google::Apis::ComputeV1::SslCertificate
|
16863
|
+
command.params['project'] = project unless project.nil?
|
16864
|
+
command.params['region'] = region unless region.nil?
|
16865
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
16866
|
+
command.query['fields'] = fields unless fields.nil?
|
16867
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16868
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16869
|
+
execute_or_queue_command(command, &block)
|
16870
|
+
end
|
16871
|
+
|
16872
|
+
# Creates a SslCertificate resource in the specified project and region using
|
16873
|
+
# the data included in the request
|
16874
|
+
# @param [String] project
|
16875
|
+
# Project ID for this request.
|
16876
|
+
# @param [String] region
|
16877
|
+
# Name of the region scoping this request.
|
16878
|
+
# @param [Google::Apis::ComputeV1::SslCertificate] ssl_certificate_object
|
16879
|
+
# @param [String] request_id
|
16880
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
16881
|
+
# that if you must retry your request, the server will know to ignore the
|
16882
|
+
# request if it has already been completed.
|
16883
|
+
# For example, consider a situation where you make an initial request and the
|
16884
|
+
# request times out. If you make the request again with the same request ID, the
|
16885
|
+
# server can check if original operation with the same request ID was received,
|
16886
|
+
# and if so, will ignore the second request. This prevents clients from
|
16887
|
+
# accidentally creating duplicate commitments.
|
16888
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16889
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
16890
|
+
# @param [String] fields
|
16891
|
+
# Selector specifying which fields to include in a partial response.
|
16892
|
+
# @param [String] quota_user
|
16893
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16894
|
+
# characters.
|
16895
|
+
# @param [String] user_ip
|
16896
|
+
# Deprecated. Please use quotaUser instead.
|
16897
|
+
# @param [Google::Apis::RequestOptions] options
|
16898
|
+
# Request-specific options
|
16899
|
+
#
|
16900
|
+
# @yield [result, err] Result & error if block supplied
|
16901
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16902
|
+
# @yieldparam err [StandardError] error object if request failed
|
16903
|
+
#
|
16904
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16905
|
+
#
|
16906
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16907
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16908
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16909
|
+
def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16910
|
+
command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates', options)
|
16911
|
+
command.request_representation = Google::Apis::ComputeV1::SslCertificate::Representation
|
16912
|
+
command.request_object = ssl_certificate_object
|
16913
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16914
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16915
|
+
command.params['project'] = project unless project.nil?
|
16916
|
+
command.params['region'] = region unless region.nil?
|
16917
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16918
|
+
command.query['fields'] = fields unless fields.nil?
|
16919
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16920
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16921
|
+
execute_or_queue_command(command, &block)
|
16922
|
+
end
|
16923
|
+
|
16924
|
+
# Retrieves the list of SslCertificate resources available to the specified
|
16925
|
+
# project in the specified region.
|
16926
|
+
# @param [String] project
|
16927
|
+
# Project ID for this request.
|
16928
|
+
# @param [String] region
|
16929
|
+
# Name of the region scoping this request.
|
16930
|
+
# @param [String] filter
|
16931
|
+
# A filter expression that filters resources listed in the response. The
|
16932
|
+
# expression must specify the field name, a comparison operator, and the value
|
16933
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
16934
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
16935
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
16936
|
+
# instances named example-instance by specifying name != example-instance.
|
16937
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
16938
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
16939
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
16940
|
+
# on resource labels.
|
16941
|
+
# To filter on multiple expressions, provide each separate expression within
|
16942
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
16943
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
16944
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
16945
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
16946
|
+
# automaticRestart = true).
|
16947
|
+
# @param [Fixnum] max_results
|
16948
|
+
# The maximum number of results per page that should be returned. If the number
|
16949
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
16950
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
16951
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
16952
|
+
# @param [String] order_by
|
16953
|
+
# Sorts list results by a certain order. By default, results are returned in
|
16954
|
+
# alphanumerical order based on the resource name.
|
16955
|
+
# You can also sort results in descending order based on the creation timestamp
|
16956
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
16957
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
16958
|
+
# Use this to sort resources like operations so that the newest operation is
|
16959
|
+
# returned first.
|
16960
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
16961
|
+
# @param [String] page_token
|
16962
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
16963
|
+
# a previous list request to get the next page of results.
|
16964
|
+
# @param [String] fields
|
16965
|
+
# Selector specifying which fields to include in a partial response.
|
16966
|
+
# @param [String] quota_user
|
16967
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16968
|
+
# characters.
|
16969
|
+
# @param [String] user_ip
|
16970
|
+
# Deprecated. Please use quotaUser instead.
|
16971
|
+
# @param [Google::Apis::RequestOptions] options
|
16972
|
+
# Request-specific options
|
16973
|
+
#
|
16974
|
+
# @yield [result, err] Result & error if block supplied
|
16975
|
+
# @yieldparam result [Google::Apis::ComputeV1::SslCertificateList] parsed result object
|
16976
|
+
# @yieldparam err [StandardError] error object if request failed
|
16977
|
+
#
|
16978
|
+
# @return [Google::Apis::ComputeV1::SslCertificateList]
|
16979
|
+
#
|
16980
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16981
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16982
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16983
|
+
def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16984
|
+
command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates', options)
|
16985
|
+
command.response_representation = Google::Apis::ComputeV1::SslCertificateList::Representation
|
16986
|
+
command.response_class = Google::Apis::ComputeV1::SslCertificateList
|
16987
|
+
command.params['project'] = project unless project.nil?
|
16988
|
+
command.params['region'] = region unless region.nil?
|
16989
|
+
command.query['filter'] = filter unless filter.nil?
|
16990
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
16991
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
16992
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16993
|
+
command.query['fields'] = fields unless fields.nil?
|
16994
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16995
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
16996
|
+
execute_or_queue_command(command, &block)
|
16997
|
+
end
|
16998
|
+
|
16999
|
+
# Deletes the specified TargetHttpProxy resource.
|
17000
|
+
# @param [String] project
|
17001
|
+
# Project ID for this request.
|
17002
|
+
# @param [String] region
|
17003
|
+
# Name of the region scoping this request.
|
17004
|
+
# @param [String] target_http_proxy
|
17005
|
+
# Name of the TargetHttpProxy resource to delete.
|
17006
|
+
# @param [String] request_id
|
17007
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
17008
|
+
# that if you must retry your request, the server will know to ignore the
|
17009
|
+
# request if it has already been completed.
|
17010
|
+
# For example, consider a situation where you make an initial request and the
|
17011
|
+
# request times out. If you make the request again with the same request ID, the
|
17012
|
+
# server can check if original operation with the same request ID was received,
|
17013
|
+
# and if so, will ignore the second request. This prevents clients from
|
17014
|
+
# accidentally creating duplicate commitments.
|
17015
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
17016
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
17017
|
+
# @param [String] fields
|
17018
|
+
# Selector specifying which fields to include in a partial response.
|
17019
|
+
# @param [String] quota_user
|
17020
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17021
|
+
# characters.
|
17022
|
+
# @param [String] user_ip
|
17023
|
+
# Deprecated. Please use quotaUser instead.
|
17024
|
+
# @param [Google::Apis::RequestOptions] options
|
17025
|
+
# Request-specific options
|
17026
|
+
#
|
17027
|
+
# @yield [result, err] Result & error if block supplied
|
17028
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
17029
|
+
# @yieldparam err [StandardError] error object if request failed
|
17030
|
+
#
|
17031
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
17032
|
+
#
|
17033
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17034
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17035
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17036
|
+
def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17037
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
|
17038
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17039
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
17040
|
+
command.params['project'] = project unless project.nil?
|
17041
|
+
command.params['region'] = region unless region.nil?
|
17042
|
+
command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
|
17043
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
17044
|
+
command.query['fields'] = fields unless fields.nil?
|
17045
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17046
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17047
|
+
execute_or_queue_command(command, &block)
|
17048
|
+
end
|
17049
|
+
|
17050
|
+
# Returns the specified TargetHttpProxy resource in the specified region. Gets a
|
17051
|
+
# list of available target HTTP proxies by making a list() request.
|
17052
|
+
# @param [String] project
|
17053
|
+
# Project ID for this request.
|
17054
|
+
# @param [String] region
|
17055
|
+
# Name of the region scoping this request.
|
17056
|
+
# @param [String] target_http_proxy
|
17057
|
+
# Name of the TargetHttpProxy resource to return.
|
17058
|
+
# @param [String] fields
|
17059
|
+
# Selector specifying which fields to include in a partial response.
|
17060
|
+
# @param [String] quota_user
|
17061
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17062
|
+
# characters.
|
17063
|
+
# @param [String] user_ip
|
17064
|
+
# Deprecated. Please use quotaUser instead.
|
17065
|
+
# @param [Google::Apis::RequestOptions] options
|
17066
|
+
# Request-specific options
|
17067
|
+
#
|
17068
|
+
# @yield [result, err] Result & error if block supplied
|
17069
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetHttpProxy] parsed result object
|
17070
|
+
# @yieldparam err [StandardError] error object if request failed
|
17071
|
+
#
|
17072
|
+
# @return [Google::Apis::ComputeV1::TargetHttpProxy]
|
17073
|
+
#
|
17074
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17075
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17076
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17077
|
+
def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17078
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
|
17079
|
+
command.response_representation = Google::Apis::ComputeV1::TargetHttpProxy::Representation
|
17080
|
+
command.response_class = Google::Apis::ComputeV1::TargetHttpProxy
|
17081
|
+
command.params['project'] = project unless project.nil?
|
17082
|
+
command.params['region'] = region unless region.nil?
|
17083
|
+
command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
|
17084
|
+
command.query['fields'] = fields unless fields.nil?
|
17085
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17086
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17087
|
+
execute_or_queue_command(command, &block)
|
17088
|
+
end
|
17089
|
+
|
17090
|
+
# Creates a TargetHttpProxy resource in the specified project and region using
|
17091
|
+
# the data included in the request.
|
17092
|
+
# @param [String] project
|
17093
|
+
# Project ID for this request.
|
17094
|
+
# @param [String] region
|
17095
|
+
# Name of the region scoping this request.
|
17096
|
+
# @param [Google::Apis::ComputeV1::TargetHttpProxy] target_http_proxy_object
|
17097
|
+
# @param [String] request_id
|
17098
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
17099
|
+
# that if you must retry your request, the server will know to ignore the
|
17100
|
+
# request if it has already been completed.
|
17101
|
+
# For example, consider a situation where you make an initial request and the
|
17102
|
+
# request times out. If you make the request again with the same request ID, the
|
17103
|
+
# server can check if original operation with the same request ID was received,
|
17104
|
+
# and if so, will ignore the second request. This prevents clients from
|
17105
|
+
# accidentally creating duplicate commitments.
|
17106
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
17107
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
17108
|
+
# @param [String] fields
|
17109
|
+
# Selector specifying which fields to include in a partial response.
|
17110
|
+
# @param [String] quota_user
|
17111
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17112
|
+
# characters.
|
17113
|
+
# @param [String] user_ip
|
17114
|
+
# Deprecated. Please use quotaUser instead.
|
17115
|
+
# @param [Google::Apis::RequestOptions] options
|
17116
|
+
# Request-specific options
|
17117
|
+
#
|
17118
|
+
# @yield [result, err] Result & error if block supplied
|
17119
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
17120
|
+
# @yieldparam err [StandardError] error object if request failed
|
17121
|
+
#
|
17122
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
17123
|
+
#
|
17124
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17125
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17126
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17127
|
+
def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17128
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies', options)
|
17129
|
+
command.request_representation = Google::Apis::ComputeV1::TargetHttpProxy::Representation
|
17130
|
+
command.request_object = target_http_proxy_object
|
17131
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17132
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
17133
|
+
command.params['project'] = project unless project.nil?
|
17134
|
+
command.params['region'] = region unless region.nil?
|
17135
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
17136
|
+
command.query['fields'] = fields unless fields.nil?
|
17137
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17138
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17139
|
+
execute_or_queue_command(command, &block)
|
17140
|
+
end
|
17141
|
+
|
17142
|
+
# Retrieves the list of TargetHttpProxy resources available to the specified
|
17143
|
+
# project in the specified region.
|
17144
|
+
# @param [String] project
|
17145
|
+
# Project ID for this request.
|
17146
|
+
# @param [String] region
|
17147
|
+
# Name of the region scoping this request.
|
17148
|
+
# @param [String] filter
|
17149
|
+
# A filter expression that filters resources listed in the response. The
|
17150
|
+
# expression must specify the field name, a comparison operator, and the value
|
17151
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
17152
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
17153
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
17154
|
+
# instances named example-instance by specifying name != example-instance.
|
17155
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
17156
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
17157
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
17158
|
+
# on resource labels.
|
17159
|
+
# To filter on multiple expressions, provide each separate expression within
|
17160
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
17161
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
17162
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
17163
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
17164
|
+
# automaticRestart = true).
|
17165
|
+
# @param [Fixnum] max_results
|
17166
|
+
# The maximum number of results per page that should be returned. If the number
|
17167
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
17168
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
17169
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
17170
|
+
# @param [String] order_by
|
17171
|
+
# Sorts list results by a certain order. By default, results are returned in
|
17172
|
+
# alphanumerical order based on the resource name.
|
17173
|
+
# You can also sort results in descending order based on the creation timestamp
|
17174
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
17175
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
17176
|
+
# Use this to sort resources like operations so that the newest operation is
|
17177
|
+
# returned first.
|
17178
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
17179
|
+
# @param [String] page_token
|
17180
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
15572
17181
|
# a previous list request to get the next page of results.
|
15573
17182
|
# @param [String] fields
|
15574
17183
|
# Selector specifying which fields to include in a partial response.
|
@@ -15581,73 +17190,143 @@ module Google
|
|
15581
17190
|
# Request-specific options
|
15582
17191
|
#
|
15583
17192
|
# @yield [result, err] Result & error if block supplied
|
15584
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17193
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetHttpProxyList] parsed result object
|
17194
|
+
# @yieldparam err [StandardError] error object if request failed
|
17195
|
+
#
|
17196
|
+
# @return [Google::Apis::ComputeV1::TargetHttpProxyList]
|
17197
|
+
#
|
17198
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17199
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17200
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17201
|
+
def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17202
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options)
|
17203
|
+
command.response_representation = Google::Apis::ComputeV1::TargetHttpProxyList::Representation
|
17204
|
+
command.response_class = Google::Apis::ComputeV1::TargetHttpProxyList
|
17205
|
+
command.params['project'] = project unless project.nil?
|
17206
|
+
command.params['region'] = region unless region.nil?
|
17207
|
+
command.query['filter'] = filter unless filter.nil?
|
17208
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
17209
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
17210
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
17211
|
+
command.query['fields'] = fields unless fields.nil?
|
17212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17213
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17214
|
+
execute_or_queue_command(command, &block)
|
17215
|
+
end
|
17216
|
+
|
17217
|
+
# Changes the URL map for TargetHttpProxy.
|
17218
|
+
# @param [String] project
|
17219
|
+
# Project ID for this request.
|
17220
|
+
# @param [String] region
|
17221
|
+
# Name of the region scoping this request.
|
17222
|
+
# @param [String] target_http_proxy
|
17223
|
+
# Name of the TargetHttpProxy to set a URL map for.
|
17224
|
+
# @param [Google::Apis::ComputeV1::UrlMapReference] url_map_reference_object
|
17225
|
+
# @param [String] request_id
|
17226
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
17227
|
+
# that if you must retry your request, the server will know to ignore the
|
17228
|
+
# request if it has already been completed.
|
17229
|
+
# For example, consider a situation where you make an initial request and the
|
17230
|
+
# request times out. If you make the request again with the same request ID, the
|
17231
|
+
# server can check if original operation with the same request ID was received,
|
17232
|
+
# and if so, will ignore the second request. This prevents clients from
|
17233
|
+
# accidentally creating duplicate commitments.
|
17234
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
17235
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
17236
|
+
# @param [String] fields
|
17237
|
+
# Selector specifying which fields to include in a partial response.
|
17238
|
+
# @param [String] quota_user
|
17239
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17240
|
+
# characters.
|
17241
|
+
# @param [String] user_ip
|
17242
|
+
# Deprecated. Please use quotaUser instead.
|
17243
|
+
# @param [Google::Apis::RequestOptions] options
|
17244
|
+
# Request-specific options
|
17245
|
+
#
|
17246
|
+
# @yield [result, err] Result & error if block supplied
|
17247
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
17248
|
+
# @yieldparam err [StandardError] error object if request failed
|
17249
|
+
#
|
17250
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
17251
|
+
#
|
17252
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17253
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17254
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17255
|
+
def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17256
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
|
17257
|
+
command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation
|
17258
|
+
command.request_object = url_map_reference_object
|
17259
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17260
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
17261
|
+
command.params['project'] = project unless project.nil?
|
17262
|
+
command.params['region'] = region unless region.nil?
|
17263
|
+
command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
|
17264
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
17265
|
+
command.query['fields'] = fields unless fields.nil?
|
17266
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17267
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17268
|
+
execute_or_queue_command(command, &block)
|
17269
|
+
end
|
17270
|
+
|
17271
|
+
# Deletes the specified TargetHttpsProxy resource.
|
17272
|
+
# @param [String] project
|
17273
|
+
# Project ID for this request.
|
17274
|
+
# @param [String] region
|
17275
|
+
# Name of the region scoping this request.
|
17276
|
+
# @param [String] target_https_proxy
|
17277
|
+
# Name of the TargetHttpsProxy resource to delete.
|
17278
|
+
# @param [String] request_id
|
17279
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
17280
|
+
# that if you must retry your request, the server will know to ignore the
|
17281
|
+
# request if it has already been completed.
|
17282
|
+
# For example, consider a situation where you make an initial request and the
|
17283
|
+
# request times out. If you make the request again with the same request ID, the
|
17284
|
+
# server can check if original operation with the same request ID was received,
|
17285
|
+
# and if so, will ignore the second request. This prevents clients from
|
17286
|
+
# accidentally creating duplicate commitments.
|
17287
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
17288
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
17289
|
+
# @param [String] fields
|
17290
|
+
# Selector specifying which fields to include in a partial response.
|
17291
|
+
# @param [String] quota_user
|
17292
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17293
|
+
# characters.
|
17294
|
+
# @param [String] user_ip
|
17295
|
+
# Deprecated. Please use quotaUser instead.
|
17296
|
+
# @param [Google::Apis::RequestOptions] options
|
17297
|
+
# Request-specific options
|
17298
|
+
#
|
17299
|
+
# @yield [result, err] Result & error if block supplied
|
17300
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
15585
17301
|
# @yieldparam err [StandardError] error object if request failed
|
15586
17302
|
#
|
15587
|
-
# @return [Google::Apis::ComputeV1::
|
17303
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
15588
17304
|
#
|
15589
17305
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15590
17306
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15591
17307
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15592
|
-
def
|
15593
|
-
command = make_simple_command(:
|
15594
|
-
command.response_representation = Google::Apis::ComputeV1::
|
15595
|
-
command.response_class = Google::Apis::ComputeV1::
|
17308
|
+
def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17309
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
|
17310
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17311
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
15596
17312
|
command.params['project'] = project unless project.nil?
|
15597
17313
|
command.params['region'] = region unless region.nil?
|
15598
|
-
command.
|
15599
|
-
command.query['
|
15600
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
15601
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
17314
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
17315
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
15602
17316
|
command.query['fields'] = fields unless fields.nil?
|
15603
17317
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15604
17318
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15605
17319
|
execute_or_queue_command(command, &block)
|
15606
17320
|
end
|
15607
17321
|
|
15608
|
-
#
|
15609
|
-
#
|
15610
|
-
# has scheduled for its instances.
|
17322
|
+
# Returns the specified TargetHttpsProxy resource in the specified region. Gets
|
17323
|
+
# a list of available target HTTP proxies by making a list() request.
|
15611
17324
|
# @param [String] project
|
15612
17325
|
# Project ID for this request.
|
15613
17326
|
# @param [String] region
|
15614
17327
|
# Name of the region scoping this request.
|
15615
|
-
# @param [String]
|
15616
|
-
#
|
15617
|
-
# @param [String] filter
|
15618
|
-
# A filter expression that filters resources listed in the response. The
|
15619
|
-
# expression must specify the field name, a comparison operator, and the value
|
15620
|
-
# that you want to use for filtering. The value must be a string, a number, or a
|
15621
|
-
# boolean. The comparison operator must be either =, !=, >, or <.
|
15622
|
-
# For example, if you are filtering Compute Engine instances, you can exclude
|
15623
|
-
# instances named example-instance by specifying name != example-instance.
|
15624
|
-
# You can also filter nested fields. For example, you could specify scheduling.
|
15625
|
-
# automaticRestart = false to include instances only if they are not scheduled
|
15626
|
-
# for automatic restarts. You can use filtering on nested fields to filter based
|
15627
|
-
# on resource labels.
|
15628
|
-
# To filter on multiple expressions, provide each separate expression within
|
15629
|
-
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
15630
|
-
# Intel Skylake"). By default, each expression is an AND expression. However,
|
15631
|
-
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
15632
|
-
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
15633
|
-
# automaticRestart = true).
|
15634
|
-
# @param [Fixnum] max_results
|
15635
|
-
# The maximum number of results per page that should be returned. If the number
|
15636
|
-
# of available results is larger than maxResults, Compute Engine returns a
|
15637
|
-
# nextPageToken that can be used to get the next page of results in subsequent
|
15638
|
-
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
15639
|
-
# @param [String] order_by
|
15640
|
-
# Sorts list results by a certain order. By default, results are returned in
|
15641
|
-
# alphanumerical order based on the resource name.
|
15642
|
-
# You can also sort results in descending order based on the creation timestamp
|
15643
|
-
# using orderBy="creationTimestamp desc". This sorts results based on the
|
15644
|
-
# creationTimestamp field in reverse chronological order (newest result first).
|
15645
|
-
# Use this to sort resources like operations so that the newest operation is
|
15646
|
-
# returned first.
|
15647
|
-
# Currently, only sorting by name or creationTimestamp desc is supported.
|
15648
|
-
# @param [String] page_token
|
15649
|
-
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
15650
|
-
# a previous list request to get the next page of results.
|
17328
|
+
# @param [String] target_https_proxy
|
17329
|
+
# Name of the TargetHttpsProxy resource to return.
|
15651
17330
|
# @param [String] fields
|
15652
17331
|
# Selector specifying which fields to include in a partial response.
|
15653
17332
|
# @param [String] quota_user
|
@@ -15659,44 +17338,34 @@ module Google
|
|
15659
17338
|
# Request-specific options
|
15660
17339
|
#
|
15661
17340
|
# @yield [result, err] Result & error if block supplied
|
15662
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17341
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetHttpsProxy] parsed result object
|
15663
17342
|
# @yieldparam err [StandardError] error object if request failed
|
15664
17343
|
#
|
15665
|
-
# @return [Google::Apis::ComputeV1::
|
17344
|
+
# @return [Google::Apis::ComputeV1::TargetHttpsProxy]
|
15666
17345
|
#
|
15667
17346
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15668
17347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15669
17348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15670
|
-
def
|
15671
|
-
command = make_simple_command(:
|
15672
|
-
command.response_representation = Google::Apis::ComputeV1::
|
15673
|
-
command.response_class = Google::Apis::ComputeV1::
|
17349
|
+
def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17350
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
|
17351
|
+
command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation
|
17352
|
+
command.response_class = Google::Apis::ComputeV1::TargetHttpsProxy
|
15674
17353
|
command.params['project'] = project unless project.nil?
|
15675
17354
|
command.params['region'] = region unless region.nil?
|
15676
|
-
command.params['
|
15677
|
-
command.query['filter'] = filter unless filter.nil?
|
15678
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
15679
|
-
command.query['order_by'] = order_by unless order_by.nil?
|
15680
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
17355
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
15681
17356
|
command.query['fields'] = fields unless fields.nil?
|
15682
17357
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15683
17358
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15684
17359
|
execute_or_queue_command(command, &block)
|
15685
17360
|
end
|
15686
17361
|
|
15687
|
-
#
|
15688
|
-
#
|
15689
|
-
# the instances in the group are still in the process of being patched. You must
|
15690
|
-
# separately verify the status of the individual instances with the
|
15691
|
-
# listmanagedinstances method. This method supports PATCH semantics and uses the
|
15692
|
-
# JSON merge patch format and processing rules.
|
17362
|
+
# Creates a TargetHttpsProxy resource in the specified project and region using
|
17363
|
+
# the data included in the request.
|
15693
17364
|
# @param [String] project
|
15694
17365
|
# Project ID for this request.
|
15695
17366
|
# @param [String] region
|
15696
17367
|
# Name of the region scoping this request.
|
15697
|
-
# @param [
|
15698
|
-
# The name of the instance group manager.
|
15699
|
-
# @param [Google::Apis::ComputeV1::InstanceGroupManager] instance_group_manager_object
|
17368
|
+
# @param [Google::Apis::ComputeV1::TargetHttpsProxy] target_https_proxy_object
|
15700
17369
|
# @param [String] request_id
|
15701
17370
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15702
17371
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15727,15 +17396,14 @@ module Google
|
|
15727
17396
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15728
17397
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15729
17398
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15730
|
-
def
|
15731
|
-
command = make_simple_command(:
|
15732
|
-
command.request_representation = Google::Apis::ComputeV1::
|
15733
|
-
command.request_object =
|
17399
|
+
def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17400
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies', options)
|
17401
|
+
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation
|
17402
|
+
command.request_object = target_https_proxy_object
|
15734
17403
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15735
17404
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15736
17405
|
command.params['project'] = project unless project.nil?
|
15737
17406
|
command.params['region'] = region unless region.nil?
|
15738
|
-
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
15739
17407
|
command.query['requestId'] = request_id unless request_id.nil?
|
15740
17408
|
command.query['fields'] = fields unless fields.nil?
|
15741
17409
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -15743,34 +17411,46 @@ module Google
|
|
15743
17411
|
execute_or_queue_command(command, &block)
|
15744
17412
|
end
|
15745
17413
|
|
15746
|
-
#
|
15747
|
-
#
|
15748
|
-
# template for the managed instance group. This operation is marked as DONE when
|
15749
|
-
# the flag is set even if the instances have not yet been recreated. You must
|
15750
|
-
# separately verify the status of the recreating action with the
|
15751
|
-
# listmanagedinstances method.
|
15752
|
-
# If the group is part of a backend service that has enabled connection draining,
|
15753
|
-
# it can take up to 60 seconds after the connection draining duration has
|
15754
|
-
# elapsed before the VM instance is removed or deleted.
|
15755
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
17414
|
+
# Retrieves the list of TargetHttpsProxy resources available to the specified
|
17415
|
+
# project in the specified region.
|
15756
17416
|
# @param [String] project
|
15757
17417
|
# Project ID for this request.
|
15758
17418
|
# @param [String] region
|
15759
17419
|
# Name of the region scoping this request.
|
15760
|
-
# @param [String]
|
15761
|
-
#
|
15762
|
-
#
|
15763
|
-
#
|
15764
|
-
#
|
15765
|
-
#
|
15766
|
-
#
|
15767
|
-
#
|
15768
|
-
#
|
15769
|
-
#
|
15770
|
-
#
|
15771
|
-
#
|
15772
|
-
#
|
15773
|
-
#
|
17420
|
+
# @param [String] filter
|
17421
|
+
# A filter expression that filters resources listed in the response. The
|
17422
|
+
# expression must specify the field name, a comparison operator, and the value
|
17423
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
17424
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
17425
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
17426
|
+
# instances named example-instance by specifying name != example-instance.
|
17427
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
17428
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
17429
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
17430
|
+
# on resource labels.
|
17431
|
+
# To filter on multiple expressions, provide each separate expression within
|
17432
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
17433
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
17434
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
17435
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
17436
|
+
# automaticRestart = true).
|
17437
|
+
# @param [Fixnum] max_results
|
17438
|
+
# The maximum number of results per page that should be returned. If the number
|
17439
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
17440
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
17441
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
17442
|
+
# @param [String] order_by
|
17443
|
+
# Sorts list results by a certain order. By default, results are returned in
|
17444
|
+
# alphanumerical order based on the resource name.
|
17445
|
+
# You can also sort results in descending order based on the creation timestamp
|
17446
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
17447
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
17448
|
+
# Use this to sort resources like operations so that the newest operation is
|
17449
|
+
# returned first.
|
17450
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
17451
|
+
# @param [String] page_token
|
17452
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
17453
|
+
# a previous list request to get the next page of results.
|
15774
17454
|
# @param [String] fields
|
15775
17455
|
# Selector specifying which fields to include in a partial response.
|
15776
17456
|
# @param [String] quota_user
|
@@ -15782,47 +17462,38 @@ module Google
|
|
15782
17462
|
# Request-specific options
|
15783
17463
|
#
|
15784
17464
|
# @yield [result, err] Result & error if block supplied
|
15785
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17465
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetHttpsProxyList] parsed result object
|
15786
17466
|
# @yieldparam err [StandardError] error object if request failed
|
15787
17467
|
#
|
15788
|
-
# @return [Google::Apis::ComputeV1::
|
17468
|
+
# @return [Google::Apis::ComputeV1::TargetHttpsProxyList]
|
15789
17469
|
#
|
15790
17470
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15791
17471
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15792
17472
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15793
|
-
def
|
15794
|
-
command = make_simple_command(:
|
15795
|
-
command.
|
15796
|
-
command.
|
15797
|
-
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15798
|
-
command.response_class = Google::Apis::ComputeV1::Operation
|
17473
|
+
def list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17474
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies', options)
|
17475
|
+
command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxyList::Representation
|
17476
|
+
command.response_class = Google::Apis::ComputeV1::TargetHttpsProxyList
|
15799
17477
|
command.params['project'] = project unless project.nil?
|
15800
17478
|
command.params['region'] = region unless region.nil?
|
15801
|
-
command.
|
15802
|
-
command.query['
|
17479
|
+
command.query['filter'] = filter unless filter.nil?
|
17480
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
17481
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
17482
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
15803
17483
|
command.query['fields'] = fields unless fields.nil?
|
15804
17484
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15805
17485
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15806
17486
|
execute_or_queue_command(command, &block)
|
15807
17487
|
end
|
15808
17488
|
|
15809
|
-
#
|
15810
|
-
# size, the group creates new instances using the current instance template. If
|
15811
|
-
# you decrease the size, the group deletes one or more instances.
|
15812
|
-
# The resize operation is marked DONE if the resize request is successful. The
|
15813
|
-
# underlying actions take additional time. You must separately verify the status
|
15814
|
-
# of the creating or deleting actions with the listmanagedinstances method.
|
15815
|
-
# If the group is part of a backend service that has enabled connection draining,
|
15816
|
-
# it can take up to 60 seconds after the connection draining duration has
|
15817
|
-
# elapsed before the VM instance is removed or deleted.
|
17489
|
+
# Replaces SslCertificates for TargetHttpsProxy.
|
15818
17490
|
# @param [String] project
|
15819
17491
|
# Project ID for this request.
|
15820
17492
|
# @param [String] region
|
15821
17493
|
# Name of the region scoping this request.
|
15822
|
-
# @param [String]
|
15823
|
-
# Name of the
|
15824
|
-
# @param [
|
15825
|
-
# Number of instances that should exist in this instance group manager.
|
17494
|
+
# @param [String] target_https_proxy
|
17495
|
+
# Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
|
17496
|
+
# @param [Google::Apis::ComputeV1::RegionTargetHttpsProxiesSetSslCertificatesRequest] region_target_https_proxies_set_ssl_certificates_request_object
|
15826
17497
|
# @param [String] request_id
|
15827
17498
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15828
17499
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15853,30 +17524,30 @@ module Google
|
|
15853
17524
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15854
17525
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15855
17526
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15856
|
-
def
|
15857
|
-
command = make_simple_command(:post, '{project}/regions/{region}/
|
17527
|
+
def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17528
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options)
|
17529
|
+
command.request_representation = Google::Apis::ComputeV1::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation
|
17530
|
+
command.request_object = region_target_https_proxies_set_ssl_certificates_request_object
|
15858
17531
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15859
17532
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15860
17533
|
command.params['project'] = project unless project.nil?
|
15861
17534
|
command.params['region'] = region unless region.nil?
|
15862
|
-
command.params['
|
17535
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
15863
17536
|
command.query['requestId'] = request_id unless request_id.nil?
|
15864
|
-
command.query['size'] = size unless size.nil?
|
15865
17537
|
command.query['fields'] = fields unless fields.nil?
|
15866
17538
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15867
17539
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
15868
17540
|
execute_or_queue_command(command, &block)
|
15869
17541
|
end
|
15870
17542
|
|
15871
|
-
#
|
15872
|
-
# instances in this group. Existing instances are not affected.
|
17543
|
+
# Changes the URL map for TargetHttpsProxy.
|
15873
17544
|
# @param [String] project
|
15874
17545
|
# Project ID for this request.
|
15875
17546
|
# @param [String] region
|
15876
17547
|
# Name of the region scoping this request.
|
15877
|
-
# @param [String]
|
15878
|
-
#
|
15879
|
-
# @param [Google::Apis::ComputeV1::
|
17548
|
+
# @param [String] target_https_proxy
|
17549
|
+
# Name of the TargetHttpsProxy to set a URL map for.
|
17550
|
+
# @param [Google::Apis::ComputeV1::UrlMapReference] url_map_reference_object
|
15880
17551
|
# @param [String] request_id
|
15881
17552
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15882
17553
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15907,15 +17578,15 @@ module Google
|
|
15907
17578
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15908
17579
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15909
17580
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15910
|
-
def
|
15911
|
-
command = make_simple_command(:post, '{project}/regions/{region}/
|
15912
|
-
command.request_representation = Google::Apis::ComputeV1::
|
15913
|
-
command.request_object =
|
17581
|
+
def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17582
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options)
|
17583
|
+
command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation
|
17584
|
+
command.request_object = url_map_reference_object
|
15914
17585
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15915
17586
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15916
17587
|
command.params['project'] = project unless project.nil?
|
15917
17588
|
command.params['region'] = region unless region.nil?
|
15918
|
-
command.params['
|
17589
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
15919
17590
|
command.query['requestId'] = request_id unless request_id.nil?
|
15920
17591
|
command.query['fields'] = fields unless fields.nil?
|
15921
17592
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -15923,26 +17594,15 @@ module Google
|
|
15923
17594
|
execute_or_queue_command(command, &block)
|
15924
17595
|
end
|
15925
17596
|
|
15926
|
-
#
|
15927
|
-
# assigned. Existing instances in the group are not affected.
|
17597
|
+
# Deletes the specified UrlMap resource.
|
15928
17598
|
# @param [String] project
|
15929
17599
|
# Project ID for this request.
|
15930
17600
|
# @param [String] region
|
15931
17601
|
# Name of the region scoping this request.
|
15932
|
-
# @param [String]
|
15933
|
-
# Name of the
|
15934
|
-
# @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object
|
17602
|
+
# @param [String] url_map
|
17603
|
+
# Name of the UrlMap resource to delete.
|
15935
17604
|
# @param [String] request_id
|
15936
|
-
#
|
15937
|
-
# that if you must retry your request, the server will know to ignore the
|
15938
|
-
# request if it has already been completed.
|
15939
|
-
# For example, consider a situation where you make an initial request and the
|
15940
|
-
# request times out. If you make the request again with the same request ID, the
|
15941
|
-
# server can check if original operation with the same request ID was received,
|
15942
|
-
# and if so, will ignore the second request. This prevents clients from
|
15943
|
-
# accidentally creating duplicate commitments.
|
15944
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not
|
15945
|
-
# supported (00000000-0000-0000-0000-000000000000).
|
17605
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
15946
17606
|
# @param [String] fields
|
15947
17607
|
# Selector specifying which fields to include in a partial response.
|
15948
17608
|
# @param [String] quota_user
|
@@ -15962,15 +17622,13 @@ module Google
|
|
15962
17622
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15963
17623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15964
17624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15965
|
-
def
|
15966
|
-
command = make_simple_command(:
|
15967
|
-
command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
|
15968
|
-
command.request_object = region_instance_group_managers_set_target_pools_request_object
|
17625
|
+
def delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17626
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
15969
17627
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
15970
17628
|
command.response_class = Google::Apis::ComputeV1::Operation
|
15971
17629
|
command.params['project'] = project unless project.nil?
|
15972
17630
|
command.params['region'] = region unless region.nil?
|
15973
|
-
command.params['
|
17631
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
15974
17632
|
command.query['requestId'] = request_id unless request_id.nil?
|
15975
17633
|
command.query['fields'] = fields unless fields.nil?
|
15976
17634
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -15978,13 +17636,14 @@ module Google
|
|
15978
17636
|
execute_or_queue_command(command, &block)
|
15979
17637
|
end
|
15980
17638
|
|
15981
|
-
# Returns the specified
|
17639
|
+
# Returns the specified UrlMap resource. Gets a list of available URL maps by
|
17640
|
+
# making a list() request.
|
15982
17641
|
# @param [String] project
|
15983
17642
|
# Project ID for this request.
|
15984
17643
|
# @param [String] region
|
15985
17644
|
# Name of the region scoping this request.
|
15986
|
-
# @param [String]
|
15987
|
-
# Name of the
|
17645
|
+
# @param [String] url_map
|
17646
|
+
# Name of the UrlMap resource to return.
|
15988
17647
|
# @param [String] fields
|
15989
17648
|
# Selector specifying which fields to include in a partial response.
|
15990
17649
|
# @param [String] quota_user
|
@@ -15996,67 +17655,36 @@ module Google
|
|
15996
17655
|
# Request-specific options
|
15997
17656
|
#
|
15998
17657
|
# @yield [result, err] Result & error if block supplied
|
15999
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17658
|
+
# @yieldparam result [Google::Apis::ComputeV1::UrlMap] parsed result object
|
16000
17659
|
# @yieldparam err [StandardError] error object if request failed
|
16001
17660
|
#
|
16002
|
-
# @return [Google::Apis::ComputeV1::
|
17661
|
+
# @return [Google::Apis::ComputeV1::UrlMap]
|
16003
17662
|
#
|
16004
17663
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16005
17664
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16006
17665
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16007
|
-
def
|
16008
|
-
command = make_simple_command(:get, '{project}/regions/{region}/
|
16009
|
-
command.response_representation = Google::Apis::ComputeV1::
|
16010
|
-
command.response_class = Google::Apis::ComputeV1::
|
17666
|
+
def get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17667
|
+
command = make_simple_command(:get, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
17668
|
+
command.response_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
17669
|
+
command.response_class = Google::Apis::ComputeV1::UrlMap
|
16011
17670
|
command.params['project'] = project unless project.nil?
|
16012
17671
|
command.params['region'] = region unless region.nil?
|
16013
|
-
command.params['
|
17672
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
16014
17673
|
command.query['fields'] = fields unless fields.nil?
|
16015
17674
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16016
17675
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
16017
17676
|
execute_or_queue_command(command, &block)
|
16018
17677
|
end
|
16019
17678
|
|
16020
|
-
#
|
16021
|
-
#
|
17679
|
+
# Creates a UrlMap resource in the specified project using the data included in
|
17680
|
+
# the request.
|
16022
17681
|
# @param [String] project
|
16023
17682
|
# Project ID for this request.
|
16024
17683
|
# @param [String] region
|
16025
17684
|
# Name of the region scoping this request.
|
16026
|
-
# @param [
|
16027
|
-
#
|
16028
|
-
#
|
16029
|
-
# that you want to use for filtering. The value must be a string, a number, or a
|
16030
|
-
# boolean. The comparison operator must be either =, !=, >, or <.
|
16031
|
-
# For example, if you are filtering Compute Engine instances, you can exclude
|
16032
|
-
# instances named example-instance by specifying name != example-instance.
|
16033
|
-
# You can also filter nested fields. For example, you could specify scheduling.
|
16034
|
-
# automaticRestart = false to include instances only if they are not scheduled
|
16035
|
-
# for automatic restarts. You can use filtering on nested fields to filter based
|
16036
|
-
# on resource labels.
|
16037
|
-
# To filter on multiple expressions, provide each separate expression within
|
16038
|
-
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
16039
|
-
# Intel Skylake"). By default, each expression is an AND expression. However,
|
16040
|
-
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
16041
|
-
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
16042
|
-
# automaticRestart = true).
|
16043
|
-
# @param [Fixnum] max_results
|
16044
|
-
# The maximum number of results per page that should be returned. If the number
|
16045
|
-
# of available results is larger than maxResults, Compute Engine returns a
|
16046
|
-
# nextPageToken that can be used to get the next page of results in subsequent
|
16047
|
-
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
16048
|
-
# @param [String] order_by
|
16049
|
-
# Sorts list results by a certain order. By default, results are returned in
|
16050
|
-
# alphanumerical order based on the resource name.
|
16051
|
-
# You can also sort results in descending order based on the creation timestamp
|
16052
|
-
# using orderBy="creationTimestamp desc". This sorts results based on the
|
16053
|
-
# creationTimestamp field in reverse chronological order (newest result first).
|
16054
|
-
# Use this to sort resources like operations so that the newest operation is
|
16055
|
-
# returned first.
|
16056
|
-
# Currently, only sorting by name or creationTimestamp desc is supported.
|
16057
|
-
# @param [String] page_token
|
16058
|
-
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
16059
|
-
# a previous list request to get the next page of results.
|
17685
|
+
# @param [Google::Apis::ComputeV1::UrlMap] url_map_object
|
17686
|
+
# @param [String] request_id
|
17687
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
16060
17688
|
# @param [String] fields
|
16061
17689
|
# Selector specifying which fields to include in a partial response.
|
16062
17690
|
# @param [String] quota_user
|
@@ -16068,40 +17696,35 @@ module Google
|
|
16068
17696
|
# Request-specific options
|
16069
17697
|
#
|
16070
17698
|
# @yield [result, err] Result & error if block supplied
|
16071
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17699
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
16072
17700
|
# @yieldparam err [StandardError] error object if request failed
|
16073
17701
|
#
|
16074
|
-
# @return [Google::Apis::ComputeV1::
|
17702
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
16075
17703
|
#
|
16076
17704
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16077
17705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16078
17706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16079
|
-
def
|
16080
|
-
command = make_simple_command(:
|
16081
|
-
command.
|
16082
|
-
command.
|
17707
|
+
def insert_region_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17708
|
+
command = make_simple_command(:post, '{project}/regions/{region}/urlMaps', options)
|
17709
|
+
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
17710
|
+
command.request_object = url_map_object
|
17711
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
17712
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
16083
17713
|
command.params['project'] = project unless project.nil?
|
16084
17714
|
command.params['region'] = region unless region.nil?
|
16085
|
-
command.query['
|
16086
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
16087
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
16088
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
17715
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16089
17716
|
command.query['fields'] = fields unless fields.nil?
|
16090
17717
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16091
17718
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
16092
17719
|
execute_or_queue_command(command, &block)
|
16093
17720
|
end
|
16094
17721
|
|
16095
|
-
#
|
16096
|
-
#
|
16097
|
-
# list all instances or only the instances that are running.
|
17722
|
+
# Retrieves the list of UrlMap resources available to the specified project in
|
17723
|
+
# the specified region.
|
16098
17724
|
# @param [String] project
|
16099
17725
|
# Project ID for this request.
|
16100
17726
|
# @param [String] region
|
16101
17727
|
# Name of the region scoping this request.
|
16102
|
-
# @param [String] instance_group
|
16103
|
-
# Name of the regional instance group for which we want to list the instances.
|
16104
|
-
# @param [Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object
|
16105
17728
|
# @param [String] filter
|
16106
17729
|
# A filter expression that filters resources listed in the response. The
|
16107
17730
|
# expression must specify the field name, a comparison operator, and the value
|
@@ -16147,23 +17770,20 @@ module Google
|
|
16147
17770
|
# Request-specific options
|
16148
17771
|
#
|
16149
17772
|
# @yield [result, err] Result & error if block supplied
|
16150
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17773
|
+
# @yieldparam result [Google::Apis::ComputeV1::UrlMapList] parsed result object
|
16151
17774
|
# @yieldparam err [StandardError] error object if request failed
|
16152
17775
|
#
|
16153
|
-
# @return [Google::Apis::ComputeV1::
|
17776
|
+
# @return [Google::Apis::ComputeV1::UrlMapList]
|
16154
17777
|
#
|
16155
17778
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16156
17779
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16157
17780
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16158
|
-
def
|
16159
|
-
command = make_simple_command(:
|
16160
|
-
command.
|
16161
|
-
command.
|
16162
|
-
command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances::Representation
|
16163
|
-
command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances
|
17781
|
+
def list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17782
|
+
command = make_simple_command(:get, '{project}/regions/{region}/urlMaps', options)
|
17783
|
+
command.response_representation = Google::Apis::ComputeV1::UrlMapList::Representation
|
17784
|
+
command.response_class = Google::Apis::ComputeV1::UrlMapList
|
16164
17785
|
command.params['project'] = project unless project.nil?
|
16165
17786
|
command.params['region'] = region unless region.nil?
|
16166
|
-
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
16167
17787
|
command.query['filter'] = filter unless filter.nil?
|
16168
17788
|
command.query['maxResults'] = max_results unless max_results.nil?
|
16169
17789
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -16174,25 +17794,18 @@ module Google
|
|
16174
17794
|
execute_or_queue_command(command, &block)
|
16175
17795
|
end
|
16176
17796
|
|
16177
|
-
#
|
17797
|
+
# Patches the specified UrlMap resource with the data included in the request.
|
17798
|
+
# This method supports PATCH semantics and uses JSON merge patch format and
|
17799
|
+
# processing rules.
|
16178
17800
|
# @param [String] project
|
16179
17801
|
# Project ID for this request.
|
16180
17802
|
# @param [String] region
|
16181
17803
|
# Name of the region scoping this request.
|
16182
|
-
# @param [String]
|
16183
|
-
#
|
16184
|
-
# @param [Google::Apis::ComputeV1::
|
17804
|
+
# @param [String] url_map
|
17805
|
+
# Name of the UrlMap resource to patch.
|
17806
|
+
# @param [Google::Apis::ComputeV1::UrlMap] url_map_object
|
16185
17807
|
# @param [String] request_id
|
16186
|
-
#
|
16187
|
-
# that if you must retry your request, the server will know to ignore the
|
16188
|
-
# request if it has already been completed.
|
16189
|
-
# For example, consider a situation where you make an initial request and the
|
16190
|
-
# request times out. If you make the request again with the same request ID, the
|
16191
|
-
# server can check if original operation with the same request ID was received,
|
16192
|
-
# and if so, will ignore the second request. This prevents clients from
|
16193
|
-
# accidentally creating duplicate commitments.
|
16194
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not
|
16195
|
-
# supported (00000000-0000-0000-0000-000000000000).
|
17808
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
16196
17809
|
# @param [String] fields
|
16197
17810
|
# Selector specifying which fields to include in a partial response.
|
16198
17811
|
# @param [String] quota_user
|
@@ -16212,15 +17825,15 @@ module Google
|
|
16212
17825
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16213
17826
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16214
17827
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16215
|
-
def
|
16216
|
-
command = make_simple_command(:
|
16217
|
-
command.request_representation = Google::Apis::ComputeV1::
|
16218
|
-
command.request_object =
|
17828
|
+
def patch_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17829
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
17830
|
+
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
17831
|
+
command.request_object = url_map_object
|
16219
17832
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16220
17833
|
command.response_class = Google::Apis::ComputeV1::Operation
|
16221
17834
|
command.params['project'] = project unless project.nil?
|
16222
17835
|
command.params['region'] = region unless region.nil?
|
16223
|
-
command.params['
|
17836
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
16224
17837
|
command.query['requestId'] = request_id unless request_id.nil?
|
16225
17838
|
command.query['fields'] = fields unless fields.nil?
|
16226
17839
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -16228,50 +17841,16 @@ module Google
|
|
16228
17841
|
execute_or_queue_command(command, &block)
|
16229
17842
|
end
|
16230
17843
|
|
16231
|
-
#
|
16232
|
-
# @param [String] project
|
16233
|
-
# Project ID for this request.
|
16234
|
-
# @param [String] region
|
16235
|
-
# Name of the region for this request.
|
16236
|
-
# @param [String] operation
|
16237
|
-
# Name of the Operations resource to delete.
|
16238
|
-
# @param [String] fields
|
16239
|
-
# Selector specifying which fields to include in a partial response.
|
16240
|
-
# @param [String] quota_user
|
16241
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
16242
|
-
# characters.
|
16243
|
-
# @param [String] user_ip
|
16244
|
-
# Deprecated. Please use quotaUser instead.
|
16245
|
-
# @param [Google::Apis::RequestOptions] options
|
16246
|
-
# Request-specific options
|
16247
|
-
#
|
16248
|
-
# @yield [result, err] Result & error if block supplied
|
16249
|
-
# @yieldparam result [NilClass] No result returned for this method
|
16250
|
-
# @yieldparam err [StandardError] error object if request failed
|
16251
|
-
#
|
16252
|
-
# @return [void]
|
16253
|
-
#
|
16254
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16255
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16256
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16257
|
-
def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16258
|
-
command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
|
16259
|
-
command.params['project'] = project unless project.nil?
|
16260
|
-
command.params['region'] = region unless region.nil?
|
16261
|
-
command.params['operation'] = operation unless operation.nil?
|
16262
|
-
command.query['fields'] = fields unless fields.nil?
|
16263
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16264
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
16265
|
-
execute_or_queue_command(command, &block)
|
16266
|
-
end
|
16267
|
-
|
16268
|
-
# Retrieves the specified region-specific Operations resource.
|
17844
|
+
# Updates the specified UrlMap resource with the data included in the request.
|
16269
17845
|
# @param [String] project
|
16270
17846
|
# Project ID for this request.
|
16271
17847
|
# @param [String] region
|
16272
|
-
# Name of the region
|
16273
|
-
# @param [String]
|
16274
|
-
# Name of the
|
17848
|
+
# Name of the region scoping this request.
|
17849
|
+
# @param [String] url_map
|
17850
|
+
# Name of the UrlMap resource to update.
|
17851
|
+
# @param [Google::Apis::ComputeV1::UrlMap] url_map_object
|
17852
|
+
# @param [String] request_id
|
17853
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
16275
17854
|
# @param [String] fields
|
16276
17855
|
# Selector specifying which fields to include in a partial response.
|
16277
17856
|
# @param [String] quota_user
|
@@ -16291,58 +17870,31 @@ module Google
|
|
16291
17870
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16292
17871
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16293
17872
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16294
|
-
def
|
16295
|
-
command = make_simple_command(:
|
17873
|
+
def update_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17874
|
+
command = make_simple_command(:put, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
17875
|
+
command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation
|
17876
|
+
command.request_object = url_map_object
|
16296
17877
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
16297
17878
|
command.response_class = Google::Apis::ComputeV1::Operation
|
16298
17879
|
command.params['project'] = project unless project.nil?
|
16299
17880
|
command.params['region'] = region unless region.nil?
|
16300
|
-
command.params['
|
17881
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
17882
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
16301
17883
|
command.query['fields'] = fields unless fields.nil?
|
16302
17884
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16303
17885
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
16304
17886
|
execute_or_queue_command(command, &block)
|
16305
17887
|
end
|
16306
17888
|
|
16307
|
-
#
|
17889
|
+
# Runs static validation for the UrlMap. In particular, the tests of the
|
17890
|
+
# provided UrlMap will be run. Calling this method does NOT create the UrlMap.
|
16308
17891
|
# @param [String] project
|
16309
17892
|
# Project ID for this request.
|
16310
17893
|
# @param [String] region
|
16311
|
-
# Name of the region
|
16312
|
-
# @param [String]
|
16313
|
-
#
|
16314
|
-
#
|
16315
|
-
# that you want to use for filtering. The value must be a string, a number, or a
|
16316
|
-
# boolean. The comparison operator must be either =, !=, >, or <.
|
16317
|
-
# For example, if you are filtering Compute Engine instances, you can exclude
|
16318
|
-
# instances named example-instance by specifying name != example-instance.
|
16319
|
-
# You can also filter nested fields. For example, you could specify scheduling.
|
16320
|
-
# automaticRestart = false to include instances only if they are not scheduled
|
16321
|
-
# for automatic restarts. You can use filtering on nested fields to filter based
|
16322
|
-
# on resource labels.
|
16323
|
-
# To filter on multiple expressions, provide each separate expression within
|
16324
|
-
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
16325
|
-
# Intel Skylake"). By default, each expression is an AND expression. However,
|
16326
|
-
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
16327
|
-
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
16328
|
-
# automaticRestart = true).
|
16329
|
-
# @param [Fixnum] max_results
|
16330
|
-
# The maximum number of results per page that should be returned. If the number
|
16331
|
-
# of available results is larger than maxResults, Compute Engine returns a
|
16332
|
-
# nextPageToken that can be used to get the next page of results in subsequent
|
16333
|
-
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
16334
|
-
# @param [String] order_by
|
16335
|
-
# Sorts list results by a certain order. By default, results are returned in
|
16336
|
-
# alphanumerical order based on the resource name.
|
16337
|
-
# You can also sort results in descending order based on the creation timestamp
|
16338
|
-
# using orderBy="creationTimestamp desc". This sorts results based on the
|
16339
|
-
# creationTimestamp field in reverse chronological order (newest result first).
|
16340
|
-
# Use this to sort resources like operations so that the newest operation is
|
16341
|
-
# returned first.
|
16342
|
-
# Currently, only sorting by name or creationTimestamp desc is supported.
|
16343
|
-
# @param [String] page_token
|
16344
|
-
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
16345
|
-
# a previous list request to get the next page of results.
|
17894
|
+
# Name of the region scoping this request.
|
17895
|
+
# @param [String] url_map
|
17896
|
+
# Name of the UrlMap resource to be validated as.
|
17897
|
+
# @param [Google::Apis::ComputeV1::RegionUrlMapsValidateRequest] region_url_maps_validate_request_object
|
16346
17898
|
# @param [String] fields
|
16347
17899
|
# Selector specifying which fields to include in a partial response.
|
16348
17900
|
# @param [String] quota_user
|
@@ -16354,24 +17906,23 @@ module Google
|
|
16354
17906
|
# Request-specific options
|
16355
17907
|
#
|
16356
17908
|
# @yield [result, err] Result & error if block supplied
|
16357
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
17909
|
+
# @yieldparam result [Google::Apis::ComputeV1::ValidateUrlMapsResponse] parsed result object
|
16358
17910
|
# @yieldparam err [StandardError] error object if request failed
|
16359
17911
|
#
|
16360
|
-
# @return [Google::Apis::ComputeV1::
|
17912
|
+
# @return [Google::Apis::ComputeV1::ValidateUrlMapsResponse]
|
16361
17913
|
#
|
16362
17914
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16363
17915
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16364
17916
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16365
|
-
def
|
16366
|
-
command = make_simple_command(:
|
16367
|
-
command.
|
16368
|
-
command.
|
17917
|
+
def validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17918
|
+
command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/validate', options)
|
17919
|
+
command.request_representation = Google::Apis::ComputeV1::RegionUrlMapsValidateRequest::Representation
|
17920
|
+
command.request_object = region_url_maps_validate_request_object
|
17921
|
+
command.response_representation = Google::Apis::ComputeV1::ValidateUrlMapsResponse::Representation
|
17922
|
+
command.response_class = Google::Apis::ComputeV1::ValidateUrlMapsResponse
|
16369
17923
|
command.params['project'] = project unless project.nil?
|
16370
17924
|
command.params['region'] = region unless region.nil?
|
16371
|
-
command.
|
16372
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
16373
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
16374
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
17925
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
16375
17926
|
command.query['fields'] = fields unless fields.nil?
|
16376
17927
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16377
17928
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -18824,12 +20375,83 @@ module Google
|
|
18824
20375
|
execute_or_queue_command(command, &block)
|
18825
20376
|
end
|
18826
20377
|
|
18827
|
-
# Returns permissions that a caller has on the specified resource.
|
20378
|
+
# Returns permissions that a caller has on the specified resource.
|
20379
|
+
# @param [String] project
|
20380
|
+
# Project ID for this request.
|
20381
|
+
# @param [String] resource
|
20382
|
+
# Name or id of the resource for this request.
|
20383
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
20384
|
+
# @param [String] fields
|
20385
|
+
# Selector specifying which fields to include in a partial response.
|
20386
|
+
# @param [String] quota_user
|
20387
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
20388
|
+
# characters.
|
20389
|
+
# @param [String] user_ip
|
20390
|
+
# Deprecated. Please use quotaUser instead.
|
20391
|
+
# @param [Google::Apis::RequestOptions] options
|
20392
|
+
# Request-specific options
|
20393
|
+
#
|
20394
|
+
# @yield [result, err] Result & error if block supplied
|
20395
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
20396
|
+
# @yieldparam err [StandardError] error object if request failed
|
20397
|
+
#
|
20398
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
20399
|
+
#
|
20400
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20401
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20402
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20403
|
+
def test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
20404
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', options)
|
20405
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
20406
|
+
command.request_object = test_permissions_request_object
|
20407
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
20408
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
20409
|
+
command.params['project'] = project unless project.nil?
|
20410
|
+
command.params['resource'] = resource unless resource.nil?
|
20411
|
+
command.query['fields'] = fields unless fields.nil?
|
20412
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
20413
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
20414
|
+
execute_or_queue_command(command, &block)
|
20415
|
+
end
|
20416
|
+
|
20417
|
+
# Retrieves the list of all SslCertificate resources, regional and global,
|
20418
|
+
# available to the specified project.
|
18828
20419
|
# @param [String] project
|
18829
|
-
#
|
18830
|
-
# @param [String]
|
18831
|
-
#
|
18832
|
-
#
|
20420
|
+
# Name of the project scoping this request.
|
20421
|
+
# @param [String] filter
|
20422
|
+
# A filter expression that filters resources listed in the response. The
|
20423
|
+
# expression must specify the field name, a comparison operator, and the value
|
20424
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
20425
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
20426
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
20427
|
+
# instances named example-instance by specifying name != example-instance.
|
20428
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
20429
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
20430
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
20431
|
+
# on resource labels.
|
20432
|
+
# To filter on multiple expressions, provide each separate expression within
|
20433
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
20434
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
20435
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
20436
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
20437
|
+
# automaticRestart = true).
|
20438
|
+
# @param [Fixnum] max_results
|
20439
|
+
# The maximum number of results per page that should be returned. If the number
|
20440
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
20441
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
20442
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
20443
|
+
# @param [String] order_by
|
20444
|
+
# Sorts list results by a certain order. By default, results are returned in
|
20445
|
+
# alphanumerical order based on the resource name.
|
20446
|
+
# You can also sort results in descending order based on the creation timestamp
|
20447
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
20448
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
20449
|
+
# Use this to sort resources like operations so that the newest operation is
|
20450
|
+
# returned first.
|
20451
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
20452
|
+
# @param [String] page_token
|
20453
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
20454
|
+
# a previous list request to get the next page of results.
|
18833
20455
|
# @param [String] fields
|
18834
20456
|
# Selector specifying which fields to include in a partial response.
|
18835
20457
|
# @param [String] quota_user
|
@@ -18841,22 +20463,23 @@ module Google
|
|
18841
20463
|
# Request-specific options
|
18842
20464
|
#
|
18843
20465
|
# @yield [result, err] Result & error if block supplied
|
18844
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
20466
|
+
# @yieldparam result [Google::Apis::ComputeV1::SslCertificateAggregatedList] parsed result object
|
18845
20467
|
# @yieldparam err [StandardError] error object if request failed
|
18846
20468
|
#
|
18847
|
-
# @return [Google::Apis::ComputeV1::
|
20469
|
+
# @return [Google::Apis::ComputeV1::SslCertificateAggregatedList]
|
18848
20470
|
#
|
18849
20471
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18850
20472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18851
20473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18852
|
-
def
|
18853
|
-
command = make_simple_command(:
|
18854
|
-
command.
|
18855
|
-
command.
|
18856
|
-
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
18857
|
-
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
20474
|
+
def aggregated_ssl_certificate_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
20475
|
+
command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options)
|
20476
|
+
command.response_representation = Google::Apis::ComputeV1::SslCertificateAggregatedList::Representation
|
20477
|
+
command.response_class = Google::Apis::ComputeV1::SslCertificateAggregatedList
|
18858
20478
|
command.params['project'] = project unless project.nil?
|
18859
|
-
command.
|
20479
|
+
command.query['filter'] = filter unless filter.nil?
|
20480
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
20481
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
20482
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
18860
20483
|
command.query['fields'] = fields unless fields.nil?
|
18861
20484
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18862
20485
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -20052,6 +21675,78 @@ module Google
|
|
20052
21675
|
execute_or_queue_command(command, &block)
|
20053
21676
|
end
|
20054
21677
|
|
21678
|
+
# Retrieves the list of all TargetHttpProxy resources, regional and global,
|
21679
|
+
# available to the specified project.
|
21680
|
+
# @param [String] project
|
21681
|
+
# Name of the project scoping this request.
|
21682
|
+
# @param [String] filter
|
21683
|
+
# A filter expression that filters resources listed in the response. The
|
21684
|
+
# expression must specify the field name, a comparison operator, and the value
|
21685
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
21686
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
21687
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
21688
|
+
# instances named example-instance by specifying name != example-instance.
|
21689
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
21690
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
21691
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
21692
|
+
# on resource labels.
|
21693
|
+
# To filter on multiple expressions, provide each separate expression within
|
21694
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
21695
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
21696
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
21697
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
21698
|
+
# automaticRestart = true).
|
21699
|
+
# @param [Fixnum] max_results
|
21700
|
+
# The maximum number of results per page that should be returned. If the number
|
21701
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
21702
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
21703
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
21704
|
+
# @param [String] order_by
|
21705
|
+
# Sorts list results by a certain order. By default, results are returned in
|
21706
|
+
# alphanumerical order based on the resource name.
|
21707
|
+
# You can also sort results in descending order based on the creation timestamp
|
21708
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
21709
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
21710
|
+
# Use this to sort resources like operations so that the newest operation is
|
21711
|
+
# returned first.
|
21712
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
21713
|
+
# @param [String] page_token
|
21714
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
21715
|
+
# a previous list request to get the next page of results.
|
21716
|
+
# @param [String] fields
|
21717
|
+
# Selector specifying which fields to include in a partial response.
|
21718
|
+
# @param [String] quota_user
|
21719
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
21720
|
+
# characters.
|
21721
|
+
# @param [String] user_ip
|
21722
|
+
# Deprecated. Please use quotaUser instead.
|
21723
|
+
# @param [Google::Apis::RequestOptions] options
|
21724
|
+
# Request-specific options
|
21725
|
+
#
|
21726
|
+
# @yield [result, err] Result & error if block supplied
|
21727
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetHttpProxyAggregatedList] parsed result object
|
21728
|
+
# @yieldparam err [StandardError] error object if request failed
|
21729
|
+
#
|
21730
|
+
# @return [Google::Apis::ComputeV1::TargetHttpProxyAggregatedList]
|
21731
|
+
#
|
21732
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21733
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21734
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21735
|
+
def aggregated_target_http_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21736
|
+
command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options)
|
21737
|
+
command.response_representation = Google::Apis::ComputeV1::TargetHttpProxyAggregatedList::Representation
|
21738
|
+
command.response_class = Google::Apis::ComputeV1::TargetHttpProxyAggregatedList
|
21739
|
+
command.params['project'] = project unless project.nil?
|
21740
|
+
command.query['filter'] = filter unless filter.nil?
|
21741
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
21742
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
21743
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
21744
|
+
command.query['fields'] = fields unless fields.nil?
|
21745
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21746
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21747
|
+
execute_or_queue_command(command, &block)
|
21748
|
+
end
|
21749
|
+
|
20055
21750
|
# Deletes the specified TargetHttpProxy resource.
|
20056
21751
|
# @param [String] project
|
20057
21752
|
# Project ID for this request.
|
@@ -20309,6 +22004,78 @@ module Google
|
|
20309
22004
|
execute_or_queue_command(command, &block)
|
20310
22005
|
end
|
20311
22006
|
|
22007
|
+
# Retrieves the list of all TargetHttpsProxy resources, regional and global,
|
22008
|
+
# available to the specified project.
|
22009
|
+
# @param [String] project
|
22010
|
+
# Name of the project scoping this request.
|
22011
|
+
# @param [String] filter
|
22012
|
+
# A filter expression that filters resources listed in the response. The
|
22013
|
+
# expression must specify the field name, a comparison operator, and the value
|
22014
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
22015
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
22016
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
22017
|
+
# instances named example-instance by specifying name != example-instance.
|
22018
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
22019
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
22020
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
22021
|
+
# on resource labels.
|
22022
|
+
# To filter on multiple expressions, provide each separate expression within
|
22023
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
22024
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
22025
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
22026
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
22027
|
+
# automaticRestart = true).
|
22028
|
+
# @param [Fixnum] max_results
|
22029
|
+
# The maximum number of results per page that should be returned. If the number
|
22030
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
22031
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
22032
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
22033
|
+
# @param [String] order_by
|
22034
|
+
# Sorts list results by a certain order. By default, results are returned in
|
22035
|
+
# alphanumerical order based on the resource name.
|
22036
|
+
# You can also sort results in descending order based on the creation timestamp
|
22037
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
22038
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
22039
|
+
# Use this to sort resources like operations so that the newest operation is
|
22040
|
+
# returned first.
|
22041
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
22042
|
+
# @param [String] page_token
|
22043
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
22044
|
+
# a previous list request to get the next page of results.
|
22045
|
+
# @param [String] fields
|
22046
|
+
# Selector specifying which fields to include in a partial response.
|
22047
|
+
# @param [String] quota_user
|
22048
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
22049
|
+
# characters.
|
22050
|
+
# @param [String] user_ip
|
22051
|
+
# Deprecated. Please use quotaUser instead.
|
22052
|
+
# @param [Google::Apis::RequestOptions] options
|
22053
|
+
# Request-specific options
|
22054
|
+
#
|
22055
|
+
# @yield [result, err] Result & error if block supplied
|
22056
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList] parsed result object
|
22057
|
+
# @yieldparam err [StandardError] error object if request failed
|
22058
|
+
#
|
22059
|
+
# @return [Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList]
|
22060
|
+
#
|
22061
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22062
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22063
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22064
|
+
def aggregated_target_https_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
22065
|
+
command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options)
|
22066
|
+
command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Representation
|
22067
|
+
command.response_class = Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList
|
22068
|
+
command.params['project'] = project unless project.nil?
|
22069
|
+
command.query['filter'] = filter unless filter.nil?
|
22070
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
22071
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
22072
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22073
|
+
command.query['fields'] = fields unless fields.nil?
|
22074
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22075
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
22076
|
+
execute_or_queue_command(command, &block)
|
22077
|
+
end
|
22078
|
+
|
20312
22079
|
# Deletes the specified TargetHttpsProxy resource.
|
20313
22080
|
# @param [String] project
|
20314
22081
|
# Project ID for this request.
|
@@ -22628,6 +24395,78 @@ module Google
|
|
22628
24395
|
execute_or_queue_command(command, &block)
|
22629
24396
|
end
|
22630
24397
|
|
24398
|
+
# Retrieves the list of all UrlMap resources, regional and global, available to
|
24399
|
+
# the specified project.
|
24400
|
+
# @param [String] project
|
24401
|
+
# Name of the project scoping this request.
|
24402
|
+
# @param [String] filter
|
24403
|
+
# A filter expression that filters resources listed in the response. The
|
24404
|
+
# expression must specify the field name, a comparison operator, and the value
|
24405
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
24406
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
24407
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
24408
|
+
# instances named example-instance by specifying name != example-instance.
|
24409
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
24410
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
24411
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
24412
|
+
# on resource labels.
|
24413
|
+
# To filter on multiple expressions, provide each separate expression within
|
24414
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
24415
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
24416
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
24417
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
24418
|
+
# automaticRestart = true).
|
24419
|
+
# @param [Fixnum] max_results
|
24420
|
+
# The maximum number of results per page that should be returned. If the number
|
24421
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
24422
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
24423
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
24424
|
+
# @param [String] order_by
|
24425
|
+
# Sorts list results by a certain order. By default, results are returned in
|
24426
|
+
# alphanumerical order based on the resource name.
|
24427
|
+
# You can also sort results in descending order based on the creation timestamp
|
24428
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
24429
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
24430
|
+
# Use this to sort resources like operations so that the newest operation is
|
24431
|
+
# returned first.
|
24432
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
24433
|
+
# @param [String] page_token
|
24434
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
24435
|
+
# a previous list request to get the next page of results.
|
24436
|
+
# @param [String] fields
|
24437
|
+
# Selector specifying which fields to include in a partial response.
|
24438
|
+
# @param [String] quota_user
|
24439
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
24440
|
+
# characters.
|
24441
|
+
# @param [String] user_ip
|
24442
|
+
# Deprecated. Please use quotaUser instead.
|
24443
|
+
# @param [Google::Apis::RequestOptions] options
|
24444
|
+
# Request-specific options
|
24445
|
+
#
|
24446
|
+
# @yield [result, err] Result & error if block supplied
|
24447
|
+
# @yieldparam result [Google::Apis::ComputeV1::UrlMapsAggregatedList] parsed result object
|
24448
|
+
# @yieldparam err [StandardError] error object if request failed
|
24449
|
+
#
|
24450
|
+
# @return [Google::Apis::ComputeV1::UrlMapsAggregatedList]
|
24451
|
+
#
|
24452
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
24453
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
24454
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
24455
|
+
def aggregated_url_map_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
24456
|
+
command = make_simple_command(:get, '{project}/aggregated/urlMaps', options)
|
24457
|
+
command.response_representation = Google::Apis::ComputeV1::UrlMapsAggregatedList::Representation
|
24458
|
+
command.response_class = Google::Apis::ComputeV1::UrlMapsAggregatedList
|
24459
|
+
command.params['project'] = project unless project.nil?
|
24460
|
+
command.query['filter'] = filter unless filter.nil?
|
24461
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
24462
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
24463
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
24464
|
+
command.query['fields'] = fields unless fields.nil?
|
24465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
24466
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
24467
|
+
execute_or_queue_command(command, &block)
|
24468
|
+
end
|
24469
|
+
|
22631
24470
|
# Deletes the specified UrlMap resource.
|
22632
24471
|
# @param [String] project
|
22633
24472
|
# Project ID for this request.
|