google-api-client 0.30.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +8 -74
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +8 -74
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +16 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +8 -74
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +11 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +9 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +255 -155
- data/generated/google/apis/compute_alpha/representations.rb +4 -3
- data/generated/google/apis/compute_alpha/service.rb +11 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2818 -235
- data/generated/google/apis/compute_beta/representations.rb +957 -0
- data/generated/google/apis/compute_beta/service.rb +2371 -475
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +239 -92
- data/generated/google/apis/compute_v1/representations.rb +19 -0
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -0
- data/generated/google/apis/container_v1beta1/representations.rb +3 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -4
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +29 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +7 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +2 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +6 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +125 -0
- data/generated/google/apis/redis_v1/representations.rb +83 -0
- data/generated/google/apis/redis_v1/service.rb +78 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +125 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +83 -0
- data/generated/google/apis/redis_v1beta1/service.rb +78 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -76
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +10 -76
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -111
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -74
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +36 -20
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -47,7 +47,7 @@ module Google
|
|
|
47
47
|
attr_accessor :user_ip
|
|
48
48
|
|
|
49
49
|
def initialize
|
|
50
|
-
super('https://
|
|
50
|
+
super('https://www.googleapis.com/', 'compute/beta/projects/')
|
|
51
51
|
@batch_path = 'batch/compute/beta'
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -2418,7 +2418,9 @@ module Google
|
|
|
2418
2418
|
# Name of the persistent disk to snapshot.
|
|
2419
2419
|
# @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object
|
|
2420
2420
|
# @param [Boolean] guest_flush
|
|
2421
|
-
#
|
|
2421
|
+
# [Input Only] Specifies to create an application consistent snapshot by
|
|
2422
|
+
# informing the OS to prepare for the snapshot process. Currently only supported
|
|
2423
|
+
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
|
2422
2424
|
# @param [String] request_id
|
|
2423
2425
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2424
2426
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -4995,6 +4997,78 @@ module Google
|
|
|
4995
4997
|
execute_or_queue_command(command, &block)
|
|
4996
4998
|
end
|
|
4997
4999
|
|
|
5000
|
+
# Retrieves the list of all HealthCheck resources, regional and global,
|
|
5001
|
+
# available to the specified project.
|
|
5002
|
+
# @param [String] project
|
|
5003
|
+
# Name of the project scoping this request.
|
|
5004
|
+
# @param [String] filter
|
|
5005
|
+
# A filter expression that filters resources listed in the response. The
|
|
5006
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
5007
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
5008
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
5009
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
5010
|
+
# instances named example-instance by specifying name != example-instance.
|
|
5011
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
5012
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
5013
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
5014
|
+
# on resource labels.
|
|
5015
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
5016
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
5017
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
5018
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
5019
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
5020
|
+
# automaticRestart = true).
|
|
5021
|
+
# @param [Fixnum] max_results
|
|
5022
|
+
# The maximum number of results per page that should be returned. If the number
|
|
5023
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
5024
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
5025
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
5026
|
+
# @param [String] order_by
|
|
5027
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
5028
|
+
# alphanumerical order based on the resource name.
|
|
5029
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
5030
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
5031
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
5032
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
5033
|
+
# returned first.
|
|
5034
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
5035
|
+
# @param [String] page_token
|
|
5036
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
5037
|
+
# a previous list request to get the next page of results.
|
|
5038
|
+
# @param [String] fields
|
|
5039
|
+
# Selector specifying which fields to include in a partial response.
|
|
5040
|
+
# @param [String] quota_user
|
|
5041
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
5042
|
+
# characters.
|
|
5043
|
+
# @param [String] user_ip
|
|
5044
|
+
# Deprecated. Please use quotaUser instead.
|
|
5045
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5046
|
+
# Request-specific options
|
|
5047
|
+
#
|
|
5048
|
+
# @yield [result, err] Result & error if block supplied
|
|
5049
|
+
# @yieldparam result [Google::Apis::ComputeBeta::HealthChecksAggregatedList] parsed result object
|
|
5050
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5051
|
+
#
|
|
5052
|
+
# @return [Google::Apis::ComputeBeta::HealthChecksAggregatedList]
|
|
5053
|
+
#
|
|
5054
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5055
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5056
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5057
|
+
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)
|
|
5058
|
+
command = make_simple_command(:get, '{project}/aggregated/healthChecks', options)
|
|
5059
|
+
command.response_representation = Google::Apis::ComputeBeta::HealthChecksAggregatedList::Representation
|
|
5060
|
+
command.response_class = Google::Apis::ComputeBeta::HealthChecksAggregatedList
|
|
5061
|
+
command.params['project'] = project unless project.nil?
|
|
5062
|
+
command.query['filter'] = filter unless filter.nil?
|
|
5063
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
5064
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
5065
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
5066
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5067
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5068
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
5069
|
+
execute_or_queue_command(command, &block)
|
|
5070
|
+
end
|
|
5071
|
+
|
|
4998
5072
|
# Deletes the specified HealthCheck resource.
|
|
4999
5073
|
# @param [String] project
|
|
5000
5074
|
# Project ID for this request.
|
|
@@ -16963,25 +17037,13 @@ module Google
|
|
|
16963
17037
|
execute_or_queue_command(command, &block)
|
|
16964
17038
|
end
|
|
16965
17039
|
|
|
16966
|
-
#
|
|
16967
|
-
# instance group. Abandoning an instance does not delete the instance, but it
|
|
16968
|
-
# does remove the instance from any target pools that are applied by the managed
|
|
16969
|
-
# instance group. This method reduces the targetSize of the managed instance
|
|
16970
|
-
# group by the number of instances that you abandon. This operation is marked as
|
|
16971
|
-
# DONE when the action is scheduled even if the instances have not yet been
|
|
16972
|
-
# removed from the group. You must separately verify the status of the
|
|
16973
|
-
# abandoning action with the listmanagedinstances method.
|
|
16974
|
-
# If the group is part of a backend service that has enabled connection draining,
|
|
16975
|
-
# it can take up to 60 seconds after the connection draining duration has
|
|
16976
|
-
# elapsed before the VM instance is removed or deleted.
|
|
16977
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
|
17040
|
+
# Deletes the specified HealthCheck resource.
|
|
16978
17041
|
# @param [String] project
|
|
16979
17042
|
# Project ID for this request.
|
|
16980
17043
|
# @param [String] region
|
|
16981
17044
|
# Name of the region scoping this request.
|
|
16982
|
-
# @param [String]
|
|
16983
|
-
# Name of the
|
|
16984
|
-
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
|
|
17045
|
+
# @param [String] health_check
|
|
17046
|
+
# Name of the HealthCheck resource to delete.
|
|
16985
17047
|
# @param [String] request_id
|
|
16986
17048
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16987
17049
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17012,15 +17074,13 @@ module Google
|
|
|
17012
17074
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17013
17075
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17014
17076
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17015
|
-
def
|
|
17016
|
-
command = make_simple_command(:
|
|
17017
|
-
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
|
|
17018
|
-
command.request_object = region_instance_group_managers_abandon_instances_request_object
|
|
17077
|
+
def delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17078
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
|
17019
17079
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17020
17080
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17021
17081
|
command.params['project'] = project unless project.nil?
|
|
17022
17082
|
command.params['region'] = region unless region.nil?
|
|
17023
|
-
command.params['
|
|
17083
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
|
17024
17084
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
17025
17085
|
command.query['fields'] = fields unless fields.nil?
|
|
17026
17086
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -17028,14 +17088,14 @@ module Google
|
|
|
17028
17088
|
execute_or_queue_command(command, &block)
|
|
17029
17089
|
end
|
|
17030
17090
|
|
|
17031
|
-
#
|
|
17091
|
+
# Returns the specified HealthCheck resource. Gets a list of available health
|
|
17092
|
+
# checks by making a list() request.
|
|
17032
17093
|
# @param [String] project
|
|
17033
17094
|
# Project ID for this request.
|
|
17034
17095
|
# @param [String] region
|
|
17035
|
-
# Name of the region scoping this request
|
|
17036
|
-
# @param [String]
|
|
17037
|
-
#
|
|
17038
|
-
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersApplyUpdatesRequest] region_instance_group_managers_apply_updates_request_object
|
|
17096
|
+
# Name of the region scoping this request.
|
|
17097
|
+
# @param [String] health_check
|
|
17098
|
+
# Name of the HealthCheck resource to return.
|
|
17039
17099
|
# @param [String] fields
|
|
17040
17100
|
# Selector specifying which fields to include in a partial response.
|
|
17041
17101
|
# @param [String] quota_user
|
|
@@ -17047,37 +17107,34 @@ module Google
|
|
|
17047
17107
|
# Request-specific options
|
|
17048
17108
|
#
|
|
17049
17109
|
# @yield [result, err] Result & error if block supplied
|
|
17050
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
17110
|
+
# @yieldparam result [Google::Apis::ComputeBeta::HealthCheck] parsed result object
|
|
17051
17111
|
# @yieldparam err [StandardError] error object if request failed
|
|
17052
17112
|
#
|
|
17053
|
-
# @return [Google::Apis::ComputeBeta::
|
|
17113
|
+
# @return [Google::Apis::ComputeBeta::HealthCheck]
|
|
17054
17114
|
#
|
|
17055
17115
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17056
17116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17057
17117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17058
|
-
def
|
|
17059
|
-
command = make_simple_command(:
|
|
17060
|
-
command.
|
|
17061
|
-
command.
|
|
17062
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17063
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17118
|
+
def get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17119
|
+
command = make_simple_command(:get, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
|
17120
|
+
command.response_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
|
|
17121
|
+
command.response_class = Google::Apis::ComputeBeta::HealthCheck
|
|
17064
17122
|
command.params['project'] = project unless project.nil?
|
|
17065
17123
|
command.params['region'] = region unless region.nil?
|
|
17066
|
-
command.params['
|
|
17124
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
|
17067
17125
|
command.query['fields'] = fields unless fields.nil?
|
|
17068
17126
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17069
17127
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17070
17128
|
execute_or_queue_command(command, &block)
|
|
17071
17129
|
end
|
|
17072
17130
|
|
|
17073
|
-
#
|
|
17074
|
-
#
|
|
17131
|
+
# Creates a HealthCheck resource in the specified project using the data
|
|
17132
|
+
# included in the request.
|
|
17075
17133
|
# @param [String] project
|
|
17076
17134
|
# Project ID for this request.
|
|
17077
17135
|
# @param [String] region
|
|
17078
17136
|
# Name of the region scoping this request.
|
|
17079
|
-
# @param [
|
|
17080
|
-
# Name of the managed instance group to delete.
|
|
17137
|
+
# @param [Google::Apis::ComputeBeta::HealthCheck] health_check_object
|
|
17081
17138
|
# @param [String] request_id
|
|
17082
17139
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17083
17140
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17108,13 +17165,14 @@ module Google
|
|
|
17108
17165
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17109
17166
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17110
17167
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17111
|
-
def
|
|
17112
|
-
command = make_simple_command(:
|
|
17168
|
+
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)
|
|
17169
|
+
command = make_simple_command(:post, '{project}/regions/{region}/healthChecks', options)
|
|
17170
|
+
command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
|
|
17171
|
+
command.request_object = health_check_object
|
|
17113
17172
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17114
17173
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17115
17174
|
command.params['project'] = project unless project.nil?
|
|
17116
17175
|
command.params['region'] = region unless region.nil?
|
|
17117
|
-
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17118
17176
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
17119
17177
|
command.query['fields'] = fields unless fields.nil?
|
|
17120
17178
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -17122,35 +17180,45 @@ module Google
|
|
|
17122
17180
|
execute_or_queue_command(command, &block)
|
|
17123
17181
|
end
|
|
17124
17182
|
|
|
17125
|
-
#
|
|
17126
|
-
# deleted. The instances are also removed from any target pools of which they
|
|
17127
|
-
# were a member. This method reduces the targetSize of the managed instance
|
|
17128
|
-
# group by the number of instances that you delete. The deleteInstances
|
|
17129
|
-
# operation is marked DONE if the deleteInstances request is successful. The
|
|
17130
|
-
# underlying actions take additional time. You must separately verify the status
|
|
17131
|
-
# of the deleting action with the listmanagedinstances method.
|
|
17132
|
-
# If the group is part of a backend service that has enabled connection draining,
|
|
17133
|
-
# it can take up to 60 seconds after the connection draining duration has
|
|
17134
|
-
# elapsed before the VM instance is removed or deleted.
|
|
17135
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
|
17183
|
+
# Retrieves the list of HealthCheck resources available to the specified project.
|
|
17136
17184
|
# @param [String] project
|
|
17137
17185
|
# Project ID for this request.
|
|
17138
17186
|
# @param [String] region
|
|
17139
17187
|
# Name of the region scoping this request.
|
|
17140
|
-
# @param [String]
|
|
17141
|
-
#
|
|
17142
|
-
#
|
|
17143
|
-
#
|
|
17144
|
-
#
|
|
17145
|
-
#
|
|
17146
|
-
#
|
|
17147
|
-
#
|
|
17148
|
-
#
|
|
17149
|
-
#
|
|
17150
|
-
#
|
|
17151
|
-
#
|
|
17152
|
-
#
|
|
17153
|
-
#
|
|
17188
|
+
# @param [String] filter
|
|
17189
|
+
# A filter expression that filters resources listed in the response. The
|
|
17190
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
17191
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
17192
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
17193
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
17194
|
+
# instances named example-instance by specifying name != example-instance.
|
|
17195
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
17196
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
17197
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
17198
|
+
# on resource labels.
|
|
17199
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
17200
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
17201
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
17202
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
17203
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
17204
|
+
# automaticRestart = true).
|
|
17205
|
+
# @param [Fixnum] max_results
|
|
17206
|
+
# The maximum number of results per page that should be returned. If the number
|
|
17207
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
17208
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
17209
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
17210
|
+
# @param [String] order_by
|
|
17211
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
17212
|
+
# alphanumerical order based on the resource name.
|
|
17213
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
17214
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
17215
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
17216
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
17217
|
+
# returned first.
|
|
17218
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
17219
|
+
# @param [String] page_token
|
|
17220
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
17221
|
+
# a previous list request to get the next page of results.
|
|
17154
17222
|
# @param [String] fields
|
|
17155
17223
|
# Selector specifying which fields to include in a partial response.
|
|
17156
17224
|
# @param [String] quota_user
|
|
@@ -17162,37 +17230,51 @@ module Google
|
|
|
17162
17230
|
# Request-specific options
|
|
17163
17231
|
#
|
|
17164
17232
|
# @yield [result, err] Result & error if block supplied
|
|
17165
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
17233
|
+
# @yieldparam result [Google::Apis::ComputeBeta::HealthCheckList] parsed result object
|
|
17166
17234
|
# @yieldparam err [StandardError] error object if request failed
|
|
17167
17235
|
#
|
|
17168
|
-
# @return [Google::Apis::ComputeBeta::
|
|
17236
|
+
# @return [Google::Apis::ComputeBeta::HealthCheckList]
|
|
17169
17237
|
#
|
|
17170
17238
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17171
17239
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17172
17240
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17173
|
-
def
|
|
17174
|
-
command = make_simple_command(:
|
|
17175
|
-
command.
|
|
17176
|
-
command.
|
|
17177
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17178
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17241
|
+
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)
|
|
17242
|
+
command = make_simple_command(:get, '{project}/regions/{region}/healthChecks', options)
|
|
17243
|
+
command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation
|
|
17244
|
+
command.response_class = Google::Apis::ComputeBeta::HealthCheckList
|
|
17179
17245
|
command.params['project'] = project unless project.nil?
|
|
17180
17246
|
command.params['region'] = region unless region.nil?
|
|
17181
|
-
command.
|
|
17182
|
-
command.query['
|
|
17247
|
+
command.query['filter'] = filter unless filter.nil?
|
|
17248
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
17249
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
17250
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
17183
17251
|
command.query['fields'] = fields unless fields.nil?
|
|
17184
17252
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17185
17253
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17186
17254
|
execute_or_queue_command(command, &block)
|
|
17187
17255
|
end
|
|
17188
17256
|
|
|
17189
|
-
#
|
|
17257
|
+
# Updates a HealthCheck resource in the specified project using the data
|
|
17258
|
+
# included in the request. This method supports PATCH semantics and uses the
|
|
17259
|
+
# JSON merge patch format and processing rules.
|
|
17190
17260
|
# @param [String] project
|
|
17191
17261
|
# Project ID for this request.
|
|
17192
17262
|
# @param [String] region
|
|
17193
17263
|
# Name of the region scoping this request.
|
|
17194
|
-
# @param [String]
|
|
17195
|
-
# Name of the
|
|
17264
|
+
# @param [String] health_check
|
|
17265
|
+
# Name of the HealthCheck resource to patch.
|
|
17266
|
+
# @param [Google::Apis::ComputeBeta::HealthCheck] health_check_object
|
|
17267
|
+
# @param [String] request_id
|
|
17268
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17269
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17270
|
+
# request if it has already been completed.
|
|
17271
|
+
# For example, consider a situation where you make an initial request and the
|
|
17272
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17273
|
+
# server can check if original operation with the same request ID was received,
|
|
17274
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17275
|
+
# accidentally creating duplicate commitments.
|
|
17276
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17277
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17196
17278
|
# @param [String] fields
|
|
17197
17279
|
# Selector specifying which fields to include in a partial response.
|
|
17198
17280
|
# @param [String] quota_user
|
|
@@ -17204,39 +17286,39 @@ module Google
|
|
|
17204
17286
|
# Request-specific options
|
|
17205
17287
|
#
|
|
17206
17288
|
# @yield [result, err] Result & error if block supplied
|
|
17207
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
17289
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17208
17290
|
# @yieldparam err [StandardError] error object if request failed
|
|
17209
17291
|
#
|
|
17210
|
-
# @return [Google::Apis::ComputeBeta::
|
|
17292
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17211
17293
|
#
|
|
17212
17294
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17213
17295
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17214
17296
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17215
|
-
def
|
|
17216
|
-
command = make_simple_command(:
|
|
17217
|
-
command.
|
|
17218
|
-
command.
|
|
17297
|
+
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)
|
|
17298
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
|
17299
|
+
command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
|
|
17300
|
+
command.request_object = health_check_object
|
|
17301
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17302
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17219
17303
|
command.params['project'] = project unless project.nil?
|
|
17220
17304
|
command.params['region'] = region unless region.nil?
|
|
17221
|
-
command.params['
|
|
17305
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
|
17306
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17222
17307
|
command.query['fields'] = fields unless fields.nil?
|
|
17223
17308
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17224
17309
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17225
17310
|
execute_or_queue_command(command, &block)
|
|
17226
17311
|
end
|
|
17227
17312
|
|
|
17228
|
-
#
|
|
17229
|
-
#
|
|
17230
|
-
# the specified instance template. This operation is marked as DONE when the
|
|
17231
|
-
# group is created even if the instances in the group have not yet been created.
|
|
17232
|
-
# You must separately verify the status of the individual instances with the
|
|
17233
|
-
# listmanagedinstances method.
|
|
17234
|
-
# A regional managed instance group can contain up to 2000 instances.
|
|
17313
|
+
# Updates a HealthCheck resource in the specified project using the data
|
|
17314
|
+
# included in the request.
|
|
17235
17315
|
# @param [String] project
|
|
17236
17316
|
# Project ID for this request.
|
|
17237
17317
|
# @param [String] region
|
|
17238
17318
|
# Name of the region scoping this request.
|
|
17239
|
-
# @param [
|
|
17319
|
+
# @param [String] health_check
|
|
17320
|
+
# Name of the HealthCheck resource to update.
|
|
17321
|
+
# @param [Google::Apis::ComputeBeta::HealthCheck] health_check_object
|
|
17240
17322
|
# @param [String] request_id
|
|
17241
17323
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17242
17324
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17267,61 +17349,1495 @@ module Google
|
|
|
17267
17349
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17268
17350
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17269
17351
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17270
|
-
def
|
|
17271
|
-
command = make_simple_command(:
|
|
17272
|
-
command.request_representation = Google::Apis::ComputeBeta::
|
|
17273
|
-
command.request_object =
|
|
17274
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17352
|
+
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)
|
|
17353
|
+
command = make_simple_command(:put, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
|
|
17354
|
+
command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation
|
|
17355
|
+
command.request_object = health_check_object
|
|
17356
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17357
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17358
|
+
command.params['project'] = project unless project.nil?
|
|
17359
|
+
command.params['region'] = region unless region.nil?
|
|
17360
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
|
17361
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17362
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17363
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17364
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17365
|
+
execute_or_queue_command(command, &block)
|
|
17366
|
+
end
|
|
17367
|
+
|
|
17368
|
+
# Flags the specified instances to be immediately removed from the managed
|
|
17369
|
+
# instance group. Abandoning an instance does not delete the instance, but it
|
|
17370
|
+
# does remove the instance from any target pools that are applied by the managed
|
|
17371
|
+
# instance group. This method reduces the targetSize of the managed instance
|
|
17372
|
+
# group by the number of instances that you abandon. This operation is marked as
|
|
17373
|
+
# DONE when the action is scheduled even if the instances have not yet been
|
|
17374
|
+
# removed from the group. You must separately verify the status of the
|
|
17375
|
+
# abandoning action with the listmanagedinstances method.
|
|
17376
|
+
# If the group is part of a backend service that has enabled connection draining,
|
|
17377
|
+
# it can take up to 60 seconds after the connection draining duration has
|
|
17378
|
+
# elapsed before the VM instance is removed or deleted.
|
|
17379
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
17380
|
+
# @param [String] project
|
|
17381
|
+
# Project ID for this request.
|
|
17382
|
+
# @param [String] region
|
|
17383
|
+
# Name of the region scoping this request.
|
|
17384
|
+
# @param [String] instance_group_manager
|
|
17385
|
+
# Name of the managed instance group.
|
|
17386
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
|
|
17387
|
+
# @param [String] request_id
|
|
17388
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17389
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17390
|
+
# request if it has already been completed.
|
|
17391
|
+
# For example, consider a situation where you make an initial request and the
|
|
17392
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17393
|
+
# server can check if original operation with the same request ID was received,
|
|
17394
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17395
|
+
# accidentally creating duplicate commitments.
|
|
17396
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17397
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17398
|
+
# @param [String] fields
|
|
17399
|
+
# Selector specifying which fields to include in a partial response.
|
|
17400
|
+
# @param [String] quota_user
|
|
17401
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17402
|
+
# characters.
|
|
17403
|
+
# @param [String] user_ip
|
|
17404
|
+
# Deprecated. Please use quotaUser instead.
|
|
17405
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17406
|
+
# Request-specific options
|
|
17407
|
+
#
|
|
17408
|
+
# @yield [result, err] Result & error if block supplied
|
|
17409
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17410
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17411
|
+
#
|
|
17412
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17413
|
+
#
|
|
17414
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17415
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17416
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17417
|
+
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)
|
|
17418
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
|
|
17419
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
|
|
17420
|
+
command.request_object = region_instance_group_managers_abandon_instances_request_object
|
|
17421
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17422
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17423
|
+
command.params['project'] = project unless project.nil?
|
|
17424
|
+
command.params['region'] = region unless region.nil?
|
|
17425
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17426
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17427
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17428
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17429
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17430
|
+
execute_or_queue_command(command, &block)
|
|
17431
|
+
end
|
|
17432
|
+
|
|
17433
|
+
# Apply updates to selected instances the managed instance group.
|
|
17434
|
+
# @param [String] project
|
|
17435
|
+
# Project ID for this request.
|
|
17436
|
+
# @param [String] region
|
|
17437
|
+
# Name of the region scoping this request, should conform to RFC1035.
|
|
17438
|
+
# @param [String] instance_group_manager
|
|
17439
|
+
# The name of the managed instance group, should conform to RFC1035.
|
|
17440
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersApplyUpdatesRequest] region_instance_group_managers_apply_updates_request_object
|
|
17441
|
+
# @param [String] fields
|
|
17442
|
+
# Selector specifying which fields to include in a partial response.
|
|
17443
|
+
# @param [String] quota_user
|
|
17444
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17445
|
+
# characters.
|
|
17446
|
+
# @param [String] user_ip
|
|
17447
|
+
# Deprecated. Please use quotaUser instead.
|
|
17448
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17449
|
+
# Request-specific options
|
|
17450
|
+
#
|
|
17451
|
+
# @yield [result, err] Result & error if block supplied
|
|
17452
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17453
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17454
|
+
#
|
|
17455
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17456
|
+
#
|
|
17457
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17458
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17459
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17460
|
+
def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17461
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options)
|
|
17462
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersApplyUpdatesRequest::Representation
|
|
17463
|
+
command.request_object = region_instance_group_managers_apply_updates_request_object
|
|
17464
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17465
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17466
|
+
command.params['project'] = project unless project.nil?
|
|
17467
|
+
command.params['region'] = region unless region.nil?
|
|
17468
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17469
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17470
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17471
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17472
|
+
execute_or_queue_command(command, &block)
|
|
17473
|
+
end
|
|
17474
|
+
|
|
17475
|
+
# Deletes the specified managed instance group and all of the instances in that
|
|
17476
|
+
# group.
|
|
17477
|
+
# @param [String] project
|
|
17478
|
+
# Project ID for this request.
|
|
17479
|
+
# @param [String] region
|
|
17480
|
+
# Name of the region scoping this request.
|
|
17481
|
+
# @param [String] instance_group_manager
|
|
17482
|
+
# Name of the managed instance group to delete.
|
|
17483
|
+
# @param [String] request_id
|
|
17484
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17485
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17486
|
+
# request if it has already been completed.
|
|
17487
|
+
# For example, consider a situation where you make an initial request and the
|
|
17488
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17489
|
+
# server can check if original operation with the same request ID was received,
|
|
17490
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17491
|
+
# accidentally creating duplicate commitments.
|
|
17492
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17493
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17494
|
+
# @param [String] fields
|
|
17495
|
+
# Selector specifying which fields to include in a partial response.
|
|
17496
|
+
# @param [String] quota_user
|
|
17497
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17498
|
+
# characters.
|
|
17499
|
+
# @param [String] user_ip
|
|
17500
|
+
# Deprecated. Please use quotaUser instead.
|
|
17501
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17502
|
+
# Request-specific options
|
|
17503
|
+
#
|
|
17504
|
+
# @yield [result, err] Result & error if block supplied
|
|
17505
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17506
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17507
|
+
#
|
|
17508
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17509
|
+
#
|
|
17510
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17511
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17512
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17513
|
+
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)
|
|
17514
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
17515
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17516
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17517
|
+
command.params['project'] = project unless project.nil?
|
|
17518
|
+
command.params['region'] = region unless region.nil?
|
|
17519
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17520
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17521
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17522
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17523
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17524
|
+
execute_or_queue_command(command, &block)
|
|
17525
|
+
end
|
|
17526
|
+
|
|
17527
|
+
# Flags the specified instances in the managed instance group to be immediately
|
|
17528
|
+
# deleted. The instances are also removed from any target pools of which they
|
|
17529
|
+
# were a member. This method reduces the targetSize of the managed instance
|
|
17530
|
+
# group by the number of instances that you delete. The deleteInstances
|
|
17531
|
+
# operation is marked DONE if the deleteInstances request is successful. The
|
|
17532
|
+
# underlying actions take additional time. You must separately verify the status
|
|
17533
|
+
# of the deleting action with the listmanagedinstances method.
|
|
17534
|
+
# If the group is part of a backend service that has enabled connection draining,
|
|
17535
|
+
# it can take up to 60 seconds after the connection draining duration has
|
|
17536
|
+
# elapsed before the VM instance is removed or deleted.
|
|
17537
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
17538
|
+
# @param [String] project
|
|
17539
|
+
# Project ID for this request.
|
|
17540
|
+
# @param [String] region
|
|
17541
|
+
# Name of the region scoping this request.
|
|
17542
|
+
# @param [String] instance_group_manager
|
|
17543
|
+
# Name of the managed instance group.
|
|
17544
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object
|
|
17545
|
+
# @param [String] request_id
|
|
17546
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17547
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17548
|
+
# request if it has already been completed.
|
|
17549
|
+
# For example, consider a situation where you make an initial request and the
|
|
17550
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17551
|
+
# server can check if original operation with the same request ID was received,
|
|
17552
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17553
|
+
# accidentally creating duplicate commitments.
|
|
17554
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17555
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17556
|
+
# @param [String] fields
|
|
17557
|
+
# Selector specifying which fields to include in a partial response.
|
|
17558
|
+
# @param [String] quota_user
|
|
17559
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17560
|
+
# characters.
|
|
17561
|
+
# @param [String] user_ip
|
|
17562
|
+
# Deprecated. Please use quotaUser instead.
|
|
17563
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17564
|
+
# Request-specific options
|
|
17565
|
+
#
|
|
17566
|
+
# @yield [result, err] Result & error if block supplied
|
|
17567
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17568
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17569
|
+
#
|
|
17570
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17571
|
+
#
|
|
17572
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17573
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17574
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17575
|
+
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)
|
|
17576
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
|
|
17577
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersDeleteInstancesRequest::Representation
|
|
17578
|
+
command.request_object = region_instance_group_managers_delete_instances_request_object
|
|
17579
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17580
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17581
|
+
command.params['project'] = project unless project.nil?
|
|
17582
|
+
command.params['region'] = region unless region.nil?
|
|
17583
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17584
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17585
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17586
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17587
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17588
|
+
execute_or_queue_command(command, &block)
|
|
17589
|
+
end
|
|
17590
|
+
|
|
17591
|
+
# Returns all of the details about the specified managed instance group.
|
|
17592
|
+
# @param [String] project
|
|
17593
|
+
# Project ID for this request.
|
|
17594
|
+
# @param [String] region
|
|
17595
|
+
# Name of the region scoping this request.
|
|
17596
|
+
# @param [String] instance_group_manager
|
|
17597
|
+
# Name of the managed instance group to return.
|
|
17598
|
+
# @param [String] fields
|
|
17599
|
+
# Selector specifying which fields to include in a partial response.
|
|
17600
|
+
# @param [String] quota_user
|
|
17601
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17602
|
+
# characters.
|
|
17603
|
+
# @param [String] user_ip
|
|
17604
|
+
# Deprecated. Please use quotaUser instead.
|
|
17605
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17606
|
+
# Request-specific options
|
|
17607
|
+
#
|
|
17608
|
+
# @yield [result, err] Result & error if block supplied
|
|
17609
|
+
# @yieldparam result [Google::Apis::ComputeBeta::InstanceGroupManager] parsed result object
|
|
17610
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17611
|
+
#
|
|
17612
|
+
# @return [Google::Apis::ComputeBeta::InstanceGroupManager]
|
|
17613
|
+
#
|
|
17614
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17615
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17616
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17617
|
+
def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17618
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
17619
|
+
command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
|
17620
|
+
command.response_class = Google::Apis::ComputeBeta::InstanceGroupManager
|
|
17621
|
+
command.params['project'] = project unless project.nil?
|
|
17622
|
+
command.params['region'] = region unless region.nil?
|
|
17623
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17624
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17625
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17626
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17627
|
+
execute_or_queue_command(command, &block)
|
|
17628
|
+
end
|
|
17629
|
+
|
|
17630
|
+
# Creates a managed instance group using the information that you specify in the
|
|
17631
|
+
# request. After the group is created, instances in the group are created using
|
|
17632
|
+
# the specified instance template. This operation is marked as DONE when the
|
|
17633
|
+
# group is created even if the instances in the group have not yet been created.
|
|
17634
|
+
# You must separately verify the status of the individual instances with the
|
|
17635
|
+
# listmanagedinstances method.
|
|
17636
|
+
# A regional managed instance group can contain up to 2000 instances.
|
|
17637
|
+
# @param [String] project
|
|
17638
|
+
# Project ID for this request.
|
|
17639
|
+
# @param [String] region
|
|
17640
|
+
# Name of the region scoping this request.
|
|
17641
|
+
# @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
|
|
17642
|
+
# @param [String] request_id
|
|
17643
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17644
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17645
|
+
# request if it has already been completed.
|
|
17646
|
+
# For example, consider a situation where you make an initial request and the
|
|
17647
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17648
|
+
# server can check if original operation with the same request ID was received,
|
|
17649
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17650
|
+
# accidentally creating duplicate commitments.
|
|
17651
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17652
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17653
|
+
# @param [String] fields
|
|
17654
|
+
# Selector specifying which fields to include in a partial response.
|
|
17655
|
+
# @param [String] quota_user
|
|
17656
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17657
|
+
# characters.
|
|
17658
|
+
# @param [String] user_ip
|
|
17659
|
+
# Deprecated. Please use quotaUser instead.
|
|
17660
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17661
|
+
# Request-specific options
|
|
17662
|
+
#
|
|
17663
|
+
# @yield [result, err] Result & error if block supplied
|
|
17664
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17665
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17666
|
+
#
|
|
17667
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17668
|
+
#
|
|
17669
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17670
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17671
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17672
|
+
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)
|
|
17673
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options)
|
|
17674
|
+
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
|
17675
|
+
command.request_object = instance_group_manager_object
|
|
17676
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17677
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17678
|
+
command.params['project'] = project unless project.nil?
|
|
17679
|
+
command.params['region'] = region unless region.nil?
|
|
17680
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17681
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17682
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17683
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17684
|
+
execute_or_queue_command(command, &block)
|
|
17685
|
+
end
|
|
17686
|
+
|
|
17687
|
+
# Retrieves the list of managed instance groups that are contained within the
|
|
17688
|
+
# specified region.
|
|
17689
|
+
# @param [String] project
|
|
17690
|
+
# Project ID for this request.
|
|
17691
|
+
# @param [String] region
|
|
17692
|
+
# Name of the region scoping this request.
|
|
17693
|
+
# @param [String] filter
|
|
17694
|
+
# A filter expression that filters resources listed in the response. The
|
|
17695
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
17696
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
17697
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
17698
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
17699
|
+
# instances named example-instance by specifying name != example-instance.
|
|
17700
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
17701
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
17702
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
17703
|
+
# on resource labels.
|
|
17704
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
17705
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
17706
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
17707
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
17708
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
17709
|
+
# automaticRestart = true).
|
|
17710
|
+
# @param [Fixnum] max_results
|
|
17711
|
+
# The maximum number of results per page that should be returned. If the number
|
|
17712
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
17713
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
17714
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
17715
|
+
# @param [String] order_by
|
|
17716
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
17717
|
+
# alphanumerical order based on the resource name.
|
|
17718
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
17719
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
17720
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
17721
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
17722
|
+
# returned first.
|
|
17723
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
17724
|
+
# @param [String] page_token
|
|
17725
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
17726
|
+
# a previous list request to get the next page of results.
|
|
17727
|
+
# @param [String] fields
|
|
17728
|
+
# Selector specifying which fields to include in a partial response.
|
|
17729
|
+
# @param [String] quota_user
|
|
17730
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17731
|
+
# characters.
|
|
17732
|
+
# @param [String] user_ip
|
|
17733
|
+
# Deprecated. Please use quotaUser instead.
|
|
17734
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17735
|
+
# Request-specific options
|
|
17736
|
+
#
|
|
17737
|
+
# @yield [result, err] Result & error if block supplied
|
|
17738
|
+
# @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupManagerList] parsed result object
|
|
17739
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17740
|
+
#
|
|
17741
|
+
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagerList]
|
|
17742
|
+
#
|
|
17743
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17744
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17745
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17746
|
+
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)
|
|
17747
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options)
|
|
17748
|
+
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Representation
|
|
17749
|
+
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList
|
|
17750
|
+
command.params['project'] = project unless project.nil?
|
|
17751
|
+
command.params['region'] = region unless region.nil?
|
|
17752
|
+
command.query['filter'] = filter unless filter.nil?
|
|
17753
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
17754
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
17755
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
17756
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17757
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17758
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17759
|
+
execute_or_queue_command(command, &block)
|
|
17760
|
+
end
|
|
17761
|
+
|
|
17762
|
+
# Lists the instances in the managed instance group and instances that are
|
|
17763
|
+
# scheduled to be created. The list includes any current actions that the group
|
|
17764
|
+
# has scheduled for its instances.
|
|
17765
|
+
# @param [String] project
|
|
17766
|
+
# Project ID for this request.
|
|
17767
|
+
# @param [String] region
|
|
17768
|
+
# Name of the region scoping this request.
|
|
17769
|
+
# @param [String] instance_group_manager
|
|
17770
|
+
# The name of the managed instance group.
|
|
17771
|
+
# @param [String] filter
|
|
17772
|
+
# A filter expression that filters resources listed in the response. The
|
|
17773
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
17774
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
17775
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
17776
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
17777
|
+
# instances named example-instance by specifying name != example-instance.
|
|
17778
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
17779
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
17780
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
17781
|
+
# on resource labels.
|
|
17782
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
17783
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
17784
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
17785
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
17786
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
17787
|
+
# automaticRestart = true).
|
|
17788
|
+
# @param [Fixnum] max_results
|
|
17789
|
+
# The maximum number of results per page that should be returned. If the number
|
|
17790
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
17791
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
17792
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
17793
|
+
# @param [String] order_by
|
|
17794
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
17795
|
+
# alphanumerical order based on the resource name.
|
|
17796
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
17797
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
17798
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
17799
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
17800
|
+
# returned first.
|
|
17801
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
17802
|
+
# @param [String] page_token
|
|
17803
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
17804
|
+
# a previous list request to get the next page of results.
|
|
17805
|
+
# @param [String] fields
|
|
17806
|
+
# Selector specifying which fields to include in a partial response.
|
|
17807
|
+
# @param [String] quota_user
|
|
17808
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17809
|
+
# characters.
|
|
17810
|
+
# @param [String] user_ip
|
|
17811
|
+
# Deprecated. Please use quotaUser instead.
|
|
17812
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17813
|
+
# Request-specific options
|
|
17814
|
+
#
|
|
17815
|
+
# @yield [result, err] Result & error if block supplied
|
|
17816
|
+
# @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse] parsed result object
|
|
17817
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17818
|
+
#
|
|
17819
|
+
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse]
|
|
17820
|
+
#
|
|
17821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17824
|
+
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)
|
|
17825
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
|
17826
|
+
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation
|
|
17827
|
+
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse
|
|
17828
|
+
command.params['project'] = project unless project.nil?
|
|
17829
|
+
command.params['region'] = region unless region.nil?
|
|
17830
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17831
|
+
command.query['filter'] = filter unless filter.nil?
|
|
17832
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
17833
|
+
command.query['order_by'] = order_by unless order_by.nil?
|
|
17834
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
17835
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17836
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17837
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17838
|
+
execute_or_queue_command(command, &block)
|
|
17839
|
+
end
|
|
17840
|
+
|
|
17841
|
+
# Updates a managed instance group using the information that you specify in the
|
|
17842
|
+
# request. This operation is marked as DONE when the group is patched even if
|
|
17843
|
+
# the instances in the group are still in the process of being patched. You must
|
|
17844
|
+
# separately verify the status of the individual instances with the
|
|
17845
|
+
# listmanagedinstances method. This method supports PATCH semantics and uses the
|
|
17846
|
+
# JSON merge patch format and processing rules.
|
|
17847
|
+
# @param [String] project
|
|
17848
|
+
# Project ID for this request.
|
|
17849
|
+
# @param [String] region
|
|
17850
|
+
# Name of the region scoping this request.
|
|
17851
|
+
# @param [String] instance_group_manager
|
|
17852
|
+
# The name of the instance group manager.
|
|
17853
|
+
# @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
|
|
17854
|
+
# @param [String] request_id
|
|
17855
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17856
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17857
|
+
# request if it has already been completed.
|
|
17858
|
+
# For example, consider a situation where you make an initial request and the
|
|
17859
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17860
|
+
# server can check if original operation with the same request ID was received,
|
|
17861
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17862
|
+
# accidentally creating duplicate commitments.
|
|
17863
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17864
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17865
|
+
# @param [String] fields
|
|
17866
|
+
# Selector specifying which fields to include in a partial response.
|
|
17867
|
+
# @param [String] quota_user
|
|
17868
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17869
|
+
# characters.
|
|
17870
|
+
# @param [String] user_ip
|
|
17871
|
+
# Deprecated. Please use quotaUser instead.
|
|
17872
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17873
|
+
# Request-specific options
|
|
17874
|
+
#
|
|
17875
|
+
# @yield [result, err] Result & error if block supplied
|
|
17876
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17877
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17878
|
+
#
|
|
17879
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17880
|
+
#
|
|
17881
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17882
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17883
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17884
|
+
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)
|
|
17885
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
17886
|
+
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
|
17887
|
+
command.request_object = instance_group_manager_object
|
|
17888
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17889
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17890
|
+
command.params['project'] = project unless project.nil?
|
|
17891
|
+
command.params['region'] = region unless region.nil?
|
|
17892
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17893
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17894
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17895
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17896
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17897
|
+
execute_or_queue_command(command, &block)
|
|
17898
|
+
end
|
|
17899
|
+
|
|
17900
|
+
# Flags the specified instances in the managed instance group to be immediately
|
|
17901
|
+
# recreated. The instances are deleted and recreated using the current instance
|
|
17902
|
+
# template for the managed instance group. This operation is marked as DONE when
|
|
17903
|
+
# the flag is set even if the instances have not yet been recreated. You must
|
|
17904
|
+
# separately verify the status of the recreating action with the
|
|
17905
|
+
# listmanagedinstances method.
|
|
17906
|
+
# If the group is part of a backend service that has enabled connection draining,
|
|
17907
|
+
# it can take up to 60 seconds after the connection draining duration has
|
|
17908
|
+
# elapsed before the VM instance is removed or deleted.
|
|
17909
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
17910
|
+
# @param [String] project
|
|
17911
|
+
# Project ID for this request.
|
|
17912
|
+
# @param [String] region
|
|
17913
|
+
# Name of the region scoping this request.
|
|
17914
|
+
# @param [String] instance_group_manager
|
|
17915
|
+
# Name of the managed instance group.
|
|
17916
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object
|
|
17917
|
+
# @param [String] request_id
|
|
17918
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17919
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17920
|
+
# request if it has already been completed.
|
|
17921
|
+
# For example, consider a situation where you make an initial request and the
|
|
17922
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17923
|
+
# server can check if original operation with the same request ID was received,
|
|
17924
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17925
|
+
# accidentally creating duplicate commitments.
|
|
17926
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17927
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17928
|
+
# @param [String] fields
|
|
17929
|
+
# Selector specifying which fields to include in a partial response.
|
|
17930
|
+
# @param [String] quota_user
|
|
17931
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17932
|
+
# characters.
|
|
17933
|
+
# @param [String] user_ip
|
|
17934
|
+
# Deprecated. Please use quotaUser instead.
|
|
17935
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17936
|
+
# Request-specific options
|
|
17937
|
+
#
|
|
17938
|
+
# @yield [result, err] Result & error if block supplied
|
|
17939
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17940
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17941
|
+
#
|
|
17942
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17943
|
+
#
|
|
17944
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17945
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17946
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17947
|
+
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)
|
|
17948
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
|
|
17949
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersRecreateRequest::Representation
|
|
17950
|
+
command.request_object = region_instance_group_managers_recreate_request_object
|
|
17951
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17952
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17953
|
+
command.params['project'] = project unless project.nil?
|
|
17954
|
+
command.params['region'] = region unless region.nil?
|
|
17955
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17956
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17957
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17958
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17959
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17960
|
+
execute_or_queue_command(command, &block)
|
|
17961
|
+
end
|
|
17962
|
+
|
|
17963
|
+
# Changes the intended size of the managed instance group. If you increase the
|
|
17964
|
+
# size, the group creates new instances using the current instance template. If
|
|
17965
|
+
# you decrease the size, the group deletes one or more instances.
|
|
17966
|
+
# The resize operation is marked DONE if the resize request is successful. The
|
|
17967
|
+
# underlying actions take additional time. You must separately verify the status
|
|
17968
|
+
# of the creating or deleting actions with the listmanagedinstances method.
|
|
17969
|
+
# If the group is part of a backend service that has enabled connection draining,
|
|
17970
|
+
# it can take up to 60 seconds after the connection draining duration has
|
|
17971
|
+
# elapsed before the VM instance is removed or deleted.
|
|
17972
|
+
# @param [String] project
|
|
17973
|
+
# Project ID for this request.
|
|
17974
|
+
# @param [String] region
|
|
17975
|
+
# Name of the region scoping this request.
|
|
17976
|
+
# @param [String] instance_group_manager
|
|
17977
|
+
# Name of the managed instance group.
|
|
17978
|
+
# @param [Fixnum] size
|
|
17979
|
+
# Number of instances that should exist in this instance group manager.
|
|
17980
|
+
# @param [String] request_id
|
|
17981
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17982
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17983
|
+
# request if it has already been completed.
|
|
17984
|
+
# For example, consider a situation where you make an initial request and the
|
|
17985
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17986
|
+
# server can check if original operation with the same request ID was received,
|
|
17987
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17988
|
+
# accidentally creating duplicate commitments.
|
|
17989
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17990
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17991
|
+
# @param [String] fields
|
|
17992
|
+
# Selector specifying which fields to include in a partial response.
|
|
17993
|
+
# @param [String] quota_user
|
|
17994
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17995
|
+
# characters.
|
|
17996
|
+
# @param [String] user_ip
|
|
17997
|
+
# Deprecated. Please use quotaUser instead.
|
|
17998
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17999
|
+
# Request-specific options
|
|
18000
|
+
#
|
|
18001
|
+
# @yield [result, err] Result & error if block supplied
|
|
18002
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18003
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18004
|
+
#
|
|
18005
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18006
|
+
#
|
|
18007
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18008
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18009
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18010
|
+
def 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)
|
|
18011
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options)
|
|
18012
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18013
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18014
|
+
command.params['project'] = project unless project.nil?
|
|
18015
|
+
command.params['region'] = region unless region.nil?
|
|
18016
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
18017
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18018
|
+
command.query['size'] = size unless size.nil?
|
|
18019
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18020
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18021
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18022
|
+
execute_or_queue_command(command, &block)
|
|
18023
|
+
end
|
|
18024
|
+
|
|
18025
|
+
# Modifies the autohealing policy for the instances in this managed instance
|
|
18026
|
+
# group. [Deprecated] This method is deprecated. Please use Patch instead.
|
|
18027
|
+
# @param [String] project
|
|
18028
|
+
# Project ID for this request.
|
|
18029
|
+
# @param [String] region
|
|
18030
|
+
# Name of the region scoping this request.
|
|
18031
|
+
# @param [String] instance_group_manager
|
|
18032
|
+
# Name of the managed instance group.
|
|
18033
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetAutoHealingRequest] region_instance_group_managers_set_auto_healing_request_object
|
|
18034
|
+
# @param [String] request_id
|
|
18035
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18036
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18037
|
+
# request if it has already been completed.
|
|
18038
|
+
# For example, consider a situation where you make an initial request and the
|
|
18039
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18040
|
+
# server can check if original operation with the same request ID was received,
|
|
18041
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18042
|
+
# accidentally creating duplicate commitments.
|
|
18043
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18044
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18045
|
+
# @param [String] fields
|
|
18046
|
+
# Selector specifying which fields to include in a partial response.
|
|
18047
|
+
# @param [String] quota_user
|
|
18048
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18049
|
+
# characters.
|
|
18050
|
+
# @param [String] user_ip
|
|
18051
|
+
# Deprecated. Please use quotaUser instead.
|
|
18052
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18053
|
+
# Request-specific options
|
|
18054
|
+
#
|
|
18055
|
+
# @yield [result, err] Result & error if block supplied
|
|
18056
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18057
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18058
|
+
#
|
|
18059
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18060
|
+
#
|
|
18061
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18062
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18063
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18064
|
+
def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18065
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options)
|
|
18066
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetAutoHealingRequest::Representation
|
|
18067
|
+
command.request_object = region_instance_group_managers_set_auto_healing_request_object
|
|
18068
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18069
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18070
|
+
command.params['project'] = project unless project.nil?
|
|
18071
|
+
command.params['region'] = region unless region.nil?
|
|
18072
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
18073
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18074
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18075
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18076
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18077
|
+
execute_or_queue_command(command, &block)
|
|
18078
|
+
end
|
|
18079
|
+
|
|
18080
|
+
# Sets the instance template to use when creating new instances or recreating
|
|
18081
|
+
# instances in this group. Existing instances are not affected.
|
|
18082
|
+
# @param [String] project
|
|
18083
|
+
# Project ID for this request.
|
|
18084
|
+
# @param [String] region
|
|
18085
|
+
# Name of the region scoping this request.
|
|
18086
|
+
# @param [String] instance_group_manager
|
|
18087
|
+
# The name of the managed instance group.
|
|
18088
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTemplateRequest] region_instance_group_managers_set_template_request_object
|
|
18089
|
+
# @param [String] request_id
|
|
18090
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18091
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18092
|
+
# request if it has already been completed.
|
|
18093
|
+
# For example, consider a situation where you make an initial request and the
|
|
18094
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18095
|
+
# server can check if original operation with the same request ID was received,
|
|
18096
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18097
|
+
# accidentally creating duplicate commitments.
|
|
18098
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18099
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18100
|
+
# @param [String] fields
|
|
18101
|
+
# Selector specifying which fields to include in a partial response.
|
|
18102
|
+
# @param [String] quota_user
|
|
18103
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18104
|
+
# characters.
|
|
18105
|
+
# @param [String] user_ip
|
|
18106
|
+
# Deprecated. Please use quotaUser instead.
|
|
18107
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18108
|
+
# Request-specific options
|
|
18109
|
+
#
|
|
18110
|
+
# @yield [result, err] Result & error if block supplied
|
|
18111
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18112
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18113
|
+
#
|
|
18114
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18115
|
+
#
|
|
18116
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18117
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18118
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18119
|
+
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)
|
|
18120
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
|
|
18121
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTemplateRequest::Representation
|
|
18122
|
+
command.request_object = region_instance_group_managers_set_template_request_object
|
|
18123
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18124
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18125
|
+
command.params['project'] = project unless project.nil?
|
|
18126
|
+
command.params['region'] = region unless region.nil?
|
|
18127
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
18128
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18129
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18130
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18131
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18132
|
+
execute_or_queue_command(command, &block)
|
|
18133
|
+
end
|
|
18134
|
+
|
|
18135
|
+
# Modifies the target pools to which all new instances in this group are
|
|
18136
|
+
# assigned. Existing instances in the group are not affected.
|
|
18137
|
+
# @param [String] project
|
|
18138
|
+
# Project ID for this request.
|
|
18139
|
+
# @param [String] region
|
|
18140
|
+
# Name of the region scoping this request.
|
|
18141
|
+
# @param [String] instance_group_manager
|
|
18142
|
+
# Name of the managed instance group.
|
|
18143
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object
|
|
18144
|
+
# @param [String] request_id
|
|
18145
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18146
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18147
|
+
# request if it has already been completed.
|
|
18148
|
+
# For example, consider a situation where you make an initial request and the
|
|
18149
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18150
|
+
# server can check if original operation with the same request ID was received,
|
|
18151
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18152
|
+
# accidentally creating duplicate commitments.
|
|
18153
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18154
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18155
|
+
# @param [String] fields
|
|
18156
|
+
# Selector specifying which fields to include in a partial response.
|
|
18157
|
+
# @param [String] quota_user
|
|
18158
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18159
|
+
# characters.
|
|
18160
|
+
# @param [String] user_ip
|
|
18161
|
+
# Deprecated. Please use quotaUser instead.
|
|
18162
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18163
|
+
# Request-specific options
|
|
18164
|
+
#
|
|
18165
|
+
# @yield [result, err] Result & error if block supplied
|
|
18166
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18167
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18168
|
+
#
|
|
18169
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18170
|
+
#
|
|
18171
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18172
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18173
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18174
|
+
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)
|
|
18175
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
|
|
18176
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
|
|
18177
|
+
command.request_object = region_instance_group_managers_set_target_pools_request_object
|
|
18178
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18179
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18180
|
+
command.params['project'] = project unless project.nil?
|
|
18181
|
+
command.params['region'] = region unless region.nil?
|
|
18182
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
18183
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18184
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18186
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18187
|
+
execute_or_queue_command(command, &block)
|
|
18188
|
+
end
|
|
18189
|
+
|
|
18190
|
+
# Returns permissions that a caller has on the specified resource.
|
|
18191
|
+
# @param [String] project
|
|
18192
|
+
# Project ID for this request.
|
|
18193
|
+
# @param [String] region
|
|
18194
|
+
# The name of the region for this request.
|
|
18195
|
+
# @param [String] resource
|
|
18196
|
+
# Name or id of the resource for this request.
|
|
18197
|
+
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
18198
|
+
# @param [String] fields
|
|
18199
|
+
# Selector specifying which fields to include in a partial response.
|
|
18200
|
+
# @param [String] quota_user
|
|
18201
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18202
|
+
# characters.
|
|
18203
|
+
# @param [String] user_ip
|
|
18204
|
+
# Deprecated. Please use quotaUser instead.
|
|
18205
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18206
|
+
# Request-specific options
|
|
18207
|
+
#
|
|
18208
|
+
# @yield [result, err] Result & error if block supplied
|
|
18209
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
|
18210
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18211
|
+
#
|
|
18212
|
+
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
|
18213
|
+
#
|
|
18214
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18215
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18216
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18217
|
+
def test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18218
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options)
|
|
18219
|
+
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
|
18220
|
+
command.request_object = test_permissions_request_object
|
|
18221
|
+
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
18222
|
+
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
18223
|
+
command.params['project'] = project unless project.nil?
|
|
18224
|
+
command.params['region'] = region unless region.nil?
|
|
18225
|
+
command.params['resource'] = resource unless resource.nil?
|
|
18226
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18227
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18228
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18229
|
+
execute_or_queue_command(command, &block)
|
|
18230
|
+
end
|
|
18231
|
+
|
|
18232
|
+
# Updates a managed instance group using the information that you specify in the
|
|
18233
|
+
# request. This operation is marked as DONE when the group is updated even if
|
|
18234
|
+
# the instances in the group have not yet been updated. You must separately
|
|
18235
|
+
# verify the status of the individual instances with the listmanagedinstances
|
|
18236
|
+
# method.
|
|
18237
|
+
# @param [String] project
|
|
18238
|
+
# Project ID for this request.
|
|
18239
|
+
# @param [String] region
|
|
18240
|
+
# Name of the region scoping this request.
|
|
18241
|
+
# @param [String] instance_group_manager
|
|
18242
|
+
# The name of the instance group manager.
|
|
18243
|
+
# @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
|
|
18244
|
+
# @param [String] request_id
|
|
18245
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18246
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18247
|
+
# request if it has already been completed.
|
|
18248
|
+
# For example, consider a situation where you make an initial request and the
|
|
18249
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18250
|
+
# server can check if original operation with the same request ID was received,
|
|
18251
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18252
|
+
# accidentally creating duplicate commitments.
|
|
18253
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18254
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18255
|
+
# @param [String] fields
|
|
18256
|
+
# Selector specifying which fields to include in a partial response.
|
|
18257
|
+
# @param [String] quota_user
|
|
18258
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18259
|
+
# characters.
|
|
18260
|
+
# @param [String] user_ip
|
|
18261
|
+
# Deprecated. Please use quotaUser instead.
|
|
18262
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18263
|
+
# Request-specific options
|
|
18264
|
+
#
|
|
18265
|
+
# @yield [result, err] Result & error if block supplied
|
|
18266
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18267
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18268
|
+
#
|
|
18269
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18270
|
+
#
|
|
18271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18274
|
+
def update_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)
|
|
18275
|
+
command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
18276
|
+
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
|
18277
|
+
command.request_object = instance_group_manager_object
|
|
18278
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18279
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18280
|
+
command.params['project'] = project unless project.nil?
|
|
18281
|
+
command.params['region'] = region unless region.nil?
|
|
18282
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
18283
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18284
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18285
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18286
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18287
|
+
execute_or_queue_command(command, &block)
|
|
18288
|
+
end
|
|
18289
|
+
|
|
18290
|
+
# Returns the specified instance group resource.
|
|
18291
|
+
# @param [String] project
|
|
18292
|
+
# Project ID for this request.
|
|
18293
|
+
# @param [String] region
|
|
18294
|
+
# Name of the region scoping this request.
|
|
18295
|
+
# @param [String] instance_group
|
|
18296
|
+
# Name of the instance group resource to return.
|
|
18297
|
+
# @param [String] fields
|
|
18298
|
+
# Selector specifying which fields to include in a partial response.
|
|
18299
|
+
# @param [String] quota_user
|
|
18300
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18301
|
+
# characters.
|
|
18302
|
+
# @param [String] user_ip
|
|
18303
|
+
# Deprecated. Please use quotaUser instead.
|
|
18304
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18305
|
+
# Request-specific options
|
|
18306
|
+
#
|
|
18307
|
+
# @yield [result, err] Result & error if block supplied
|
|
18308
|
+
# @yieldparam result [Google::Apis::ComputeBeta::InstanceGroup] parsed result object
|
|
18309
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18310
|
+
#
|
|
18311
|
+
# @return [Google::Apis::ComputeBeta::InstanceGroup]
|
|
18312
|
+
#
|
|
18313
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18314
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18315
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18316
|
+
def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18317
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
|
|
18318
|
+
command.response_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation
|
|
18319
|
+
command.response_class = Google::Apis::ComputeBeta::InstanceGroup
|
|
18320
|
+
command.params['project'] = project unless project.nil?
|
|
18321
|
+
command.params['region'] = region unless region.nil?
|
|
18322
|
+
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
|
18323
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18325
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18326
|
+
execute_or_queue_command(command, &block)
|
|
18327
|
+
end
|
|
18328
|
+
|
|
18329
|
+
# Retrieves the list of instance group resources contained within the specified
|
|
18330
|
+
# region.
|
|
18331
|
+
# @param [String] project
|
|
18332
|
+
# Project ID for this request.
|
|
18333
|
+
# @param [String] region
|
|
18334
|
+
# Name of the region scoping this request.
|
|
18335
|
+
# @param [String] filter
|
|
18336
|
+
# A filter expression that filters resources listed in the response. The
|
|
18337
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
18338
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
18339
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
18340
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
18341
|
+
# instances named example-instance by specifying name != example-instance.
|
|
18342
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
18343
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
18344
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
18345
|
+
# on resource labels.
|
|
18346
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
18347
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
18348
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
18349
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
18350
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
18351
|
+
# automaticRestart = true).
|
|
18352
|
+
# @param [Fixnum] max_results
|
|
18353
|
+
# The maximum number of results per page that should be returned. If the number
|
|
18354
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
18355
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
18356
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
18357
|
+
# @param [String] order_by
|
|
18358
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
18359
|
+
# alphanumerical order based on the resource name.
|
|
18360
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
18361
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
18362
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
18363
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
18364
|
+
# returned first.
|
|
18365
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
18366
|
+
# @param [String] page_token
|
|
18367
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
18368
|
+
# a previous list request to get the next page of results.
|
|
18369
|
+
# @param [String] fields
|
|
18370
|
+
# Selector specifying which fields to include in a partial response.
|
|
18371
|
+
# @param [String] quota_user
|
|
18372
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18373
|
+
# characters.
|
|
18374
|
+
# @param [String] user_ip
|
|
18375
|
+
# Deprecated. Please use quotaUser instead.
|
|
18376
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18377
|
+
# Request-specific options
|
|
18378
|
+
#
|
|
18379
|
+
# @yield [result, err] Result & error if block supplied
|
|
18380
|
+
# @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupList] parsed result object
|
|
18381
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18382
|
+
#
|
|
18383
|
+
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupList]
|
|
18384
|
+
#
|
|
18385
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18386
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18387
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18388
|
+
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)
|
|
18389
|
+
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options)
|
|
18390
|
+
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupList::Representation
|
|
18391
|
+
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupList
|
|
18392
|
+
command.params['project'] = project unless project.nil?
|
|
18393
|
+
command.params['region'] = region unless region.nil?
|
|
18394
|
+
command.query['filter'] = filter unless filter.nil?
|
|
18395
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
18396
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
18397
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
18398
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18400
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18401
|
+
execute_or_queue_command(command, &block)
|
|
18402
|
+
end
|
|
18403
|
+
|
|
18404
|
+
# Lists the instances in the specified instance group and displays information
|
|
18405
|
+
# about the named ports. Depending on the specified options, this method can
|
|
18406
|
+
# list all instances or only the instances that are running.
|
|
18407
|
+
# @param [String] project
|
|
18408
|
+
# Project ID for this request.
|
|
18409
|
+
# @param [String] region
|
|
18410
|
+
# Name of the region scoping this request.
|
|
18411
|
+
# @param [String] instance_group
|
|
18412
|
+
# Name of the regional instance group for which we want to list the instances.
|
|
18413
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object
|
|
18414
|
+
# @param [String] filter
|
|
18415
|
+
# A filter expression that filters resources listed in the response. The
|
|
18416
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
18417
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
18418
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
18419
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
18420
|
+
# instances named example-instance by specifying name != example-instance.
|
|
18421
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
18422
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
18423
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
18424
|
+
# on resource labels.
|
|
18425
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
18426
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
18427
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
18428
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
18429
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
18430
|
+
# automaticRestart = true).
|
|
18431
|
+
# @param [Fixnum] max_results
|
|
18432
|
+
# The maximum number of results per page that should be returned. If the number
|
|
18433
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
18434
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
18435
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
18436
|
+
# @param [String] order_by
|
|
18437
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
18438
|
+
# alphanumerical order based on the resource name.
|
|
18439
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
18440
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
18441
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
18442
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
18443
|
+
# returned first.
|
|
18444
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
18445
|
+
# @param [String] page_token
|
|
18446
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
18447
|
+
# a previous list request to get the next page of results.
|
|
18448
|
+
# @param [String] fields
|
|
18449
|
+
# Selector specifying which fields to include in a partial response.
|
|
18450
|
+
# @param [String] quota_user
|
|
18451
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18452
|
+
# characters.
|
|
18453
|
+
# @param [String] user_ip
|
|
18454
|
+
# Deprecated. Please use quotaUser instead.
|
|
18455
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18456
|
+
# Request-specific options
|
|
18457
|
+
#
|
|
18458
|
+
# @yield [result, err] Result & error if block supplied
|
|
18459
|
+
# @yieldparam result [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances] parsed result object
|
|
18460
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18461
|
+
#
|
|
18462
|
+
# @return [Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances]
|
|
18463
|
+
#
|
|
18464
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18465
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18466
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18467
|
+
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)
|
|
18468
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
|
|
18469
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstancesRequest::Representation
|
|
18470
|
+
command.request_object = region_instance_groups_list_instances_request_object
|
|
18471
|
+
command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Representation
|
|
18472
|
+
command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances
|
|
18473
|
+
command.params['project'] = project unless project.nil?
|
|
18474
|
+
command.params['region'] = region unless region.nil?
|
|
18475
|
+
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
|
18476
|
+
command.query['filter'] = filter unless filter.nil?
|
|
18477
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
18478
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
18479
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
18480
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18481
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18482
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18483
|
+
execute_or_queue_command(command, &block)
|
|
18484
|
+
end
|
|
18485
|
+
|
|
18486
|
+
# Sets the named ports for the specified regional instance group.
|
|
18487
|
+
# @param [String] project
|
|
18488
|
+
# Project ID for this request.
|
|
18489
|
+
# @param [String] region
|
|
18490
|
+
# Name of the region scoping this request.
|
|
18491
|
+
# @param [String] instance_group
|
|
18492
|
+
# The name of the regional instance group where the named ports are updated.
|
|
18493
|
+
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
|
|
18494
|
+
# @param [String] request_id
|
|
18495
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18496
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18497
|
+
# request if it has already been completed.
|
|
18498
|
+
# For example, consider a situation where you make an initial request and the
|
|
18499
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18500
|
+
# server can check if original operation with the same request ID was received,
|
|
18501
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18502
|
+
# accidentally creating duplicate commitments.
|
|
18503
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18504
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18505
|
+
# @param [String] fields
|
|
18506
|
+
# Selector specifying which fields to include in a partial response.
|
|
18507
|
+
# @param [String] quota_user
|
|
18508
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18509
|
+
# characters.
|
|
18510
|
+
# @param [String] user_ip
|
|
18511
|
+
# Deprecated. Please use quotaUser instead.
|
|
18512
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18513
|
+
# Request-specific options
|
|
18514
|
+
#
|
|
18515
|
+
# @yield [result, err] Result & error if block supplied
|
|
18516
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18517
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18518
|
+
#
|
|
18519
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18520
|
+
#
|
|
18521
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18522
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18523
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18524
|
+
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)
|
|
18525
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
|
|
18526
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest::Representation
|
|
18527
|
+
command.request_object = region_instance_groups_set_named_ports_request_object
|
|
18528
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18529
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18530
|
+
command.params['project'] = project unless project.nil?
|
|
18531
|
+
command.params['region'] = region unless region.nil?
|
|
18532
|
+
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
|
18533
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18534
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18535
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18536
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18537
|
+
execute_or_queue_command(command, &block)
|
|
18538
|
+
end
|
|
18539
|
+
|
|
18540
|
+
# Returns permissions that a caller has on the specified resource.
|
|
18541
|
+
# @param [String] project
|
|
18542
|
+
# Project ID for this request.
|
|
18543
|
+
# @param [String] region
|
|
18544
|
+
# The name of the region for this request.
|
|
18545
|
+
# @param [String] resource
|
|
18546
|
+
# Name or id of the resource for this request.
|
|
18547
|
+
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
18548
|
+
# @param [String] fields
|
|
18549
|
+
# Selector specifying which fields to include in a partial response.
|
|
18550
|
+
# @param [String] quota_user
|
|
18551
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18552
|
+
# characters.
|
|
18553
|
+
# @param [String] user_ip
|
|
18554
|
+
# Deprecated. Please use quotaUser instead.
|
|
18555
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18556
|
+
# Request-specific options
|
|
18557
|
+
#
|
|
18558
|
+
# @yield [result, err] Result & error if block supplied
|
|
18559
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
|
18560
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18561
|
+
#
|
|
18562
|
+
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
|
18563
|
+
#
|
|
18564
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18565
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18566
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18567
|
+
def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18568
|
+
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options)
|
|
18569
|
+
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
|
18570
|
+
command.request_object = test_permissions_request_object
|
|
18571
|
+
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
18572
|
+
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
18573
|
+
command.params['project'] = project unless project.nil?
|
|
18574
|
+
command.params['region'] = region unless region.nil?
|
|
18575
|
+
command.params['resource'] = resource unless resource.nil?
|
|
18576
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18578
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18579
|
+
execute_or_queue_command(command, &block)
|
|
18580
|
+
end
|
|
18581
|
+
|
|
18582
|
+
# Deletes the specified region-specific Operations resource.
|
|
18583
|
+
# @param [String] project
|
|
18584
|
+
# Project ID for this request.
|
|
18585
|
+
# @param [String] region
|
|
18586
|
+
# Name of the region for this request.
|
|
18587
|
+
# @param [String] operation
|
|
18588
|
+
# Name of the Operations resource to delete.
|
|
18589
|
+
# @param [String] fields
|
|
18590
|
+
# Selector specifying which fields to include in a partial response.
|
|
18591
|
+
# @param [String] quota_user
|
|
18592
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18593
|
+
# characters.
|
|
18594
|
+
# @param [String] user_ip
|
|
18595
|
+
# Deprecated. Please use quotaUser instead.
|
|
18596
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18597
|
+
# Request-specific options
|
|
18598
|
+
#
|
|
18599
|
+
# @yield [result, err] Result & error if block supplied
|
|
18600
|
+
# @yieldparam result [NilClass] No result returned for this method
|
|
18601
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18602
|
+
#
|
|
18603
|
+
# @return [void]
|
|
18604
|
+
#
|
|
18605
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18606
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18607
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18608
|
+
def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18609
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
|
|
18610
|
+
command.params['project'] = project unless project.nil?
|
|
18611
|
+
command.params['region'] = region unless region.nil?
|
|
18612
|
+
command.params['operation'] = operation unless operation.nil?
|
|
18613
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18614
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18615
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18616
|
+
execute_or_queue_command(command, &block)
|
|
18617
|
+
end
|
|
18618
|
+
|
|
18619
|
+
# Retrieves the specified region-specific Operations resource.
|
|
18620
|
+
# @param [String] project
|
|
18621
|
+
# Project ID for this request.
|
|
18622
|
+
# @param [String] region
|
|
18623
|
+
# Name of the region for this request.
|
|
18624
|
+
# @param [String] operation
|
|
18625
|
+
# Name of the Operations resource to return.
|
|
18626
|
+
# @param [String] fields
|
|
18627
|
+
# Selector specifying which fields to include in a partial response.
|
|
18628
|
+
# @param [String] quota_user
|
|
18629
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18630
|
+
# characters.
|
|
18631
|
+
# @param [String] user_ip
|
|
18632
|
+
# Deprecated. Please use quotaUser instead.
|
|
18633
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18634
|
+
# Request-specific options
|
|
18635
|
+
#
|
|
18636
|
+
# @yield [result, err] Result & error if block supplied
|
|
18637
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18638
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18639
|
+
#
|
|
18640
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18641
|
+
#
|
|
18642
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18643
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18644
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18645
|
+
def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18646
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
|
|
18647
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18648
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18649
|
+
command.params['project'] = project unless project.nil?
|
|
18650
|
+
command.params['region'] = region unless region.nil?
|
|
18651
|
+
command.params['operation'] = operation unless operation.nil?
|
|
18652
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18653
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18654
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18655
|
+
execute_or_queue_command(command, &block)
|
|
18656
|
+
end
|
|
18657
|
+
|
|
18658
|
+
# Retrieves a list of Operation resources contained within the specified region.
|
|
18659
|
+
# @param [String] project
|
|
18660
|
+
# Project ID for this request.
|
|
18661
|
+
# @param [String] region
|
|
18662
|
+
# Name of the region for this request.
|
|
18663
|
+
# @param [String] filter
|
|
18664
|
+
# A filter expression that filters resources listed in the response. The
|
|
18665
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
18666
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
18667
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
18668
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
18669
|
+
# instances named example-instance by specifying name != example-instance.
|
|
18670
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
18671
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
18672
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
18673
|
+
# on resource labels.
|
|
18674
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
18675
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
18676
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
18677
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
18678
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
18679
|
+
# automaticRestart = true).
|
|
18680
|
+
# @param [Fixnum] max_results
|
|
18681
|
+
# The maximum number of results per page that should be returned. If the number
|
|
18682
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
18683
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
18684
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
18685
|
+
# @param [String] order_by
|
|
18686
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
18687
|
+
# alphanumerical order based on the resource name.
|
|
18688
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
18689
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
18690
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
18691
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
18692
|
+
# returned first.
|
|
18693
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
18694
|
+
# @param [String] page_token
|
|
18695
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
18696
|
+
# a previous list request to get the next page of results.
|
|
18697
|
+
# @param [String] fields
|
|
18698
|
+
# Selector specifying which fields to include in a partial response.
|
|
18699
|
+
# @param [String] quota_user
|
|
18700
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18701
|
+
# characters.
|
|
18702
|
+
# @param [String] user_ip
|
|
18703
|
+
# Deprecated. Please use quotaUser instead.
|
|
18704
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18705
|
+
# Request-specific options
|
|
18706
|
+
#
|
|
18707
|
+
# @yield [result, err] Result & error if block supplied
|
|
18708
|
+
# @yieldparam result [Google::Apis::ComputeBeta::OperationList] parsed result object
|
|
18709
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18710
|
+
#
|
|
18711
|
+
# @return [Google::Apis::ComputeBeta::OperationList]
|
|
18712
|
+
#
|
|
18713
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18714
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18715
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18716
|
+
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)
|
|
18717
|
+
command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
|
|
18718
|
+
command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation
|
|
18719
|
+
command.response_class = Google::Apis::ComputeBeta::OperationList
|
|
18720
|
+
command.params['project'] = project unless project.nil?
|
|
18721
|
+
command.params['region'] = region unless region.nil?
|
|
18722
|
+
command.query['filter'] = filter unless filter.nil?
|
|
18723
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
18724
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
18725
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
18726
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18727
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18728
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18729
|
+
execute_or_queue_command(command, &block)
|
|
18730
|
+
end
|
|
18731
|
+
|
|
18732
|
+
# Deletes the specified SslCertificate resource in the region.
|
|
18733
|
+
# @param [String] project
|
|
18734
|
+
# Project ID for this request.
|
|
18735
|
+
# @param [String] region
|
|
18736
|
+
# Name of the region scoping this request.
|
|
18737
|
+
# @param [String] ssl_certificate
|
|
18738
|
+
# Name of the SslCertificate resource to delete.
|
|
18739
|
+
# @param [String] request_id
|
|
18740
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18741
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18742
|
+
# request if it has already been completed.
|
|
18743
|
+
# For example, consider a situation where you make an initial request and the
|
|
18744
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18745
|
+
# server can check if original operation with the same request ID was received,
|
|
18746
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18747
|
+
# accidentally creating duplicate commitments.
|
|
18748
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18749
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18750
|
+
# @param [String] fields
|
|
18751
|
+
# Selector specifying which fields to include in a partial response.
|
|
18752
|
+
# @param [String] quota_user
|
|
18753
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18754
|
+
# characters.
|
|
18755
|
+
# @param [String] user_ip
|
|
18756
|
+
# Deprecated. Please use quotaUser instead.
|
|
18757
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18758
|
+
# Request-specific options
|
|
18759
|
+
#
|
|
18760
|
+
# @yield [result, err] Result & error if block supplied
|
|
18761
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18762
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18763
|
+
#
|
|
18764
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18765
|
+
#
|
|
18766
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18767
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18768
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18769
|
+
def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18770
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
|
|
18771
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17275
18772
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17276
18773
|
command.params['project'] = project unless project.nil?
|
|
17277
18774
|
command.params['region'] = region unless region.nil?
|
|
17278
|
-
command.
|
|
18775
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
|
18776
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18777
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18779
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18780
|
+
execute_or_queue_command(command, &block)
|
|
18781
|
+
end
|
|
18782
|
+
|
|
18783
|
+
# Returns the specified SslCertificate resource in the specified region. Get a
|
|
18784
|
+
# list of available SSL certificates by making a list() request.
|
|
18785
|
+
# @param [String] project
|
|
18786
|
+
# Project ID for this request.
|
|
18787
|
+
# @param [String] region
|
|
18788
|
+
# Name of the region scoping this request.
|
|
18789
|
+
# @param [String] ssl_certificate
|
|
18790
|
+
# Name of the SslCertificate resource to return.
|
|
18791
|
+
# @param [String] fields
|
|
18792
|
+
# Selector specifying which fields to include in a partial response.
|
|
18793
|
+
# @param [String] quota_user
|
|
18794
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18795
|
+
# characters.
|
|
18796
|
+
# @param [String] user_ip
|
|
18797
|
+
# Deprecated. Please use quotaUser instead.
|
|
18798
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18799
|
+
# Request-specific options
|
|
18800
|
+
#
|
|
18801
|
+
# @yield [result, err] Result & error if block supplied
|
|
18802
|
+
# @yieldparam result [Google::Apis::ComputeBeta::SslCertificate] parsed result object
|
|
18803
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18804
|
+
#
|
|
18805
|
+
# @return [Google::Apis::ComputeBeta::SslCertificate]
|
|
18806
|
+
#
|
|
18807
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18808
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18809
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18810
|
+
def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18811
|
+
command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
|
|
18812
|
+
command.response_representation = Google::Apis::ComputeBeta::SslCertificate::Representation
|
|
18813
|
+
command.response_class = Google::Apis::ComputeBeta::SslCertificate
|
|
18814
|
+
command.params['project'] = project unless project.nil?
|
|
18815
|
+
command.params['region'] = region unless region.nil?
|
|
18816
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
|
17279
18817
|
command.query['fields'] = fields unless fields.nil?
|
|
17280
18818
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17281
18819
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17282
18820
|
execute_or_queue_command(command, &block)
|
|
17283
18821
|
end
|
|
17284
18822
|
|
|
17285
|
-
#
|
|
17286
|
-
#
|
|
18823
|
+
# Creates a SslCertificate resource in the specified project and region using
|
|
18824
|
+
# the data included in the request
|
|
17287
18825
|
# @param [String] project
|
|
17288
18826
|
# Project ID for this request.
|
|
17289
18827
|
# @param [String] region
|
|
17290
18828
|
# Name of the region scoping this request.
|
|
17291
|
-
# @param [
|
|
17292
|
-
#
|
|
17293
|
-
#
|
|
17294
|
-
# that you
|
|
17295
|
-
#
|
|
17296
|
-
# For example,
|
|
17297
|
-
#
|
|
17298
|
-
#
|
|
17299
|
-
#
|
|
17300
|
-
#
|
|
17301
|
-
#
|
|
17302
|
-
#
|
|
17303
|
-
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
17304
|
-
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
17305
|
-
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
17306
|
-
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
17307
|
-
# automaticRestart = true).
|
|
17308
|
-
# @param [Fixnum] max_results
|
|
17309
|
-
# The maximum number of results per page that should be returned. If the number
|
|
17310
|
-
# of available results is larger than maxResults, Compute Engine returns a
|
|
17311
|
-
# nextPageToken that can be used to get the next page of results in subsequent
|
|
17312
|
-
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
17313
|
-
# @param [String] order_by
|
|
17314
|
-
# Sorts list results by a certain order. By default, results are returned in
|
|
17315
|
-
# alphanumerical order based on the resource name.
|
|
17316
|
-
# You can also sort results in descending order based on the creation timestamp
|
|
17317
|
-
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
17318
|
-
# creationTimestamp field in reverse chronological order (newest result first).
|
|
17319
|
-
# Use this to sort resources like operations so that the newest operation is
|
|
17320
|
-
# returned first.
|
|
17321
|
-
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
17322
|
-
# @param [String] page_token
|
|
17323
|
-
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
17324
|
-
# a previous list request to get the next page of results.
|
|
18829
|
+
# @param [Google::Apis::ComputeBeta::SslCertificate] ssl_certificate_object
|
|
18830
|
+
# @param [String] request_id
|
|
18831
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18832
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18833
|
+
# request if it has already been completed.
|
|
18834
|
+
# For example, consider a situation where you make an initial request and the
|
|
18835
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18836
|
+
# server can check if original operation with the same request ID was received,
|
|
18837
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18838
|
+
# accidentally creating duplicate commitments.
|
|
18839
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18840
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17325
18841
|
# @param [String] fields
|
|
17326
18842
|
# Selector specifying which fields to include in a partial response.
|
|
17327
18843
|
# @param [String] quota_user
|
|
@@ -17333,39 +18849,35 @@ module Google
|
|
|
17333
18849
|
# Request-specific options
|
|
17334
18850
|
#
|
|
17335
18851
|
# @yield [result, err] Result & error if block supplied
|
|
17336
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
18852
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
17337
18853
|
# @yieldparam err [StandardError] error object if request failed
|
|
17338
18854
|
#
|
|
17339
|
-
# @return [Google::Apis::ComputeBeta::
|
|
18855
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
17340
18856
|
#
|
|
17341
18857
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17342
18858
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17343
18859
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17344
|
-
def
|
|
17345
|
-
command = make_simple_command(:
|
|
17346
|
-
command.
|
|
17347
|
-
command.
|
|
18860
|
+
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)
|
|
18861
|
+
command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates', options)
|
|
18862
|
+
command.request_representation = Google::Apis::ComputeBeta::SslCertificate::Representation
|
|
18863
|
+
command.request_object = ssl_certificate_object
|
|
18864
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18865
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17348
18866
|
command.params['project'] = project unless project.nil?
|
|
17349
18867
|
command.params['region'] = region unless region.nil?
|
|
17350
|
-
command.query['
|
|
17351
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
|
17352
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
17353
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
18868
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17354
18869
|
command.query['fields'] = fields unless fields.nil?
|
|
17355
18870
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17356
18871
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17357
18872
|
execute_or_queue_command(command, &block)
|
|
17358
18873
|
end
|
|
17359
18874
|
|
|
17360
|
-
#
|
|
17361
|
-
#
|
|
17362
|
-
# has scheduled for its instances.
|
|
18875
|
+
# Retrieves the list of SslCertificate resources available to the specified
|
|
18876
|
+
# project in the specified region.
|
|
17363
18877
|
# @param [String] project
|
|
17364
18878
|
# Project ID for this request.
|
|
17365
18879
|
# @param [String] region
|
|
17366
18880
|
# Name of the region scoping this request.
|
|
17367
|
-
# @param [String] instance_group_manager
|
|
17368
|
-
# The name of the managed instance group.
|
|
17369
18881
|
# @param [String] filter
|
|
17370
18882
|
# A filter expression that filters resources listed in the response. The
|
|
17371
18883
|
# expression must specify the field name, a comparison operator, and the value
|
|
@@ -17411,24 +18923,23 @@ module Google
|
|
|
17411
18923
|
# Request-specific options
|
|
17412
18924
|
#
|
|
17413
18925
|
# @yield [result, err] Result & error if block supplied
|
|
17414
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
18926
|
+
# @yieldparam result [Google::Apis::ComputeBeta::SslCertificateList] parsed result object
|
|
17415
18927
|
# @yieldparam err [StandardError] error object if request failed
|
|
17416
18928
|
#
|
|
17417
|
-
# @return [Google::Apis::ComputeBeta::
|
|
18929
|
+
# @return [Google::Apis::ComputeBeta::SslCertificateList]
|
|
17418
18930
|
#
|
|
17419
18931
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17420
18932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17421
18933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17422
|
-
def
|
|
17423
|
-
command = make_simple_command(:
|
|
17424
|
-
command.response_representation = Google::Apis::ComputeBeta::
|
|
17425
|
-
command.response_class = Google::Apis::ComputeBeta::
|
|
18934
|
+
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)
|
|
18935
|
+
command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates', options)
|
|
18936
|
+
command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation
|
|
18937
|
+
command.response_class = Google::Apis::ComputeBeta::SslCertificateList
|
|
17426
18938
|
command.params['project'] = project unless project.nil?
|
|
17427
18939
|
command.params['region'] = region unless region.nil?
|
|
17428
|
-
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17429
18940
|
command.query['filter'] = filter unless filter.nil?
|
|
17430
18941
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
17431
|
-
command.query['
|
|
18942
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
17432
18943
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
17433
18944
|
command.query['fields'] = fields unless fields.nil?
|
|
17434
18945
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -17436,19 +18947,13 @@ module Google
|
|
|
17436
18947
|
execute_or_queue_command(command, &block)
|
|
17437
18948
|
end
|
|
17438
18949
|
|
|
17439
|
-
#
|
|
17440
|
-
# request. This operation is marked as DONE when the group is patched even if
|
|
17441
|
-
# the instances in the group are still in the process of being patched. You must
|
|
17442
|
-
# separately verify the status of the individual instances with the
|
|
17443
|
-
# listmanagedinstances method. This method supports PATCH semantics and uses the
|
|
17444
|
-
# JSON merge patch format and processing rules.
|
|
18950
|
+
# Deletes the specified TargetHttpProxy resource.
|
|
17445
18951
|
# @param [String] project
|
|
17446
18952
|
# Project ID for this request.
|
|
17447
18953
|
# @param [String] region
|
|
17448
18954
|
# Name of the region scoping this request.
|
|
17449
|
-
# @param [String]
|
|
17450
|
-
#
|
|
17451
|
-
# @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
|
|
18955
|
+
# @param [String] target_http_proxy
|
|
18956
|
+
# Name of the TargetHttpProxy resource to delete.
|
|
17452
18957
|
# @param [String] request_id
|
|
17453
18958
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17454
18959
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17479,15 +18984,13 @@ module Google
|
|
|
17479
18984
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17480
18985
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17481
18986
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17482
|
-
def
|
|
17483
|
-
command = make_simple_command(:
|
|
17484
|
-
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
|
17485
|
-
command.request_object = instance_group_manager_object
|
|
18987
|
+
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)
|
|
18988
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
|
|
17486
18989
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17487
18990
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17488
18991
|
command.params['project'] = project unless project.nil?
|
|
17489
18992
|
command.params['region'] = region unless region.nil?
|
|
17490
|
-
command.params['
|
|
18993
|
+
command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
|
|
17491
18994
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
17492
18995
|
command.query['fields'] = fields unless fields.nil?
|
|
17493
18996
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -17495,34 +18998,14 @@ module Google
|
|
|
17495
18998
|
execute_or_queue_command(command, &block)
|
|
17496
18999
|
end
|
|
17497
19000
|
|
|
17498
|
-
#
|
|
17499
|
-
#
|
|
17500
|
-
# template for the managed instance group. This operation is marked as DONE when
|
|
17501
|
-
# the flag is set even if the instances have not yet been recreated. You must
|
|
17502
|
-
# separately verify the status of the recreating action with the
|
|
17503
|
-
# listmanagedinstances method.
|
|
17504
|
-
# If the group is part of a backend service that has enabled connection draining,
|
|
17505
|
-
# it can take up to 60 seconds after the connection draining duration has
|
|
17506
|
-
# elapsed before the VM instance is removed or deleted.
|
|
17507
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
|
19001
|
+
# Returns the specified TargetHttpProxy resource in the specified region. Gets a
|
|
19002
|
+
# list of available target HTTP proxies by making a list() request.
|
|
17508
19003
|
# @param [String] project
|
|
17509
19004
|
# Project ID for this request.
|
|
17510
19005
|
# @param [String] region
|
|
17511
19006
|
# Name of the region scoping this request.
|
|
17512
|
-
# @param [String]
|
|
17513
|
-
# Name of the
|
|
17514
|
-
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object
|
|
17515
|
-
# @param [String] request_id
|
|
17516
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17517
|
-
# that if you must retry your request, the server will know to ignore the
|
|
17518
|
-
# request if it has already been completed.
|
|
17519
|
-
# For example, consider a situation where you make an initial request and the
|
|
17520
|
-
# request times out. If you make the request again with the same request ID, the
|
|
17521
|
-
# server can check if original operation with the same request ID was received,
|
|
17522
|
-
# and if so, will ignore the second request. This prevents clients from
|
|
17523
|
-
# accidentally creating duplicate commitments.
|
|
17524
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17525
|
-
# supported (00000000-0000-0000-0000-000000000000).
|
|
19007
|
+
# @param [String] target_http_proxy
|
|
19008
|
+
# Name of the TargetHttpProxy resource to return.
|
|
17526
19009
|
# @param [String] fields
|
|
17527
19010
|
# Selector specifying which fields to include in a partial response.
|
|
17528
19011
|
# @param [String] quota_user
|
|
@@ -17534,47 +19017,34 @@ module Google
|
|
|
17534
19017
|
# Request-specific options
|
|
17535
19018
|
#
|
|
17536
19019
|
# @yield [result, err] Result & error if block supplied
|
|
17537
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
19020
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetHttpProxy] parsed result object
|
|
17538
19021
|
# @yieldparam err [StandardError] error object if request failed
|
|
17539
19022
|
#
|
|
17540
|
-
# @return [Google::Apis::ComputeBeta::
|
|
19023
|
+
# @return [Google::Apis::ComputeBeta::TargetHttpProxy]
|
|
17541
19024
|
#
|
|
17542
19025
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17543
19026
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17544
19027
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17545
|
-
def
|
|
17546
|
-
command = make_simple_command(:
|
|
17547
|
-
command.
|
|
17548
|
-
command.
|
|
17549
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17550
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
19028
|
+
def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19029
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
|
|
19030
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation
|
|
19031
|
+
command.response_class = Google::Apis::ComputeBeta::TargetHttpProxy
|
|
17551
19032
|
command.params['project'] = project unless project.nil?
|
|
17552
19033
|
command.params['region'] = region unless region.nil?
|
|
17553
|
-
command.params['
|
|
17554
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
19034
|
+
command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
|
|
17555
19035
|
command.query['fields'] = fields unless fields.nil?
|
|
17556
19036
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17557
19037
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17558
19038
|
execute_or_queue_command(command, &block)
|
|
17559
19039
|
end
|
|
17560
19040
|
|
|
17561
|
-
#
|
|
17562
|
-
#
|
|
17563
|
-
# you decrease the size, the group deletes one or more instances.
|
|
17564
|
-
# The resize operation is marked DONE if the resize request is successful. The
|
|
17565
|
-
# underlying actions take additional time. You must separately verify the status
|
|
17566
|
-
# of the creating or deleting actions with the listmanagedinstances method.
|
|
17567
|
-
# If the group is part of a backend service that has enabled connection draining,
|
|
17568
|
-
# it can take up to 60 seconds after the connection draining duration has
|
|
17569
|
-
# elapsed before the VM instance is removed or deleted.
|
|
19041
|
+
# Creates a TargetHttpProxy resource in the specified project and region using
|
|
19042
|
+
# the data included in the request.
|
|
17570
19043
|
# @param [String] project
|
|
17571
19044
|
# Project ID for this request.
|
|
17572
19045
|
# @param [String] region
|
|
17573
19046
|
# Name of the region scoping this request.
|
|
17574
|
-
# @param [
|
|
17575
|
-
# Name of the managed instance group.
|
|
17576
|
-
# @param [Fixnum] size
|
|
17577
|
-
# Number of instances that should exist in this instance group manager.
|
|
19047
|
+
# @param [Google::Apis::ComputeBeta::TargetHttpProxy] target_http_proxy_object
|
|
17578
19048
|
# @param [String] request_id
|
|
17579
19049
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17580
19050
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17605,41 +19075,61 @@ module Google
|
|
|
17605
19075
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17606
19076
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17607
19077
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17608
|
-
def
|
|
17609
|
-
command = make_simple_command(:post, '{project}/regions/{region}/
|
|
19078
|
+
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)
|
|
19079
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies', options)
|
|
19080
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation
|
|
19081
|
+
command.request_object = target_http_proxy_object
|
|
17610
19082
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17611
19083
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17612
19084
|
command.params['project'] = project unless project.nil?
|
|
17613
19085
|
command.params['region'] = region unless region.nil?
|
|
17614
|
-
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17615
19086
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
17616
|
-
command.query['size'] = size unless size.nil?
|
|
17617
19087
|
command.query['fields'] = fields unless fields.nil?
|
|
17618
19088
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17619
19089
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17620
19090
|
execute_or_queue_command(command, &block)
|
|
17621
19091
|
end
|
|
17622
19092
|
|
|
17623
|
-
#
|
|
17624
|
-
#
|
|
19093
|
+
# Retrieves the list of TargetHttpProxy resources available to the specified
|
|
19094
|
+
# project in the specified region.
|
|
17625
19095
|
# @param [String] project
|
|
17626
19096
|
# Project ID for this request.
|
|
17627
19097
|
# @param [String] region
|
|
17628
19098
|
# Name of the region scoping this request.
|
|
17629
|
-
# @param [String]
|
|
17630
|
-
#
|
|
17631
|
-
#
|
|
17632
|
-
#
|
|
17633
|
-
#
|
|
17634
|
-
#
|
|
17635
|
-
#
|
|
17636
|
-
#
|
|
17637
|
-
#
|
|
17638
|
-
#
|
|
17639
|
-
#
|
|
17640
|
-
#
|
|
17641
|
-
#
|
|
17642
|
-
#
|
|
19099
|
+
# @param [String] filter
|
|
19100
|
+
# A filter expression that filters resources listed in the response. The
|
|
19101
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
19102
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
19103
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
19104
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
19105
|
+
# instances named example-instance by specifying name != example-instance.
|
|
19106
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
19107
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
19108
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
19109
|
+
# on resource labels.
|
|
19110
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
19111
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
19112
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
19113
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
19114
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
19115
|
+
# automaticRestart = true).
|
|
19116
|
+
# @param [Fixnum] max_results
|
|
19117
|
+
# The maximum number of results per page that should be returned. If the number
|
|
19118
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
19119
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
19120
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
19121
|
+
# @param [String] order_by
|
|
19122
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
19123
|
+
# alphanumerical order based on the resource name.
|
|
19124
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
19125
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
19126
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
19127
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
19128
|
+
# returned first.
|
|
19129
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
19130
|
+
# @param [String] page_token
|
|
19131
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
19132
|
+
# a previous list request to get the next page of results.
|
|
17643
19133
|
# @param [String] fields
|
|
17644
19134
|
# Selector specifying which fields to include in a partial response.
|
|
17645
19135
|
# @param [String] quota_user
|
|
@@ -17651,39 +19141,38 @@ module Google
|
|
|
17651
19141
|
# Request-specific options
|
|
17652
19142
|
#
|
|
17653
19143
|
# @yield [result, err] Result & error if block supplied
|
|
17654
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
19144
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetHttpProxyList] parsed result object
|
|
17655
19145
|
# @yieldparam err [StandardError] error object if request failed
|
|
17656
19146
|
#
|
|
17657
|
-
# @return [Google::Apis::ComputeBeta::
|
|
17658
|
-
#
|
|
17659
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17660
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17661
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17662
|
-
def
|
|
17663
|
-
command = make_simple_command(:
|
|
17664
|
-
command.
|
|
17665
|
-
command.
|
|
17666
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17667
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
19147
|
+
# @return [Google::Apis::ComputeBeta::TargetHttpProxyList]
|
|
19148
|
+
#
|
|
19149
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
19150
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19151
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19152
|
+
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)
|
|
19153
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options)
|
|
19154
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation
|
|
19155
|
+
command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList
|
|
17668
19156
|
command.params['project'] = project unless project.nil?
|
|
17669
19157
|
command.params['region'] = region unless region.nil?
|
|
17670
|
-
command.
|
|
17671
|
-
command.query['
|
|
19158
|
+
command.query['filter'] = filter unless filter.nil?
|
|
19159
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
19160
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
19161
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
17672
19162
|
command.query['fields'] = fields unless fields.nil?
|
|
17673
19163
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17674
19164
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17675
19165
|
execute_or_queue_command(command, &block)
|
|
17676
19166
|
end
|
|
17677
19167
|
|
|
17678
|
-
#
|
|
17679
|
-
# instances in this group. Existing instances are not affected.
|
|
19168
|
+
# Changes the URL map for TargetHttpProxy.
|
|
17680
19169
|
# @param [String] project
|
|
17681
19170
|
# Project ID for this request.
|
|
17682
19171
|
# @param [String] region
|
|
17683
19172
|
# Name of the region scoping this request.
|
|
17684
|
-
# @param [String]
|
|
17685
|
-
#
|
|
17686
|
-
# @param [Google::Apis::ComputeBeta::
|
|
19173
|
+
# @param [String] target_http_proxy
|
|
19174
|
+
# Name of the TargetHttpProxy to set a URL map for.
|
|
19175
|
+
# @param [Google::Apis::ComputeBeta::UrlMapReference] url_map_reference_object
|
|
17687
19176
|
# @param [String] request_id
|
|
17688
19177
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17689
19178
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17714,15 +19203,15 @@ module Google
|
|
|
17714
19203
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17715
19204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17716
19205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17717
|
-
def
|
|
17718
|
-
command = make_simple_command(:post, '{project}/regions/{region}/
|
|
17719
|
-
command.request_representation = Google::Apis::ComputeBeta::
|
|
17720
|
-
command.request_object =
|
|
19206
|
+
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)
|
|
19207
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
|
|
19208
|
+
command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation
|
|
19209
|
+
command.request_object = url_map_reference_object
|
|
17721
19210
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17722
19211
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17723
19212
|
command.params['project'] = project unless project.nil?
|
|
17724
19213
|
command.params['region'] = region unless region.nil?
|
|
17725
|
-
command.params['
|
|
19214
|
+
command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
|
|
17726
19215
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
17727
19216
|
command.query['fields'] = fields unless fields.nil?
|
|
17728
19217
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -17730,15 +19219,13 @@ module Google
|
|
|
17730
19219
|
execute_or_queue_command(command, &block)
|
|
17731
19220
|
end
|
|
17732
19221
|
|
|
17733
|
-
#
|
|
17734
|
-
# assigned. Existing instances in the group are not affected.
|
|
19222
|
+
# Deletes the specified TargetHttpsProxy resource.
|
|
17735
19223
|
# @param [String] project
|
|
17736
19224
|
# Project ID for this request.
|
|
17737
19225
|
# @param [String] region
|
|
17738
19226
|
# Name of the region scoping this request.
|
|
17739
|
-
# @param [String]
|
|
17740
|
-
# Name of the
|
|
17741
|
-
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object
|
|
19227
|
+
# @param [String] target_https_proxy
|
|
19228
|
+
# Name of the TargetHttpsProxy resource to delete.
|
|
17742
19229
|
# @param [String] request_id
|
|
17743
19230
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17744
19231
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17769,15 +19256,13 @@ module Google
|
|
|
17769
19256
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17770
19257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17771
19258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17772
|
-
def
|
|
17773
|
-
command = make_simple_command(:
|
|
17774
|
-
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
|
|
17775
|
-
command.request_object = region_instance_group_managers_set_target_pools_request_object
|
|
19259
|
+
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)
|
|
19260
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
|
|
17776
19261
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17777
19262
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17778
19263
|
command.params['project'] = project unless project.nil?
|
|
17779
19264
|
command.params['region'] = region unless region.nil?
|
|
17780
|
-
command.params['
|
|
19265
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
|
17781
19266
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
17782
19267
|
command.query['fields'] = fields unless fields.nil?
|
|
17783
19268
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -17785,14 +19270,14 @@ module Google
|
|
|
17785
19270
|
execute_or_queue_command(command, &block)
|
|
17786
19271
|
end
|
|
17787
19272
|
|
|
17788
|
-
# Returns
|
|
19273
|
+
# Returns the specified TargetHttpsProxy resource in the specified region. Gets
|
|
19274
|
+
# a list of available target HTTP proxies by making a list() request.
|
|
17789
19275
|
# @param [String] project
|
|
17790
19276
|
# Project ID for this request.
|
|
17791
19277
|
# @param [String] region
|
|
17792
|
-
#
|
|
17793
|
-
# @param [String]
|
|
17794
|
-
# Name
|
|
17795
|
-
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
19278
|
+
# Name of the region scoping this request.
|
|
19279
|
+
# @param [String] target_https_proxy
|
|
19280
|
+
# Name of the TargetHttpsProxy resource to return.
|
|
17796
19281
|
# @param [String] fields
|
|
17797
19282
|
# Selector specifying which fields to include in a partial response.
|
|
17798
19283
|
# @param [String] quota_user
|
|
@@ -17804,41 +19289,34 @@ module Google
|
|
|
17804
19289
|
# Request-specific options
|
|
17805
19290
|
#
|
|
17806
19291
|
# @yield [result, err] Result & error if block supplied
|
|
17807
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
19292
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetHttpsProxy] parsed result object
|
|
17808
19293
|
# @yieldparam err [StandardError] error object if request failed
|
|
17809
19294
|
#
|
|
17810
|
-
# @return [Google::Apis::ComputeBeta::
|
|
19295
|
+
# @return [Google::Apis::ComputeBeta::TargetHttpsProxy]
|
|
17811
19296
|
#
|
|
17812
19297
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17813
19298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17814
19299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17815
|
-
def
|
|
17816
|
-
command = make_simple_command(:
|
|
17817
|
-
command.
|
|
17818
|
-
command.
|
|
17819
|
-
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
17820
|
-
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
19300
|
+
def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19301
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
|
|
19302
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
|
|
19303
|
+
command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxy
|
|
17821
19304
|
command.params['project'] = project unless project.nil?
|
|
17822
19305
|
command.params['region'] = region unless region.nil?
|
|
17823
|
-
command.params['
|
|
19306
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
|
17824
19307
|
command.query['fields'] = fields unless fields.nil?
|
|
17825
19308
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17826
19309
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17827
19310
|
execute_or_queue_command(command, &block)
|
|
17828
19311
|
end
|
|
17829
19312
|
|
|
17830
|
-
#
|
|
17831
|
-
#
|
|
17832
|
-
# the instances in the group have not yet been updated. You must separately
|
|
17833
|
-
# verify the status of the individual instances with the listmanagedinstances
|
|
17834
|
-
# method.
|
|
19313
|
+
# Creates a TargetHttpsProxy resource in the specified project and region using
|
|
19314
|
+
# the data included in the request.
|
|
17835
19315
|
# @param [String] project
|
|
17836
19316
|
# Project ID for this request.
|
|
17837
19317
|
# @param [String] region
|
|
17838
19318
|
# Name of the region scoping this request.
|
|
17839
|
-
# @param [
|
|
17840
|
-
# The name of the instance group manager.
|
|
17841
|
-
# @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
|
|
19319
|
+
# @param [Google::Apis::ComputeBeta::TargetHttpsProxy] target_https_proxy_object
|
|
17842
19320
|
# @param [String] request_id
|
|
17843
19321
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17844
19322
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17869,15 +19347,14 @@ module Google
|
|
|
17869
19347
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17870
19348
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17871
19349
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17872
|
-
def
|
|
17873
|
-
command = make_simple_command(:
|
|
17874
|
-
command.request_representation = Google::Apis::ComputeBeta::
|
|
17875
|
-
command.request_object =
|
|
19350
|
+
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)
|
|
19351
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies', options)
|
|
19352
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
|
|
19353
|
+
command.request_object = target_https_proxy_object
|
|
17876
19354
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
17877
19355
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
17878
19356
|
command.params['project'] = project unless project.nil?
|
|
17879
19357
|
command.params['region'] = region unless region.nil?
|
|
17880
|
-
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
17881
19358
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
17882
19359
|
command.query['fields'] = fields unless fields.nil?
|
|
17883
19360
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -17885,47 +19362,8 @@ module Google
|
|
|
17885
19362
|
execute_or_queue_command(command, &block)
|
|
17886
19363
|
end
|
|
17887
19364
|
|
|
17888
|
-
#
|
|
17889
|
-
#
|
|
17890
|
-
# Project ID for this request.
|
|
17891
|
-
# @param [String] region
|
|
17892
|
-
# Name of the region scoping this request.
|
|
17893
|
-
# @param [String] instance_group
|
|
17894
|
-
# Name of the instance group resource to return.
|
|
17895
|
-
# @param [String] fields
|
|
17896
|
-
# Selector specifying which fields to include in a partial response.
|
|
17897
|
-
# @param [String] quota_user
|
|
17898
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17899
|
-
# characters.
|
|
17900
|
-
# @param [String] user_ip
|
|
17901
|
-
# Deprecated. Please use quotaUser instead.
|
|
17902
|
-
# @param [Google::Apis::RequestOptions] options
|
|
17903
|
-
# Request-specific options
|
|
17904
|
-
#
|
|
17905
|
-
# @yield [result, err] Result & error if block supplied
|
|
17906
|
-
# @yieldparam result [Google::Apis::ComputeBeta::InstanceGroup] parsed result object
|
|
17907
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
17908
|
-
#
|
|
17909
|
-
# @return [Google::Apis::ComputeBeta::InstanceGroup]
|
|
17910
|
-
#
|
|
17911
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17912
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17913
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17914
|
-
def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17915
|
-
command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
|
|
17916
|
-
command.response_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation
|
|
17917
|
-
command.response_class = Google::Apis::ComputeBeta::InstanceGroup
|
|
17918
|
-
command.params['project'] = project unless project.nil?
|
|
17919
|
-
command.params['region'] = region unless region.nil?
|
|
17920
|
-
command.params['instanceGroup'] = instance_group unless instance_group.nil?
|
|
17921
|
-
command.query['fields'] = fields unless fields.nil?
|
|
17922
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17923
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17924
|
-
execute_or_queue_command(command, &block)
|
|
17925
|
-
end
|
|
17926
|
-
|
|
17927
|
-
# Retrieves the list of instance group resources contained within the specified
|
|
17928
|
-
# region.
|
|
19365
|
+
# Retrieves the list of TargetHttpsProxy resources available to the specified
|
|
19366
|
+
# project in the specified region.
|
|
17929
19367
|
# @param [String] project
|
|
17930
19368
|
# Project ID for this request.
|
|
17931
19369
|
# @param [String] region
|
|
@@ -17975,18 +19413,18 @@ module Google
|
|
|
17975
19413
|
# Request-specific options
|
|
17976
19414
|
#
|
|
17977
19415
|
# @yield [result, err] Result & error if block supplied
|
|
17978
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
19416
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetHttpsProxyList] parsed result object
|
|
17979
19417
|
# @yieldparam err [StandardError] error object if request failed
|
|
17980
19418
|
#
|
|
17981
|
-
# @return [Google::Apis::ComputeBeta::
|
|
19419
|
+
# @return [Google::Apis::ComputeBeta::TargetHttpsProxyList]
|
|
17982
19420
|
#
|
|
17983
19421
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17984
19422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17985
19423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17986
|
-
def
|
|
17987
|
-
command = make_simple_command(:get, '{project}/regions/{region}/
|
|
17988
|
-
command.response_representation = Google::Apis::ComputeBeta::
|
|
17989
|
-
command.response_class = Google::Apis::ComputeBeta::
|
|
19424
|
+
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)
|
|
19425
|
+
command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies', options)
|
|
19426
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation
|
|
19427
|
+
command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList
|
|
17990
19428
|
command.params['project'] = project unless project.nil?
|
|
17991
19429
|
command.params['region'] = region unless region.nil?
|
|
17992
19430
|
command.query['filter'] = filter unless filter.nil?
|
|
@@ -17999,50 +19437,25 @@ module Google
|
|
|
17999
19437
|
execute_or_queue_command(command, &block)
|
|
18000
19438
|
end
|
|
18001
19439
|
|
|
18002
|
-
#
|
|
18003
|
-
# about the named ports. Depending on the specified options, this method can
|
|
18004
|
-
# list all instances or only the instances that are running.
|
|
19440
|
+
# Replaces SslCertificates for TargetHttpsProxy.
|
|
18005
19441
|
# @param [String] project
|
|
18006
19442
|
# Project ID for this request.
|
|
18007
19443
|
# @param [String] region
|
|
18008
19444
|
# Name of the region scoping this request.
|
|
18009
|
-
# @param [String]
|
|
18010
|
-
# Name of the
|
|
18011
|
-
# @param [Google::Apis::ComputeBeta::
|
|
18012
|
-
# @param [String]
|
|
18013
|
-
#
|
|
18014
|
-
#
|
|
18015
|
-
#
|
|
18016
|
-
#
|
|
18017
|
-
#
|
|
18018
|
-
#
|
|
18019
|
-
#
|
|
18020
|
-
#
|
|
18021
|
-
#
|
|
18022
|
-
#
|
|
18023
|
-
# To filter on multiple expressions, provide each separate expression within
|
|
18024
|
-
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
18025
|
-
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
18026
|
-
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
18027
|
-
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
18028
|
-
# automaticRestart = true).
|
|
18029
|
-
# @param [Fixnum] max_results
|
|
18030
|
-
# The maximum number of results per page that should be returned. If the number
|
|
18031
|
-
# of available results is larger than maxResults, Compute Engine returns a
|
|
18032
|
-
# nextPageToken that can be used to get the next page of results in subsequent
|
|
18033
|
-
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
18034
|
-
# @param [String] order_by
|
|
18035
|
-
# Sorts list results by a certain order. By default, results are returned in
|
|
18036
|
-
# alphanumerical order based on the resource name.
|
|
18037
|
-
# You can also sort results in descending order based on the creation timestamp
|
|
18038
|
-
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
18039
|
-
# creationTimestamp field in reverse chronological order (newest result first).
|
|
18040
|
-
# Use this to sort resources like operations so that the newest operation is
|
|
18041
|
-
# returned first.
|
|
18042
|
-
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
18043
|
-
# @param [String] page_token
|
|
18044
|
-
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
18045
|
-
# a previous list request to get the next page of results.
|
|
19445
|
+
# @param [String] target_https_proxy
|
|
19446
|
+
# Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
|
|
19447
|
+
# @param [Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest] region_target_https_proxies_set_ssl_certificates_request_object
|
|
19448
|
+
# @param [String] request_id
|
|
19449
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
19450
|
+
# that if you must retry your request, the server will know to ignore the
|
|
19451
|
+
# request if it has already been completed.
|
|
19452
|
+
# For example, consider a situation where you make an initial request and the
|
|
19453
|
+
# request times out. If you make the request again with the same request ID, the
|
|
19454
|
+
# server can check if original operation with the same request ID was received,
|
|
19455
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
19456
|
+
# accidentally creating duplicate commitments.
|
|
19457
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
19458
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18046
19459
|
# @param [String] fields
|
|
18047
19460
|
# Selector specifying which fields to include in a partial response.
|
|
18048
19461
|
# @param [String] quota_user
|
|
@@ -18054,52 +19467,93 @@ module Google
|
|
|
18054
19467
|
# Request-specific options
|
|
18055
19468
|
#
|
|
18056
19469
|
# @yield [result, err] Result & error if block supplied
|
|
18057
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
19470
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18058
19471
|
# @yieldparam err [StandardError] error object if request failed
|
|
18059
19472
|
#
|
|
18060
|
-
# @return [Google::Apis::ComputeBeta::
|
|
19473
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18061
19474
|
#
|
|
18062
19475
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18063
19476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18064
19477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18065
|
-
def
|
|
18066
|
-
command = make_simple_command(:post, '{project}/regions/{region}/
|
|
18067
|
-
command.request_representation = Google::Apis::ComputeBeta::
|
|
18068
|
-
command.request_object =
|
|
18069
|
-
command.response_representation = Google::Apis::ComputeBeta::
|
|
18070
|
-
command.response_class = Google::Apis::ComputeBeta::
|
|
19478
|
+
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)
|
|
19479
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options)
|
|
19480
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation
|
|
19481
|
+
command.request_object = region_target_https_proxies_set_ssl_certificates_request_object
|
|
19482
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
19483
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18071
19484
|
command.params['project'] = project unless project.nil?
|
|
18072
19485
|
command.params['region'] = region unless region.nil?
|
|
18073
|
-
command.params['
|
|
18074
|
-
command.query['
|
|
18075
|
-
command.query['
|
|
18076
|
-
command.query['
|
|
18077
|
-
command.query['
|
|
19486
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
|
19487
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
19488
|
+
command.query['fields'] = fields unless fields.nil?
|
|
19489
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
19490
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
19491
|
+
execute_or_queue_command(command, &block)
|
|
19492
|
+
end
|
|
19493
|
+
|
|
19494
|
+
# Changes the URL map for TargetHttpsProxy.
|
|
19495
|
+
# @param [String] project
|
|
19496
|
+
# Project ID for this request.
|
|
19497
|
+
# @param [String] region
|
|
19498
|
+
# Name of the region scoping this request.
|
|
19499
|
+
# @param [String] target_https_proxy
|
|
19500
|
+
# Name of the TargetHttpsProxy to set a URL map for.
|
|
19501
|
+
# @param [Google::Apis::ComputeBeta::UrlMapReference] url_map_reference_object
|
|
19502
|
+
# @param [String] request_id
|
|
19503
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
19504
|
+
# that if you must retry your request, the server will know to ignore the
|
|
19505
|
+
# request if it has already been completed.
|
|
19506
|
+
# For example, consider a situation where you make an initial request and the
|
|
19507
|
+
# request times out. If you make the request again with the same request ID, the
|
|
19508
|
+
# server can check if original operation with the same request ID was received,
|
|
19509
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
19510
|
+
# accidentally creating duplicate commitments.
|
|
19511
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
19512
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
19513
|
+
# @param [String] fields
|
|
19514
|
+
# Selector specifying which fields to include in a partial response.
|
|
19515
|
+
# @param [String] quota_user
|
|
19516
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
19517
|
+
# characters.
|
|
19518
|
+
# @param [String] user_ip
|
|
19519
|
+
# Deprecated. Please use quotaUser instead.
|
|
19520
|
+
# @param [Google::Apis::RequestOptions] options
|
|
19521
|
+
# Request-specific options
|
|
19522
|
+
#
|
|
19523
|
+
# @yield [result, err] Result & error if block supplied
|
|
19524
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
19525
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
19526
|
+
#
|
|
19527
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
19528
|
+
#
|
|
19529
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
19530
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19531
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19532
|
+
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)
|
|
19533
|
+
command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options)
|
|
19534
|
+
command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation
|
|
19535
|
+
command.request_object = url_map_reference_object
|
|
19536
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
19537
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
19538
|
+
command.params['project'] = project unless project.nil?
|
|
19539
|
+
command.params['region'] = region unless region.nil?
|
|
19540
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
|
19541
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18078
19542
|
command.query['fields'] = fields unless fields.nil?
|
|
18079
19543
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18080
19544
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18081
19545
|
execute_or_queue_command(command, &block)
|
|
18082
19546
|
end
|
|
18083
19547
|
|
|
18084
|
-
#
|
|
19548
|
+
# Deletes the specified UrlMap resource.
|
|
18085
19549
|
# @param [String] project
|
|
18086
19550
|
# Project ID for this request.
|
|
18087
19551
|
# @param [String] region
|
|
18088
19552
|
# Name of the region scoping this request.
|
|
18089
|
-
# @param [String]
|
|
18090
|
-
#
|
|
18091
|
-
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
|
|
19553
|
+
# @param [String] url_map
|
|
19554
|
+
# Name of the UrlMap resource to delete.
|
|
18092
19555
|
# @param [String] request_id
|
|
18093
|
-
#
|
|
18094
|
-
# that if you must retry your request, the server will know to ignore the
|
|
18095
|
-
# request if it has already been completed.
|
|
18096
|
-
# For example, consider a situation where you make an initial request and the
|
|
18097
|
-
# request times out. If you make the request again with the same request ID, the
|
|
18098
|
-
# server can check if original operation with the same request ID was received,
|
|
18099
|
-
# and if so, will ignore the second request. This prevents clients from
|
|
18100
|
-
# accidentally creating duplicate commitments.
|
|
18101
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18102
|
-
# supported (00000000-0000-0000-0000-000000000000).
|
|
19556
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
|
18103
19557
|
# @param [String] fields
|
|
18104
19558
|
# Selector specifying which fields to include in a partial response.
|
|
18105
19559
|
# @param [String] quota_user
|
|
@@ -18119,15 +19573,13 @@ module Google
|
|
|
18119
19573
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18120
19574
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18121
19575
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18122
|
-
def
|
|
18123
|
-
command = make_simple_command(:
|
|
18124
|
-
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest::Representation
|
|
18125
|
-
command.request_object = region_instance_groups_set_named_ports_request_object
|
|
19576
|
+
def delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19577
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
|
18126
19578
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18127
19579
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18128
19580
|
command.params['project'] = project unless project.nil?
|
|
18129
19581
|
command.params['region'] = region unless region.nil?
|
|
18130
|
-
command.params['
|
|
19582
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
|
18131
19583
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
18132
19584
|
command.query['fields'] = fields unless fields.nil?
|
|
18133
19585
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -18135,14 +19587,14 @@ module Google
|
|
|
18135
19587
|
execute_or_queue_command(command, &block)
|
|
18136
19588
|
end
|
|
18137
19589
|
|
|
18138
|
-
# Returns
|
|
19590
|
+
# Returns the specified UrlMap resource. Gets a list of available URL maps by
|
|
19591
|
+
# making a list() request.
|
|
18139
19592
|
# @param [String] project
|
|
18140
19593
|
# Project ID for this request.
|
|
18141
19594
|
# @param [String] region
|
|
18142
|
-
#
|
|
18143
|
-
# @param [String]
|
|
18144
|
-
# Name
|
|
18145
|
-
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
19595
|
+
# Name of the region scoping this request.
|
|
19596
|
+
# @param [String] url_map
|
|
19597
|
+
# Name of the UrlMap resource to return.
|
|
18146
19598
|
# @param [String] fields
|
|
18147
19599
|
# Selector specifying which fields to include in a partial response.
|
|
18148
19600
|
# @param [String] quota_user
|
|
@@ -18154,36 +19606,36 @@ module Google
|
|
|
18154
19606
|
# Request-specific options
|
|
18155
19607
|
#
|
|
18156
19608
|
# @yield [result, err] Result & error if block supplied
|
|
18157
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
19609
|
+
# @yieldparam result [Google::Apis::ComputeBeta::UrlMap] parsed result object
|
|
18158
19610
|
# @yieldparam err [StandardError] error object if request failed
|
|
18159
19611
|
#
|
|
18160
|
-
# @return [Google::Apis::ComputeBeta::
|
|
19612
|
+
# @return [Google::Apis::ComputeBeta::UrlMap]
|
|
18161
19613
|
#
|
|
18162
19614
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18163
19615
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18164
19616
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18165
|
-
def
|
|
18166
|
-
command = make_simple_command(:
|
|
18167
|
-
command.
|
|
18168
|
-
command.
|
|
18169
|
-
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
18170
|
-
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
19617
|
+
def get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19618
|
+
command = make_simple_command(:get, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
|
19619
|
+
command.response_representation = Google::Apis::ComputeBeta::UrlMap::Representation
|
|
19620
|
+
command.response_class = Google::Apis::ComputeBeta::UrlMap
|
|
18171
19621
|
command.params['project'] = project unless project.nil?
|
|
18172
19622
|
command.params['region'] = region unless region.nil?
|
|
18173
|
-
command.params['
|
|
19623
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
|
18174
19624
|
command.query['fields'] = fields unless fields.nil?
|
|
18175
19625
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18176
19626
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18177
19627
|
execute_or_queue_command(command, &block)
|
|
18178
19628
|
end
|
|
18179
19629
|
|
|
18180
|
-
#
|
|
19630
|
+
# Creates a UrlMap resource in the specified project using the data included in
|
|
19631
|
+
# the request.
|
|
18181
19632
|
# @param [String] project
|
|
18182
19633
|
# Project ID for this request.
|
|
18183
19634
|
# @param [String] region
|
|
18184
|
-
# Name of the region
|
|
18185
|
-
# @param [
|
|
18186
|
-
#
|
|
19635
|
+
# Name of the region scoping this request.
|
|
19636
|
+
# @param [Google::Apis::ComputeBeta::UrlMap] url_map_object
|
|
19637
|
+
# @param [String] request_id
|
|
19638
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
|
18187
19639
|
# @param [String] fields
|
|
18188
19640
|
# Selector specifying which fields to include in a partial response.
|
|
18189
19641
|
# @param [String] quota_user
|
|
@@ -18195,32 +19647,40 @@ module Google
|
|
|
18195
19647
|
# Request-specific options
|
|
18196
19648
|
#
|
|
18197
19649
|
# @yield [result, err] Result & error if block supplied
|
|
18198
|
-
# @yieldparam result [
|
|
19650
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
18199
19651
|
# @yieldparam err [StandardError] error object if request failed
|
|
18200
19652
|
#
|
|
18201
|
-
# @return [
|
|
19653
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
18202
19654
|
#
|
|
18203
19655
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18204
19656
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18205
19657
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18206
|
-
def
|
|
18207
|
-
command = make_simple_command(:
|
|
19658
|
+
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)
|
|
19659
|
+
command = make_simple_command(:post, '{project}/regions/{region}/urlMaps', options)
|
|
19660
|
+
command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation
|
|
19661
|
+
command.request_object = url_map_object
|
|
19662
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
19663
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18208
19664
|
command.params['project'] = project unless project.nil?
|
|
18209
19665
|
command.params['region'] = region unless region.nil?
|
|
18210
|
-
command.
|
|
19666
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18211
19667
|
command.query['fields'] = fields unless fields.nil?
|
|
18212
19668
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18213
19669
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18214
19670
|
execute_or_queue_command(command, &block)
|
|
18215
19671
|
end
|
|
18216
19672
|
|
|
18217
|
-
#
|
|
19673
|
+
# Initiates a cache invalidation operation, invalidating the specified path,
|
|
19674
|
+
# scoped to the specified UrlMap.
|
|
18218
19675
|
# @param [String] project
|
|
18219
19676
|
# Project ID for this request.
|
|
18220
19677
|
# @param [String] region
|
|
18221
|
-
# Name of the region
|
|
18222
|
-
# @param [String]
|
|
18223
|
-
# Name of the
|
|
19678
|
+
# Name of the region scoping this request.
|
|
19679
|
+
# @param [String] url_map
|
|
19680
|
+
# Name of the UrlMap scoping this request.
|
|
19681
|
+
# @param [Google::Apis::ComputeBeta::CacheInvalidationRule] cache_invalidation_rule_object
|
|
19682
|
+
# @param [String] request_id
|
|
19683
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
|
18224
19684
|
# @param [String] fields
|
|
18225
19685
|
# Selector specifying which fields to include in a partial response.
|
|
18226
19686
|
# @param [String] quota_user
|
|
@@ -18240,24 +19700,28 @@ module Google
|
|
|
18240
19700
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18241
19701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18242
19702
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18243
|
-
def
|
|
18244
|
-
command = make_simple_command(:
|
|
19703
|
+
def invalidate_region_url_map_cache(project, region, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19704
|
+
command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', options)
|
|
19705
|
+
command.request_representation = Google::Apis::ComputeBeta::CacheInvalidationRule::Representation
|
|
19706
|
+
command.request_object = cache_invalidation_rule_object
|
|
18245
19707
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
18246
19708
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
18247
19709
|
command.params['project'] = project unless project.nil?
|
|
18248
19710
|
command.params['region'] = region unless region.nil?
|
|
18249
|
-
command.params['
|
|
19711
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
|
19712
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18250
19713
|
command.query['fields'] = fields unless fields.nil?
|
|
18251
19714
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18252
19715
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18253
19716
|
execute_or_queue_command(command, &block)
|
|
18254
19717
|
end
|
|
18255
19718
|
|
|
18256
|
-
# Retrieves
|
|
19719
|
+
# Retrieves the list of UrlMap resources available to the specified project in
|
|
19720
|
+
# the specified region.
|
|
18257
19721
|
# @param [String] project
|
|
18258
19722
|
# Project ID for this request.
|
|
18259
19723
|
# @param [String] region
|
|
18260
|
-
# Name of the region
|
|
19724
|
+
# Name of the region scoping this request.
|
|
18261
19725
|
# @param [String] filter
|
|
18262
19726
|
# A filter expression that filters resources listed in the response. The
|
|
18263
19727
|
# expression must specify the field name, a comparison operator, and the value
|
|
@@ -18303,18 +19767,18 @@ module Google
|
|
|
18303
19767
|
# Request-specific options
|
|
18304
19768
|
#
|
|
18305
19769
|
# @yield [result, err] Result & error if block supplied
|
|
18306
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
19770
|
+
# @yieldparam result [Google::Apis::ComputeBeta::UrlMapList] parsed result object
|
|
18307
19771
|
# @yieldparam err [StandardError] error object if request failed
|
|
18308
19772
|
#
|
|
18309
|
-
# @return [Google::Apis::ComputeBeta::
|
|
19773
|
+
# @return [Google::Apis::ComputeBeta::UrlMapList]
|
|
18310
19774
|
#
|
|
18311
19775
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18312
19776
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18313
19777
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18314
|
-
def
|
|
18315
|
-
command = make_simple_command(:get, '{project}/regions/{region}/
|
|
18316
|
-
command.response_representation = Google::Apis::ComputeBeta::
|
|
18317
|
-
command.response_class = Google::Apis::ComputeBeta::
|
|
19778
|
+
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)
|
|
19779
|
+
command = make_simple_command(:get, '{project}/regions/{region}/urlMaps', options)
|
|
19780
|
+
command.response_representation = Google::Apis::ComputeBeta::UrlMapList::Representation
|
|
19781
|
+
command.response_class = Google::Apis::ComputeBeta::UrlMapList
|
|
18318
19782
|
command.params['project'] = project unless project.nil?
|
|
18319
19783
|
command.params['region'] = region unless region.nil?
|
|
18320
19784
|
command.query['filter'] = filter unless filter.nil?
|
|
@@ -18327,6 +19791,141 @@ module Google
|
|
|
18327
19791
|
execute_or_queue_command(command, &block)
|
|
18328
19792
|
end
|
|
18329
19793
|
|
|
19794
|
+
# Patches the specified UrlMap resource with the data included in the request.
|
|
19795
|
+
# This method supports PATCH semantics and uses JSON merge patch format and
|
|
19796
|
+
# processing rules.
|
|
19797
|
+
# @param [String] project
|
|
19798
|
+
# Project ID for this request.
|
|
19799
|
+
# @param [String] region
|
|
19800
|
+
# Name of the region scoping this request.
|
|
19801
|
+
# @param [String] url_map
|
|
19802
|
+
# Name of the UrlMap resource to patch.
|
|
19803
|
+
# @param [Google::Apis::ComputeBeta::UrlMap] url_map_object
|
|
19804
|
+
# @param [String] request_id
|
|
19805
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
|
19806
|
+
# @param [String] fields
|
|
19807
|
+
# Selector specifying which fields to include in a partial response.
|
|
19808
|
+
# @param [String] quota_user
|
|
19809
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
19810
|
+
# characters.
|
|
19811
|
+
# @param [String] user_ip
|
|
19812
|
+
# Deprecated. Please use quotaUser instead.
|
|
19813
|
+
# @param [Google::Apis::RequestOptions] options
|
|
19814
|
+
# Request-specific options
|
|
19815
|
+
#
|
|
19816
|
+
# @yield [result, err] Result & error if block supplied
|
|
19817
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
19818
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
19819
|
+
#
|
|
19820
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
19821
|
+
#
|
|
19822
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
19823
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19824
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19825
|
+
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)
|
|
19826
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
|
19827
|
+
command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation
|
|
19828
|
+
command.request_object = url_map_object
|
|
19829
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
19830
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
19831
|
+
command.params['project'] = project unless project.nil?
|
|
19832
|
+
command.params['region'] = region unless region.nil?
|
|
19833
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
|
19834
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
19835
|
+
command.query['fields'] = fields unless fields.nil?
|
|
19836
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
19837
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
19838
|
+
execute_or_queue_command(command, &block)
|
|
19839
|
+
end
|
|
19840
|
+
|
|
19841
|
+
# Updates the specified UrlMap resource with the data included in the request.
|
|
19842
|
+
# @param [String] project
|
|
19843
|
+
# Project ID for this request.
|
|
19844
|
+
# @param [String] region
|
|
19845
|
+
# Name of the region scoping this request.
|
|
19846
|
+
# @param [String] url_map
|
|
19847
|
+
# Name of the UrlMap resource to update.
|
|
19848
|
+
# @param [Google::Apis::ComputeBeta::UrlMap] url_map_object
|
|
19849
|
+
# @param [String] request_id
|
|
19850
|
+
# begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
|
|
19851
|
+
# @param [String] fields
|
|
19852
|
+
# Selector specifying which fields to include in a partial response.
|
|
19853
|
+
# @param [String] quota_user
|
|
19854
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
19855
|
+
# characters.
|
|
19856
|
+
# @param [String] user_ip
|
|
19857
|
+
# Deprecated. Please use quotaUser instead.
|
|
19858
|
+
# @param [Google::Apis::RequestOptions] options
|
|
19859
|
+
# Request-specific options
|
|
19860
|
+
#
|
|
19861
|
+
# @yield [result, err] Result & error if block supplied
|
|
19862
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
19863
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
19864
|
+
#
|
|
19865
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
19866
|
+
#
|
|
19867
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
19868
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19869
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19870
|
+
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)
|
|
19871
|
+
command = make_simple_command(:put, '{project}/regions/{region}/urlMaps/{urlMap}', options)
|
|
19872
|
+
command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation
|
|
19873
|
+
command.request_object = url_map_object
|
|
19874
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
19875
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
19876
|
+
command.params['project'] = project unless project.nil?
|
|
19877
|
+
command.params['region'] = region unless region.nil?
|
|
19878
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
|
19879
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
19880
|
+
command.query['fields'] = fields unless fields.nil?
|
|
19881
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
19882
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
19883
|
+
execute_or_queue_command(command, &block)
|
|
19884
|
+
end
|
|
19885
|
+
|
|
19886
|
+
# Runs static validation for the UrlMap. In particular, the tests of the
|
|
19887
|
+
# provided UrlMap will be run. Calling this method does NOT create the UrlMap.
|
|
19888
|
+
# @param [String] project
|
|
19889
|
+
# Project ID for this request.
|
|
19890
|
+
# @param [String] region
|
|
19891
|
+
# Name of the region scoping this request.
|
|
19892
|
+
# @param [String] url_map
|
|
19893
|
+
# Name of the UrlMap resource to be validated as.
|
|
19894
|
+
# @param [Google::Apis::ComputeBeta::RegionUrlMapsValidateRequest] region_url_maps_validate_request_object
|
|
19895
|
+
# @param [String] fields
|
|
19896
|
+
# Selector specifying which fields to include in a partial response.
|
|
19897
|
+
# @param [String] quota_user
|
|
19898
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
19899
|
+
# characters.
|
|
19900
|
+
# @param [String] user_ip
|
|
19901
|
+
# Deprecated. Please use quotaUser instead.
|
|
19902
|
+
# @param [Google::Apis::RequestOptions] options
|
|
19903
|
+
# Request-specific options
|
|
19904
|
+
#
|
|
19905
|
+
# @yield [result, err] Result & error if block supplied
|
|
19906
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ValidateUrlMapsResponse] parsed result object
|
|
19907
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
19908
|
+
#
|
|
19909
|
+
# @return [Google::Apis::ComputeBeta::ValidateUrlMapsResponse]
|
|
19910
|
+
#
|
|
19911
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
19912
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19913
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19914
|
+
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)
|
|
19915
|
+
command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/validate', options)
|
|
19916
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionUrlMapsValidateRequest::Representation
|
|
19917
|
+
command.request_object = region_url_maps_validate_request_object
|
|
19918
|
+
command.response_representation = Google::Apis::ComputeBeta::ValidateUrlMapsResponse::Representation
|
|
19919
|
+
command.response_class = Google::Apis::ComputeBeta::ValidateUrlMapsResponse
|
|
19920
|
+
command.params['project'] = project unless project.nil?
|
|
19921
|
+
command.params['region'] = region unless region.nil?
|
|
19922
|
+
command.params['urlMap'] = url_map unless url_map.nil?
|
|
19923
|
+
command.query['fields'] = fields unless fields.nil?
|
|
19924
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
19925
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
19926
|
+
execute_or_queue_command(command, &block)
|
|
19927
|
+
end
|
|
19928
|
+
|
|
18330
19929
|
# Returns the specified Region resource. Gets a list of available regions by
|
|
18331
19930
|
# making a list() request.
|
|
18332
19931
|
# @param [String] project
|
|
@@ -20926,12 +22525,83 @@ module Google
|
|
|
20926
22525
|
execute_or_queue_command(command, &block)
|
|
20927
22526
|
end
|
|
20928
22527
|
|
|
20929
|
-
# Returns permissions that a caller has on the specified resource.
|
|
22528
|
+
# Returns permissions that a caller has on the specified resource.
|
|
22529
|
+
# @param [String] project
|
|
22530
|
+
# Project ID for this request.
|
|
22531
|
+
# @param [String] resource
|
|
22532
|
+
# Name or id of the resource for this request.
|
|
22533
|
+
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
22534
|
+
# @param [String] fields
|
|
22535
|
+
# Selector specifying which fields to include in a partial response.
|
|
22536
|
+
# @param [String] quota_user
|
|
22537
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
22538
|
+
# characters.
|
|
22539
|
+
# @param [String] user_ip
|
|
22540
|
+
# Deprecated. Please use quotaUser instead.
|
|
22541
|
+
# @param [Google::Apis::RequestOptions] options
|
|
22542
|
+
# Request-specific options
|
|
22543
|
+
#
|
|
22544
|
+
# @yield [result, err] Result & error if block supplied
|
|
22545
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
|
22546
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
22547
|
+
#
|
|
22548
|
+
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
|
22549
|
+
#
|
|
22550
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
22551
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
22552
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
22553
|
+
def test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
22554
|
+
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', options)
|
|
22555
|
+
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
|
22556
|
+
command.request_object = test_permissions_request_object
|
|
22557
|
+
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
22558
|
+
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
22559
|
+
command.params['project'] = project unless project.nil?
|
|
22560
|
+
command.params['resource'] = resource unless resource.nil?
|
|
22561
|
+
command.query['fields'] = fields unless fields.nil?
|
|
22562
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
22563
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
22564
|
+
execute_or_queue_command(command, &block)
|
|
22565
|
+
end
|
|
22566
|
+
|
|
22567
|
+
# Retrieves the list of all SslCertificate resources, regional and global,
|
|
22568
|
+
# available to the specified project.
|
|
20930
22569
|
# @param [String] project
|
|
20931
|
-
#
|
|
20932
|
-
# @param [String]
|
|
20933
|
-
#
|
|
20934
|
-
#
|
|
22570
|
+
# Name of the project scoping this request.
|
|
22571
|
+
# @param [String] filter
|
|
22572
|
+
# A filter expression that filters resources listed in the response. The
|
|
22573
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
22574
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
22575
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
22576
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
22577
|
+
# instances named example-instance by specifying name != example-instance.
|
|
22578
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
22579
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
22580
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
22581
|
+
# on resource labels.
|
|
22582
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
22583
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
22584
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
22585
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
22586
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
22587
|
+
# automaticRestart = true).
|
|
22588
|
+
# @param [Fixnum] max_results
|
|
22589
|
+
# The maximum number of results per page that should be returned. If the number
|
|
22590
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
22591
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
22592
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
22593
|
+
# @param [String] order_by
|
|
22594
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
22595
|
+
# alphanumerical order based on the resource name.
|
|
22596
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
22597
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
22598
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
22599
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
22600
|
+
# returned first.
|
|
22601
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
22602
|
+
# @param [String] page_token
|
|
22603
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
22604
|
+
# a previous list request to get the next page of results.
|
|
20935
22605
|
# @param [String] fields
|
|
20936
22606
|
# Selector specifying which fields to include in a partial response.
|
|
20937
22607
|
# @param [String] quota_user
|
|
@@ -20943,22 +22613,23 @@ module Google
|
|
|
20943
22613
|
# Request-specific options
|
|
20944
22614
|
#
|
|
20945
22615
|
# @yield [result, err] Result & error if block supplied
|
|
20946
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
22616
|
+
# @yieldparam result [Google::Apis::ComputeBeta::SslCertificateAggregatedList] parsed result object
|
|
20947
22617
|
# @yieldparam err [StandardError] error object if request failed
|
|
20948
22618
|
#
|
|
20949
|
-
# @return [Google::Apis::ComputeBeta::
|
|
22619
|
+
# @return [Google::Apis::ComputeBeta::SslCertificateAggregatedList]
|
|
20950
22620
|
#
|
|
20951
22621
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
20952
22622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
20953
22623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
20954
|
-
def
|
|
20955
|
-
command = make_simple_command(:
|
|
20956
|
-
command.
|
|
20957
|
-
command.
|
|
20958
|
-
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
20959
|
-
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
22624
|
+
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)
|
|
22625
|
+
command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options)
|
|
22626
|
+
command.response_representation = Google::Apis::ComputeBeta::SslCertificateAggregatedList::Representation
|
|
22627
|
+
command.response_class = Google::Apis::ComputeBeta::SslCertificateAggregatedList
|
|
20960
22628
|
command.params['project'] = project unless project.nil?
|
|
20961
|
-
command.
|
|
22629
|
+
command.query['filter'] = filter unless filter.nil?
|
|
22630
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
22631
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
22632
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
20962
22633
|
command.query['fields'] = fields unless fields.nil?
|
|
20963
22634
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
20964
22635
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -22044,6 +23715,14 @@ module Google
|
|
|
22044
23715
|
# @param [String] subnetwork
|
|
22045
23716
|
# Name of the Subnetwork resource to patch.
|
|
22046
23717
|
# @param [Google::Apis::ComputeBeta::Subnetwork] subnetwork_object
|
|
23718
|
+
# @param [Fixnum] drain_timeout_seconds
|
|
23719
|
+
# The drain timeout specifies the upper bound in seconds on the amount of time
|
|
23720
|
+
# allowed to drain connections from the current ACTIVE subnetwork to the current
|
|
23721
|
+
# BACKUP subnetwork. The drain timeout is only applicable when the following
|
|
23722
|
+
# conditions are true: - the subnetwork being patched has purpose =
|
|
23723
|
+
# INTERNAL_HTTPS_LOAD_BALANCER - the subnetwork being patched has role = BACKUP -
|
|
23724
|
+
# the patch request is setting the role to ACTIVE. Note that after this patch
|
|
23725
|
+
# operation the roles of the ACTIVE and BACKUP subnetworks will be swapped.
|
|
22047
23726
|
# @param [String] request_id
|
|
22048
23727
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
22049
23728
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -22074,7 +23753,7 @@ module Google
|
|
|
22074
23753
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
22075
23754
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
22076
23755
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
22077
|
-
def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
23756
|
+
def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, drain_timeout_seconds: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
22078
23757
|
command = make_simple_command(:patch, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
|
|
22079
23758
|
command.request_representation = Google::Apis::ComputeBeta::Subnetwork::Representation
|
|
22080
23759
|
command.request_object = subnetwork_object
|
|
@@ -22083,6 +23762,7 @@ module Google
|
|
|
22083
23762
|
command.params['project'] = project unless project.nil?
|
|
22084
23763
|
command.params['region'] = region unless region.nil?
|
|
22085
23764
|
command.params['subnetwork'] = subnetwork unless subnetwork.nil?
|
|
23765
|
+
command.query['drainTimeoutSeconds'] = drain_timeout_seconds unless drain_timeout_seconds.nil?
|
|
22086
23766
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
22087
23767
|
command.query['fields'] = fields unless fields.nil?
|
|
22088
23768
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -22230,6 +23910,78 @@ module Google
|
|
|
22230
23910
|
execute_or_queue_command(command, &block)
|
|
22231
23911
|
end
|
|
22232
23912
|
|
|
23913
|
+
# Retrieves the list of all TargetHttpProxy resources, regional and global,
|
|
23914
|
+
# available to the specified project.
|
|
23915
|
+
# @param [String] project
|
|
23916
|
+
# Name of the project scoping this request.
|
|
23917
|
+
# @param [String] filter
|
|
23918
|
+
# A filter expression that filters resources listed in the response. The
|
|
23919
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
23920
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
23921
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
23922
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
23923
|
+
# instances named example-instance by specifying name != example-instance.
|
|
23924
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
23925
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
23926
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
23927
|
+
# on resource labels.
|
|
23928
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
23929
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
23930
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
23931
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
23932
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
23933
|
+
# automaticRestart = true).
|
|
23934
|
+
# @param [Fixnum] max_results
|
|
23935
|
+
# The maximum number of results per page that should be returned. If the number
|
|
23936
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
23937
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
23938
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
23939
|
+
# @param [String] order_by
|
|
23940
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
23941
|
+
# alphanumerical order based on the resource name.
|
|
23942
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
23943
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
23944
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
23945
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
23946
|
+
# returned first.
|
|
23947
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
23948
|
+
# @param [String] page_token
|
|
23949
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
23950
|
+
# a previous list request to get the next page of results.
|
|
23951
|
+
# @param [String] fields
|
|
23952
|
+
# Selector specifying which fields to include in a partial response.
|
|
23953
|
+
# @param [String] quota_user
|
|
23954
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
23955
|
+
# characters.
|
|
23956
|
+
# @param [String] user_ip
|
|
23957
|
+
# Deprecated. Please use quotaUser instead.
|
|
23958
|
+
# @param [Google::Apis::RequestOptions] options
|
|
23959
|
+
# Request-specific options
|
|
23960
|
+
#
|
|
23961
|
+
# @yield [result, err] Result & error if block supplied
|
|
23962
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList] parsed result object
|
|
23963
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
23964
|
+
#
|
|
23965
|
+
# @return [Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList]
|
|
23966
|
+
#
|
|
23967
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
23968
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
23969
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
23970
|
+
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)
|
|
23971
|
+
command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options)
|
|
23972
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Representation
|
|
23973
|
+
command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList
|
|
23974
|
+
command.params['project'] = project unless project.nil?
|
|
23975
|
+
command.query['filter'] = filter unless filter.nil?
|
|
23976
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
23977
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
23978
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
23979
|
+
command.query['fields'] = fields unless fields.nil?
|
|
23980
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
23981
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
23982
|
+
execute_or_queue_command(command, &block)
|
|
23983
|
+
end
|
|
23984
|
+
|
|
22233
23985
|
# Deletes the specified TargetHttpProxy resource.
|
|
22234
23986
|
# @param [String] project
|
|
22235
23987
|
# Project ID for this request.
|
|
@@ -22526,6 +24278,78 @@ module Google
|
|
|
22526
24278
|
execute_or_queue_command(command, &block)
|
|
22527
24279
|
end
|
|
22528
24280
|
|
|
24281
|
+
# Retrieves the list of all TargetHttpsProxy resources, regional and global,
|
|
24282
|
+
# available to the specified project.
|
|
24283
|
+
# @param [String] project
|
|
24284
|
+
# Name of the project scoping this request.
|
|
24285
|
+
# @param [String] filter
|
|
24286
|
+
# A filter expression that filters resources listed in the response. The
|
|
24287
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
24288
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
24289
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
24290
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
24291
|
+
# instances named example-instance by specifying name != example-instance.
|
|
24292
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
24293
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
24294
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
24295
|
+
# on resource labels.
|
|
24296
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
24297
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
24298
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
24299
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
24300
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
24301
|
+
# automaticRestart = true).
|
|
24302
|
+
# @param [Fixnum] max_results
|
|
24303
|
+
# The maximum number of results per page that should be returned. If the number
|
|
24304
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
24305
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
24306
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
24307
|
+
# @param [String] order_by
|
|
24308
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
24309
|
+
# alphanumerical order based on the resource name.
|
|
24310
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
24311
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
24312
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
24313
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
24314
|
+
# returned first.
|
|
24315
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
24316
|
+
# @param [String] page_token
|
|
24317
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
24318
|
+
# a previous list request to get the next page of results.
|
|
24319
|
+
# @param [String] fields
|
|
24320
|
+
# Selector specifying which fields to include in a partial response.
|
|
24321
|
+
# @param [String] quota_user
|
|
24322
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
24323
|
+
# characters.
|
|
24324
|
+
# @param [String] user_ip
|
|
24325
|
+
# Deprecated. Please use quotaUser instead.
|
|
24326
|
+
# @param [Google::Apis::RequestOptions] options
|
|
24327
|
+
# Request-specific options
|
|
24328
|
+
#
|
|
24329
|
+
# @yield [result, err] Result & error if block supplied
|
|
24330
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList] parsed result object
|
|
24331
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
24332
|
+
#
|
|
24333
|
+
# @return [Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList]
|
|
24334
|
+
#
|
|
24335
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
24336
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
24337
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
24338
|
+
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)
|
|
24339
|
+
command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options)
|
|
24340
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Representation
|
|
24341
|
+
command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList
|
|
24342
|
+
command.params['project'] = project unless project.nil?
|
|
24343
|
+
command.query['filter'] = filter unless filter.nil?
|
|
24344
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
24345
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
24346
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
24347
|
+
command.query['fields'] = fields unless fields.nil?
|
|
24348
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
24349
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
24350
|
+
execute_or_queue_command(command, &block)
|
|
24351
|
+
end
|
|
24352
|
+
|
|
22529
24353
|
# Deletes the specified TargetHttpsProxy resource.
|
|
22530
24354
|
# @param [String] project
|
|
22531
24355
|
# Project ID for this request.
|
|
@@ -25104,6 +26928,78 @@ module Google
|
|
|
25104
26928
|
execute_or_queue_command(command, &block)
|
|
25105
26929
|
end
|
|
25106
26930
|
|
|
26931
|
+
# Retrieves the list of all UrlMap resources, regional and global, available to
|
|
26932
|
+
# the specified project.
|
|
26933
|
+
# @param [String] project
|
|
26934
|
+
# Name of the project scoping this request.
|
|
26935
|
+
# @param [String] filter
|
|
26936
|
+
# A filter expression that filters resources listed in the response. The
|
|
26937
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
26938
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
26939
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
26940
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
26941
|
+
# instances named example-instance by specifying name != example-instance.
|
|
26942
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
26943
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
26944
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
26945
|
+
# on resource labels.
|
|
26946
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
26947
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
26948
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
26949
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
26950
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
26951
|
+
# automaticRestart = true).
|
|
26952
|
+
# @param [Fixnum] max_results
|
|
26953
|
+
# The maximum number of results per page that should be returned. If the number
|
|
26954
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
26955
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
26956
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
26957
|
+
# @param [String] order_by
|
|
26958
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
26959
|
+
# alphanumerical order based on the resource name.
|
|
26960
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
26961
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
26962
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
26963
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
26964
|
+
# returned first.
|
|
26965
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
26966
|
+
# @param [String] page_token
|
|
26967
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
26968
|
+
# a previous list request to get the next page of results.
|
|
26969
|
+
# @param [String] fields
|
|
26970
|
+
# Selector specifying which fields to include in a partial response.
|
|
26971
|
+
# @param [String] quota_user
|
|
26972
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
26973
|
+
# characters.
|
|
26974
|
+
# @param [String] user_ip
|
|
26975
|
+
# Deprecated. Please use quotaUser instead.
|
|
26976
|
+
# @param [Google::Apis::RequestOptions] options
|
|
26977
|
+
# Request-specific options
|
|
26978
|
+
#
|
|
26979
|
+
# @yield [result, err] Result & error if block supplied
|
|
26980
|
+
# @yieldparam result [Google::Apis::ComputeBeta::UrlMapsAggregatedList] parsed result object
|
|
26981
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
26982
|
+
#
|
|
26983
|
+
# @return [Google::Apis::ComputeBeta::UrlMapsAggregatedList]
|
|
26984
|
+
#
|
|
26985
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
26986
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
26987
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
26988
|
+
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)
|
|
26989
|
+
command = make_simple_command(:get, '{project}/aggregated/urlMaps', options)
|
|
26990
|
+
command.response_representation = Google::Apis::ComputeBeta::UrlMapsAggregatedList::Representation
|
|
26991
|
+
command.response_class = Google::Apis::ComputeBeta::UrlMapsAggregatedList
|
|
26992
|
+
command.params['project'] = project unless project.nil?
|
|
26993
|
+
command.query['filter'] = filter unless filter.nil?
|
|
26994
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
26995
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
26996
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
26997
|
+
command.query['fields'] = fields unless fields.nil?
|
|
26998
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
26999
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
27000
|
+
execute_or_queue_command(command, &block)
|
|
27001
|
+
end
|
|
27002
|
+
|
|
25107
27003
|
# Deletes the specified UrlMap resource.
|
|
25108
27004
|
# @param [String] project
|
|
25109
27005
|
# Project ID for this request.
|