google-api-client 0.42.0 → 0.42.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +70 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +111 -0
- data/generated/google/apis/chat_v1/representations.rb +50 -0
- data/generated/google/apis/chat_v1/service.rb +32 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +5 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +25 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +5 -5
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +5 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +279 -0
- data/generated/google/apis/compute_beta/representations.rb +90 -0
- data/generated/google/apis/compute_beta/service.rb +257 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +279 -0
- data/generated/google/apis/compute_v1/representations.rb +90 -0
- data/generated/google/apis/compute_v1/service.rb +257 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +9 -0
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +15 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +4 -4
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +12 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +3 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +9 -9
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +2 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +66 -2
- data/generated/google/apis/drive_v2/representations.rb +22 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +65 -2
- data/generated/google/apis/drive_v3/representations.rb +22 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +53 -53
- data/generated/google/apis/gmail_v1/service.rb +72 -72
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +48 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +54 -30
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +6 -1
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
@@ -952,6 +952,12 @@ module Google
|
|
952
952
|
include Google::Apis::Core::JsonObjectSupport
|
953
953
|
end
|
954
954
|
|
955
|
+
class GrpcHealthCheck
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
|
+
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
959
|
+
end
|
960
|
+
|
955
961
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
956
962
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
963
|
|
@@ -4102,6 +4108,30 @@ module Google
|
|
4102
4108
|
include Google::Apis::Core::JsonObjectSupport
|
4103
4109
|
end
|
4104
4110
|
|
4111
|
+
class TargetGrpcProxy
|
4112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4113
|
+
|
4114
|
+
include Google::Apis::Core::JsonObjectSupport
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
class TargetGrpcProxyList
|
4118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4119
|
+
|
4120
|
+
class Warning
|
4121
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4122
|
+
|
4123
|
+
class Datum
|
4124
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4125
|
+
|
4126
|
+
include Google::Apis::Core::JsonObjectSupport
|
4127
|
+
end
|
4128
|
+
|
4129
|
+
include Google::Apis::Core::JsonObjectSupport
|
4130
|
+
end
|
4131
|
+
|
4132
|
+
include Google::Apis::Core::JsonObjectSupport
|
4133
|
+
end
|
4134
|
+
|
4105
4135
|
class TargetHttpProxiesScopedList
|
4106
4136
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4107
4137
|
|
@@ -6713,6 +6743,16 @@ module Google
|
|
6713
6743
|
end
|
6714
6744
|
end
|
6715
6745
|
|
6746
|
+
class GrpcHealthCheck
|
6747
|
+
# @private
|
6748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6749
|
+
property :grpc_service_name, as: 'grpcServiceName'
|
6750
|
+
property :port, as: 'port'
|
6751
|
+
property :port_name, as: 'portName'
|
6752
|
+
property :port_specification, as: 'portSpecification'
|
6753
|
+
end
|
6754
|
+
end
|
6755
|
+
|
6716
6756
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
6717
6757
|
# @private
|
6718
6758
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6830,6 +6870,8 @@ module Google
|
|
6830
6870
|
property :check_interval_sec, as: 'checkIntervalSec'
|
6831
6871
|
property :creation_timestamp, as: 'creationTimestamp'
|
6832
6872
|
property :description, as: 'description'
|
6873
|
+
property :grpc_health_check, as: 'grpcHealthCheck', class: Google::Apis::ComputeBeta::GrpcHealthCheck, decorator: Google::Apis::ComputeBeta::GrpcHealthCheck::Representation
|
6874
|
+
|
6833
6875
|
property :healthy_threshold, as: 'healthyThreshold'
|
6834
6876
|
property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeBeta::Http2HealthCheck, decorator: Google::Apis::ComputeBeta::Http2HealthCheck::Representation
|
6835
6877
|
|
@@ -12477,6 +12519,54 @@ module Google
|
|
12477
12519
|
end
|
12478
12520
|
end
|
12479
12521
|
|
12522
|
+
class TargetGrpcProxy
|
12523
|
+
# @private
|
12524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12525
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
12526
|
+
property :description, as: 'description'
|
12527
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
12528
|
+
property :id, :numeric_string => true, as: 'id'
|
12529
|
+
property :kind, as: 'kind'
|
12530
|
+
property :name, as: 'name'
|
12531
|
+
property :self_link, as: 'selfLink'
|
12532
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
12533
|
+
property :url_map, as: 'urlMap'
|
12534
|
+
property :validate_for_proxyless, as: 'validateForProxyless'
|
12535
|
+
end
|
12536
|
+
end
|
12537
|
+
|
12538
|
+
class TargetGrpcProxyList
|
12539
|
+
# @private
|
12540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12541
|
+
property :id, as: 'id'
|
12542
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::TargetGrpcProxy, decorator: Google::Apis::ComputeBeta::TargetGrpcProxy::Representation
|
12543
|
+
|
12544
|
+
property :kind, as: 'kind'
|
12545
|
+
property :next_page_token, as: 'nextPageToken'
|
12546
|
+
property :self_link, as: 'selfLink'
|
12547
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::TargetGrpcProxyList::Warning, decorator: Google::Apis::ComputeBeta::TargetGrpcProxyList::Warning::Representation
|
12548
|
+
|
12549
|
+
end
|
12550
|
+
|
12551
|
+
class Warning
|
12552
|
+
# @private
|
12553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12554
|
+
property :code, as: 'code'
|
12555
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::TargetGrpcProxyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::TargetGrpcProxyList::Warning::Datum::Representation
|
12556
|
+
|
12557
|
+
property :message, as: 'message'
|
12558
|
+
end
|
12559
|
+
|
12560
|
+
class Datum
|
12561
|
+
# @private
|
12562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12563
|
+
property :key, as: 'key'
|
12564
|
+
property :value, as: 'value'
|
12565
|
+
end
|
12566
|
+
end
|
12567
|
+
end
|
12568
|
+
end
|
12569
|
+
|
12480
12570
|
class TargetHttpProxiesScopedList
|
12481
12571
|
# @private
|
12482
12572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -28161,6 +28161,263 @@ module Google
|
|
28161
28161
|
execute_or_queue_command(command, &block)
|
28162
28162
|
end
|
28163
28163
|
|
28164
|
+
# Deletes the specified TargetGrpcProxy in the given scope
|
28165
|
+
# @param [String] project
|
28166
|
+
# Project ID for this request.
|
28167
|
+
# @param [String] target_grpc_proxy
|
28168
|
+
# Name of the TargetGrpcProxy resource to delete.
|
28169
|
+
# @param [String] request_id
|
28170
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
28171
|
+
# that if you must retry your request, the server will know to ignore the
|
28172
|
+
# request if it has already been completed.
|
28173
|
+
# For example, consider a situation where you make an initial request and the
|
28174
|
+
# request times out. If you make the request again with the same request ID, the
|
28175
|
+
# server can check if original operation with the same request ID was received,
|
28176
|
+
# and if so, will ignore the second request. This prevents clients from
|
28177
|
+
# accidentally creating duplicate commitments.
|
28178
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
28179
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
28180
|
+
# @param [String] fields
|
28181
|
+
# Selector specifying which fields to include in a partial response.
|
28182
|
+
# @param [String] quota_user
|
28183
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
28184
|
+
# characters.
|
28185
|
+
# @param [String] user_ip
|
28186
|
+
# Deprecated. Please use quotaUser instead.
|
28187
|
+
# @param [Google::Apis::RequestOptions] options
|
28188
|
+
# Request-specific options
|
28189
|
+
#
|
28190
|
+
# @yield [result, err] Result & error if block supplied
|
28191
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
28192
|
+
# @yieldparam err [StandardError] error object if request failed
|
28193
|
+
#
|
28194
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
28195
|
+
#
|
28196
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28197
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28198
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28199
|
+
def delete_target_grpc_proxy(project, target_grpc_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28200
|
+
command = make_simple_command(:delete, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options)
|
28201
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
28202
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
28203
|
+
command.params['project'] = project unless project.nil?
|
28204
|
+
command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_proxy.nil?
|
28205
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
28206
|
+
command.query['fields'] = fields unless fields.nil?
|
28207
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28208
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28209
|
+
execute_or_queue_command(command, &block)
|
28210
|
+
end
|
28211
|
+
|
28212
|
+
# Returns the specified TargetGrpcProxy resource in the given scope.
|
28213
|
+
# @param [String] project
|
28214
|
+
# Project ID for this request.
|
28215
|
+
# @param [String] target_grpc_proxy
|
28216
|
+
# Name of the TargetGrpcProxy resource to return.
|
28217
|
+
# @param [String] fields
|
28218
|
+
# Selector specifying which fields to include in a partial response.
|
28219
|
+
# @param [String] quota_user
|
28220
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
28221
|
+
# characters.
|
28222
|
+
# @param [String] user_ip
|
28223
|
+
# Deprecated. Please use quotaUser instead.
|
28224
|
+
# @param [Google::Apis::RequestOptions] options
|
28225
|
+
# Request-specific options
|
28226
|
+
#
|
28227
|
+
# @yield [result, err] Result & error if block supplied
|
28228
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetGrpcProxy] parsed result object
|
28229
|
+
# @yieldparam err [StandardError] error object if request failed
|
28230
|
+
#
|
28231
|
+
# @return [Google::Apis::ComputeBeta::TargetGrpcProxy]
|
28232
|
+
#
|
28233
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28234
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28235
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28236
|
+
def get_target_grpc_proxy(project, target_grpc_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28237
|
+
command = make_simple_command(:get, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options)
|
28238
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetGrpcProxy::Representation
|
28239
|
+
command.response_class = Google::Apis::ComputeBeta::TargetGrpcProxy
|
28240
|
+
command.params['project'] = project unless project.nil?
|
28241
|
+
command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_proxy.nil?
|
28242
|
+
command.query['fields'] = fields unless fields.nil?
|
28243
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28244
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28245
|
+
execute_or_queue_command(command, &block)
|
28246
|
+
end
|
28247
|
+
|
28248
|
+
# Creates a TargetGrpcProxy in the specified project in the given scope using
|
28249
|
+
# the parameters that are included in the request.
|
28250
|
+
# @param [String] project
|
28251
|
+
# Project ID for this request.
|
28252
|
+
# @param [Google::Apis::ComputeBeta::TargetGrpcProxy] target_grpc_proxy_object
|
28253
|
+
# @param [String] request_id
|
28254
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
28255
|
+
# that if you must retry your request, the server will know to ignore the
|
28256
|
+
# request if it has already been completed.
|
28257
|
+
# For example, consider a situation where you make an initial request and the
|
28258
|
+
# request times out. If you make the request again with the same request ID, the
|
28259
|
+
# server can check if original operation with the same request ID was received,
|
28260
|
+
# and if so, will ignore the second request. This prevents clients from
|
28261
|
+
# accidentally creating duplicate commitments.
|
28262
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
28263
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
28264
|
+
# @param [String] fields
|
28265
|
+
# Selector specifying which fields to include in a partial response.
|
28266
|
+
# @param [String] quota_user
|
28267
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
28268
|
+
# characters.
|
28269
|
+
# @param [String] user_ip
|
28270
|
+
# Deprecated. Please use quotaUser instead.
|
28271
|
+
# @param [Google::Apis::RequestOptions] options
|
28272
|
+
# Request-specific options
|
28273
|
+
#
|
28274
|
+
# @yield [result, err] Result & error if block supplied
|
28275
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
28276
|
+
# @yieldparam err [StandardError] error object if request failed
|
28277
|
+
#
|
28278
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
28279
|
+
#
|
28280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28283
|
+
def insert_target_grpc_proxy(project, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28284
|
+
command = make_simple_command(:post, '{project}/global/targetGrpcProxies', options)
|
28285
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetGrpcProxy::Representation
|
28286
|
+
command.request_object = target_grpc_proxy_object
|
28287
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
28288
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
28289
|
+
command.params['project'] = project unless project.nil?
|
28290
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
28291
|
+
command.query['fields'] = fields unless fields.nil?
|
28292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28294
|
+
execute_or_queue_command(command, &block)
|
28295
|
+
end
|
28296
|
+
|
28297
|
+
# Lists the TargetGrpcProxies for a project in the given scope.
|
28298
|
+
# @param [String] project
|
28299
|
+
# Project ID for this request.
|
28300
|
+
# @param [String] filter
|
28301
|
+
# A filter expression that filters resources listed in the response. The
|
28302
|
+
# expression must specify the field name, a comparison operator, and the value
|
28303
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
28304
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
28305
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
28306
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
28307
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
28308
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
28309
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
28310
|
+
# on resource labels.
|
28311
|
+
# To filter on multiple expressions, provide each separate expression within
|
28312
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
28313
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
28314
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
28315
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
28316
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
28317
|
+
# @param [Fixnum] max_results
|
28318
|
+
# The maximum number of results per page that should be returned. If the number
|
28319
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
28320
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
28321
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
28322
|
+
# @param [String] order_by
|
28323
|
+
# Sorts list results by a certain order. By default, results are returned in
|
28324
|
+
# alphanumerical order based on the resource name.
|
28325
|
+
# You can also sort results in descending order based on the creation timestamp
|
28326
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
28327
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
28328
|
+
# Use this to sort resources like operations so that the newest operation is
|
28329
|
+
# returned first.
|
28330
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
28331
|
+
# @param [String] page_token
|
28332
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
28333
|
+
# by a previous list request to get the next page of results.
|
28334
|
+
# @param [String] fields
|
28335
|
+
# Selector specifying which fields to include in a partial response.
|
28336
|
+
# @param [String] quota_user
|
28337
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
28338
|
+
# characters.
|
28339
|
+
# @param [String] user_ip
|
28340
|
+
# Deprecated. Please use quotaUser instead.
|
28341
|
+
# @param [Google::Apis::RequestOptions] options
|
28342
|
+
# Request-specific options
|
28343
|
+
#
|
28344
|
+
# @yield [result, err] Result & error if block supplied
|
28345
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetGrpcProxyList] parsed result object
|
28346
|
+
# @yieldparam err [StandardError] error object if request failed
|
28347
|
+
#
|
28348
|
+
# @return [Google::Apis::ComputeBeta::TargetGrpcProxyList]
|
28349
|
+
#
|
28350
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28351
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28352
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28353
|
+
def list_target_grpc_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28354
|
+
command = make_simple_command(:get, '{project}/global/targetGrpcProxies', options)
|
28355
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetGrpcProxyList::Representation
|
28356
|
+
command.response_class = Google::Apis::ComputeBeta::TargetGrpcProxyList
|
28357
|
+
command.params['project'] = project unless project.nil?
|
28358
|
+
command.query['filter'] = filter unless filter.nil?
|
28359
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
28360
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
28361
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
28362
|
+
command.query['fields'] = fields unless fields.nil?
|
28363
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28364
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28365
|
+
execute_or_queue_command(command, &block)
|
28366
|
+
end
|
28367
|
+
|
28368
|
+
# Patches the specified TargetGrpcProxy resource with the data included in the
|
28369
|
+
# request. This method supports PATCH semantics and uses JSON merge patch format
|
28370
|
+
# and processing rules.
|
28371
|
+
# @param [String] project
|
28372
|
+
# Project ID for this request.
|
28373
|
+
# @param [String] target_grpc_proxy
|
28374
|
+
# Name of the TargetGrpcProxy resource to patch.
|
28375
|
+
# @param [Google::Apis::ComputeBeta::TargetGrpcProxy] target_grpc_proxy_object
|
28376
|
+
# @param [String] request_id
|
28377
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
28378
|
+
# that if you must retry your request, the server will know to ignore the
|
28379
|
+
# request if it has already been completed.
|
28380
|
+
# For example, consider a situation where you make an initial request and the
|
28381
|
+
# request times out. If you make the request again with the same request ID, the
|
28382
|
+
# server can check if original operation with the same request ID was received,
|
28383
|
+
# and if so, will ignore the second request. This prevents clients from
|
28384
|
+
# accidentally creating duplicate commitments.
|
28385
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
28386
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
28387
|
+
# @param [String] fields
|
28388
|
+
# Selector specifying which fields to include in a partial response.
|
28389
|
+
# @param [String] quota_user
|
28390
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
28391
|
+
# characters.
|
28392
|
+
# @param [String] user_ip
|
28393
|
+
# Deprecated. Please use quotaUser instead.
|
28394
|
+
# @param [Google::Apis::RequestOptions] options
|
28395
|
+
# Request-specific options
|
28396
|
+
#
|
28397
|
+
# @yield [result, err] Result & error if block supplied
|
28398
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
28399
|
+
# @yieldparam err [StandardError] error object if request failed
|
28400
|
+
#
|
28401
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
28402
|
+
#
|
28403
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28404
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28405
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28406
|
+
def patch_target_grpc_proxy(project, target_grpc_proxy, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28407
|
+
command = make_simple_command(:patch, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options)
|
28408
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetGrpcProxy::Representation
|
28409
|
+
command.request_object = target_grpc_proxy_object
|
28410
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
28411
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
28412
|
+
command.params['project'] = project unless project.nil?
|
28413
|
+
command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_proxy.nil?
|
28414
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
28415
|
+
command.query['fields'] = fields unless fields.nil?
|
28416
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28417
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28418
|
+
execute_or_queue_command(command, &block)
|
28419
|
+
end
|
28420
|
+
|
28164
28421
|
# Retrieves the list of all TargetHttpProxy resources, regional and global,
|
28165
28422
|
# available to the specified project.
|
28166
28423
|
# @param [String] project
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200629'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -7281,6 +7281,60 @@ module Google
|
|
7281
7281
|
end
|
7282
7282
|
end
|
7283
7283
|
|
7284
|
+
#
|
7285
|
+
class GrpcHealthCheck
|
7286
|
+
include Google::Apis::Core::Hashable
|
7287
|
+
|
7288
|
+
# The gRPC service name for the health check. This field is optional. The value
|
7289
|
+
# of grpc_service_name has the following meanings by convention:
|
7290
|
+
# - Empty service_name means the overall status of all services at the backend.
|
7291
|
+
# - Non-empty service_name means the health of that gRPC service, as defined by
|
7292
|
+
# the owner of the service.
|
7293
|
+
# The grpc_service_name can only be ASCII.
|
7294
|
+
# Corresponds to the JSON property `grpcServiceName`
|
7295
|
+
# @return [String]
|
7296
|
+
attr_accessor :grpc_service_name
|
7297
|
+
|
7298
|
+
# The port number for the health check request. Must be specified if port_name
|
7299
|
+
# and port_specification are not set or if port_specification is USE_FIXED_PORT.
|
7300
|
+
# Valid values are 1 through 65535.
|
7301
|
+
# Corresponds to the JSON property `port`
|
7302
|
+
# @return [Fixnum]
|
7303
|
+
attr_accessor :port
|
7304
|
+
|
7305
|
+
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
|
7306
|
+
# port_name are defined, port takes precedence. The port_name should conform to
|
7307
|
+
# RFC1035.
|
7308
|
+
# Corresponds to the JSON property `portName`
|
7309
|
+
# @return [String]
|
7310
|
+
attr_accessor :port_name
|
7311
|
+
|
7312
|
+
# Specifies how port is selected for health checking, can be one of following
|
7313
|
+
# values:
|
7314
|
+
# USE_FIXED_PORT: The port number in port is used for health checking.
|
7315
|
+
# USE_NAMED_PORT: The portName is used for health checking.
|
7316
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
7317
|
+
# network endpoint is used for health checking. For other backends, the port or
|
7318
|
+
# named port specified in the Backend Service is used for health checking.
|
7319
|
+
# If not specified, gRPC health check follows behavior specified in port and
|
7320
|
+
# portName fields.
|
7321
|
+
# Corresponds to the JSON property `portSpecification`
|
7322
|
+
# @return [String]
|
7323
|
+
attr_accessor :port_specification
|
7324
|
+
|
7325
|
+
def initialize(**args)
|
7326
|
+
update!(**args)
|
7327
|
+
end
|
7328
|
+
|
7329
|
+
# Update properties of this object
|
7330
|
+
def update!(**args)
|
7331
|
+
@grpc_service_name = args[:grpc_service_name] if args.key?(:grpc_service_name)
|
7332
|
+
@port = args[:port] if args.key?(:port)
|
7333
|
+
@port_name = args[:port_name] if args.key?(:port_name)
|
7334
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
7335
|
+
end
|
7336
|
+
end
|
7337
|
+
|
7284
7338
|
#
|
7285
7339
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
7286
7340
|
include Google::Apis::Core::Hashable
|
@@ -7778,6 +7832,11 @@ module Google
|
|
7778
7832
|
# @return [String]
|
7779
7833
|
attr_accessor :description
|
7780
7834
|
|
7835
|
+
#
|
7836
|
+
# Corresponds to the JSON property `grpcHealthCheck`
|
7837
|
+
# @return [Google::Apis::ComputeV1::GrpcHealthCheck]
|
7838
|
+
attr_accessor :grpc_health_check
|
7839
|
+
|
7781
7840
|
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
7782
7841
|
# successes. The default value is 2.
|
7783
7842
|
# Corresponds to the JSON property `healthyThreshold`
|
@@ -7876,6 +7935,7 @@ module Google
|
|
7876
7935
|
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
|
7877
7936
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
7878
7937
|
@description = args[:description] if args.key?(:description)
|
7938
|
+
@grpc_health_check = args[:grpc_health_check] if args.key?(:grpc_health_check)
|
7879
7939
|
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
7880
7940
|
@http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
|
7881
7941
|
@http_health_check = args[:http_health_check] if args.key?(:http_health_check)
|
@@ -27905,6 +27965,225 @@ module Google
|
|
27905
27965
|
end
|
27906
27966
|
end
|
27907
27967
|
|
27968
|
+
# Represents a Target gRPC Proxy resource.
|
27969
|
+
# A target gRPC proxy is a component of load balancers intended for load
|
27970
|
+
# balancing gRPC traffic. Global forwarding rules reference a target gRPC proxy.
|
27971
|
+
# The Target gRPC Proxy references a URL map which specifies how traffic routes
|
27972
|
+
# to gRPC backend services.
|
27973
|
+
class TargetGrpcProxy
|
27974
|
+
include Google::Apis::Core::Hashable
|
27975
|
+
|
27976
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
27977
|
+
# Corresponds to the JSON property `creationTimestamp`
|
27978
|
+
# @return [String]
|
27979
|
+
attr_accessor :creation_timestamp
|
27980
|
+
|
27981
|
+
# An optional description of this resource. Provide this property when you
|
27982
|
+
# create the resource.
|
27983
|
+
# Corresponds to the JSON property `description`
|
27984
|
+
# @return [String]
|
27985
|
+
attr_accessor :description
|
27986
|
+
|
27987
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
27988
|
+
# This field is used in optimistic locking. This field will be ignored when
|
27989
|
+
# inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in
|
27990
|
+
# order to patch/update the TargetGrpcProxy; otherwise, the request will fail
|
27991
|
+
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
|
27992
|
+
# request to retrieve the TargetGrpcProxy.
|
27993
|
+
# Corresponds to the JSON property `fingerprint`
|
27994
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
27995
|
+
# @return [String]
|
27996
|
+
attr_accessor :fingerprint
|
27997
|
+
|
27998
|
+
# [Output Only] The unique identifier for the resource type. The server
|
27999
|
+
# generates this identifier.
|
28000
|
+
# Corresponds to the JSON property `id`
|
28001
|
+
# @return [Fixnum]
|
28002
|
+
attr_accessor :id
|
28003
|
+
|
28004
|
+
# [Output Only] Type of the resource. Always compute#targetGrpcProxy for target
|
28005
|
+
# grpc proxies.
|
28006
|
+
# Corresponds to the JSON property `kind`
|
28007
|
+
# @return [String]
|
28008
|
+
attr_accessor :kind
|
28009
|
+
|
28010
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
28011
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
28012
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
28013
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
28014
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
28015
|
+
# except the last character, which cannot be a dash.
|
28016
|
+
# Corresponds to the JSON property `name`
|
28017
|
+
# @return [String]
|
28018
|
+
attr_accessor :name
|
28019
|
+
|
28020
|
+
# [Output Only] Server-defined URL for the resource.
|
28021
|
+
# Corresponds to the JSON property `selfLink`
|
28022
|
+
# @return [String]
|
28023
|
+
attr_accessor :self_link
|
28024
|
+
|
28025
|
+
# [Output Only] Server-defined URL with id for the resource.
|
28026
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
28027
|
+
# @return [String]
|
28028
|
+
attr_accessor :self_link_with_id
|
28029
|
+
|
28030
|
+
# URL to the UrlMap resource that defines the mapping from URL to the
|
28031
|
+
# BackendService. The protocol field in the BackendService must be set to GRPC.
|
28032
|
+
# Corresponds to the JSON property `urlMap`
|
28033
|
+
# @return [String]
|
28034
|
+
attr_accessor :url_map
|
28035
|
+
|
28036
|
+
# If true, indicates that the BackendServices referenced by the urlMap may be
|
28037
|
+
# accessed by gRPC applications without using a sidecar proxy. This will enable
|
28038
|
+
# configuration checks on urlMap and its referenced BackendServices to not allow
|
28039
|
+
# unsupported features. A gRPC application must use "xds-experimental:///"
|
28040
|
+
# scheme in the target URI of the service it is connecting to. If false,
|
28041
|
+
# indicates that the BackendServices referenced by the urlMap will be accessed
|
28042
|
+
# by gRPC applications via a sidecar proxy. In this case, a gRPC application
|
28043
|
+
# must not use "xds-experimental:///" scheme in the target URI of the service it
|
28044
|
+
# is connecting to
|
28045
|
+
# Corresponds to the JSON property `validateForProxyless`
|
28046
|
+
# @return [Boolean]
|
28047
|
+
attr_accessor :validate_for_proxyless
|
28048
|
+
alias_method :validate_for_proxyless?, :validate_for_proxyless
|
28049
|
+
|
28050
|
+
def initialize(**args)
|
28051
|
+
update!(**args)
|
28052
|
+
end
|
28053
|
+
|
28054
|
+
# Update properties of this object
|
28055
|
+
def update!(**args)
|
28056
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
28057
|
+
@description = args[:description] if args.key?(:description)
|
28058
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
28059
|
+
@id = args[:id] if args.key?(:id)
|
28060
|
+
@kind = args[:kind] if args.key?(:kind)
|
28061
|
+
@name = args[:name] if args.key?(:name)
|
28062
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
28063
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
28064
|
+
@url_map = args[:url_map] if args.key?(:url_map)
|
28065
|
+
@validate_for_proxyless = args[:validate_for_proxyless] if args.key?(:validate_for_proxyless)
|
28066
|
+
end
|
28067
|
+
end
|
28068
|
+
|
28069
|
+
#
|
28070
|
+
class TargetGrpcProxyList
|
28071
|
+
include Google::Apis::Core::Hashable
|
28072
|
+
|
28073
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
28074
|
+
# Corresponds to the JSON property `id`
|
28075
|
+
# @return [String]
|
28076
|
+
attr_accessor :id
|
28077
|
+
|
28078
|
+
# A list of TargetGrpcProxy resources.
|
28079
|
+
# Corresponds to the JSON property `items`
|
28080
|
+
# @return [Array<Google::Apis::ComputeV1::TargetGrpcProxy>]
|
28081
|
+
attr_accessor :items
|
28082
|
+
|
28083
|
+
# [Output Only] Type of the resource. Always compute#targetGrpcProxy for target
|
28084
|
+
# grpc proxies.
|
28085
|
+
# Corresponds to the JSON property `kind`
|
28086
|
+
# @return [String]
|
28087
|
+
attr_accessor :kind
|
28088
|
+
|
28089
|
+
# [Output Only] This token allows you to get the next page of results for list
|
28090
|
+
# requests. If the number of results is larger than maxResults, use the
|
28091
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
28092
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
28093
|
+
# continue paging through the results.
|
28094
|
+
# Corresponds to the JSON property `nextPageToken`
|
28095
|
+
# @return [String]
|
28096
|
+
attr_accessor :next_page_token
|
28097
|
+
|
28098
|
+
# [Output Only] Server-defined URL for this resource.
|
28099
|
+
# Corresponds to the JSON property `selfLink`
|
28100
|
+
# @return [String]
|
28101
|
+
attr_accessor :self_link
|
28102
|
+
|
28103
|
+
# [Output Only] Informational warning message.
|
28104
|
+
# Corresponds to the JSON property `warning`
|
28105
|
+
# @return [Google::Apis::ComputeV1::TargetGrpcProxyList::Warning]
|
28106
|
+
attr_accessor :warning
|
28107
|
+
|
28108
|
+
def initialize(**args)
|
28109
|
+
update!(**args)
|
28110
|
+
end
|
28111
|
+
|
28112
|
+
# Update properties of this object
|
28113
|
+
def update!(**args)
|
28114
|
+
@id = args[:id] if args.key?(:id)
|
28115
|
+
@items = args[:items] if args.key?(:items)
|
28116
|
+
@kind = args[:kind] if args.key?(:kind)
|
28117
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
28118
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
28119
|
+
@warning = args[:warning] if args.key?(:warning)
|
28120
|
+
end
|
28121
|
+
|
28122
|
+
# [Output Only] Informational warning message.
|
28123
|
+
class Warning
|
28124
|
+
include Google::Apis::Core::Hashable
|
28125
|
+
|
28126
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
28127
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
28128
|
+
# Corresponds to the JSON property `code`
|
28129
|
+
# @return [String]
|
28130
|
+
attr_accessor :code
|
28131
|
+
|
28132
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
28133
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
28134
|
+
# Corresponds to the JSON property `data`
|
28135
|
+
# @return [Array<Google::Apis::ComputeV1::TargetGrpcProxyList::Warning::Datum>]
|
28136
|
+
attr_accessor :data
|
28137
|
+
|
28138
|
+
# [Output Only] A human-readable description of the warning code.
|
28139
|
+
# Corresponds to the JSON property `message`
|
28140
|
+
# @return [String]
|
28141
|
+
attr_accessor :message
|
28142
|
+
|
28143
|
+
def initialize(**args)
|
28144
|
+
update!(**args)
|
28145
|
+
end
|
28146
|
+
|
28147
|
+
# Update properties of this object
|
28148
|
+
def update!(**args)
|
28149
|
+
@code = args[:code] if args.key?(:code)
|
28150
|
+
@data = args[:data] if args.key?(:data)
|
28151
|
+
@message = args[:message] if args.key?(:message)
|
28152
|
+
end
|
28153
|
+
|
28154
|
+
#
|
28155
|
+
class Datum
|
28156
|
+
include Google::Apis::Core::Hashable
|
28157
|
+
|
28158
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
28159
|
+
# For example, for warnings where there are no results in a list request for a
|
28160
|
+
# particular zone, this key might be scope and the key value might be the zone
|
28161
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
28162
|
+
# suggested replacement, or a warning about invalid network settings (for
|
28163
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
28164
|
+
# for IP forwarding).
|
28165
|
+
# Corresponds to the JSON property `key`
|
28166
|
+
# @return [String]
|
28167
|
+
attr_accessor :key
|
28168
|
+
|
28169
|
+
# [Output Only] A warning data value corresponding to the key.
|
28170
|
+
# Corresponds to the JSON property `value`
|
28171
|
+
# @return [String]
|
28172
|
+
attr_accessor :value
|
28173
|
+
|
28174
|
+
def initialize(**args)
|
28175
|
+
update!(**args)
|
28176
|
+
end
|
28177
|
+
|
28178
|
+
# Update properties of this object
|
28179
|
+
def update!(**args)
|
28180
|
+
@key = args[:key] if args.key?(:key)
|
28181
|
+
@value = args[:value] if args.key?(:value)
|
28182
|
+
end
|
28183
|
+
end
|
28184
|
+
end
|
28185
|
+
end
|
28186
|
+
|
27908
28187
|
#
|
27909
28188
|
class TargetHttpProxiesScopedList
|
27910
28189
|
include Google::Apis::Core::Hashable
|