google-api-client 0.42.0 → 0.42.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 +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
|
@@ -334,6 +334,38 @@ module Google
|
|
|
334
334
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
335
335
|
execute_or_queue_command(command, &block)
|
|
336
336
|
end
|
|
337
|
+
|
|
338
|
+
# Gets the metadata of a message attachment. The attachment data is fetched
|
|
339
|
+
# using the media API.
|
|
340
|
+
# @param [String] name
|
|
341
|
+
# Resource name of the attachment, in the form
|
|
342
|
+
# "spaces/*/messages/*/attachments/*".
|
|
343
|
+
# @param [String] fields
|
|
344
|
+
# Selector specifying which fields to include in a partial response.
|
|
345
|
+
# @param [String] quota_user
|
|
346
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
347
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
348
|
+
# @param [Google::Apis::RequestOptions] options
|
|
349
|
+
# Request-specific options
|
|
350
|
+
#
|
|
351
|
+
# @yield [result, err] Result & error if block supplied
|
|
352
|
+
# @yieldparam result [Google::Apis::ChatV1::Attachment] parsed result object
|
|
353
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
354
|
+
#
|
|
355
|
+
# @return [Google::Apis::ChatV1::Attachment]
|
|
356
|
+
#
|
|
357
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
358
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
359
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
360
|
+
def get_space_message_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
361
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
362
|
+
command.response_representation = Google::Apis::ChatV1::Attachment::Representation
|
|
363
|
+
command.response_class = Google::Apis::ChatV1::Attachment
|
|
364
|
+
command.params['name'] = name unless name.nil?
|
|
365
|
+
command.query['fields'] = fields unless fields.nil?
|
|
366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
367
|
+
execute_or_queue_command(command, &block)
|
|
368
|
+
end
|
|
337
369
|
|
|
338
370
|
protected
|
|
339
371
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/classroom/
|
|
26
26
|
module ClassroomV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200714'
|
|
29
29
|
|
|
30
30
|
# View and manage announcements in Google Classroom
|
|
31
31
|
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
|
@@ -2291,8 +2291,11 @@ module Google
|
|
|
2291
2291
|
# * `PERMISSION_DENIED` if:
|
|
2292
2292
|
# * the authenticated user does not have permission to receive
|
|
2293
2293
|
# notifications from the requested field; or
|
|
2294
|
-
# * the
|
|
2295
|
-
# the requested feed.
|
|
2294
|
+
# * the current user has not granted access to the current Cloud project
|
|
2295
|
+
# with the appropriate scope for the requested feed. Note that
|
|
2296
|
+
# domain-wide delegation of authority is not currently supported for
|
|
2297
|
+
# this purpose. If the request has the appropriate scope, but no grant
|
|
2298
|
+
# exists, a Request Errors is returned.
|
|
2296
2299
|
# * another access error is encountered.
|
|
2297
2300
|
# * `INVALID_ARGUMENT` if:
|
|
2298
2301
|
# * no `cloudPubsubTopic` is specified, or the specified
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
|
26
26
|
module CloudbuildV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200715'
|
|
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'
|
|
@@ -625,7 +625,7 @@ module Google
|
|
|
625
625
|
# @return [String]
|
|
626
626
|
attr_accessor :description
|
|
627
627
|
|
|
628
|
-
# If true, the trigger will never
|
|
628
|
+
# If true, the trigger will never automatically execute a build.
|
|
629
629
|
# Corresponds to the JSON property `disabled`
|
|
630
630
|
# @return [Boolean]
|
|
631
631
|
attr_accessor :disabled
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
|
26
26
|
module CloudidentityV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200711'
|
|
29
29
|
|
|
30
30
|
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
|
31
31
|
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
|
@@ -630,6 +630,25 @@ module Google
|
|
|
630
630
|
end
|
|
631
631
|
end
|
|
632
632
|
|
|
633
|
+
# The `MembershipRole` expiry details.
|
|
634
|
+
class ExpiryDetail
|
|
635
|
+
include Google::Apis::Core::Hashable
|
|
636
|
+
|
|
637
|
+
# The time at which the `MembershipRole` will expire.
|
|
638
|
+
# Corresponds to the JSON property `expireTime`
|
|
639
|
+
# @return [String]
|
|
640
|
+
attr_accessor :expire_time
|
|
641
|
+
|
|
642
|
+
def initialize(**args)
|
|
643
|
+
update!(**args)
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
# Update properties of this object
|
|
647
|
+
def update!(**args)
|
|
648
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
649
|
+
end
|
|
650
|
+
end
|
|
651
|
+
|
|
633
652
|
# The response message for MembershipsService.GetMembershipGraph.
|
|
634
653
|
class GetMembershipGraphResponse
|
|
635
654
|
include Google::Apis::Core::Hashable
|
|
@@ -1076,6 +1095,11 @@ module Google
|
|
|
1076
1095
|
class MembershipRole
|
|
1077
1096
|
include Google::Apis::Core::Hashable
|
|
1078
1097
|
|
|
1098
|
+
# The `MembershipRole` expiry details.
|
|
1099
|
+
# Corresponds to the JSON property `expiryDetail`
|
|
1100
|
+
# @return [Google::Apis::CloudidentityV1beta1::ExpiryDetail]
|
|
1101
|
+
attr_accessor :expiry_detail
|
|
1102
|
+
|
|
1079
1103
|
# The name of the `MembershipRole`.
|
|
1080
1104
|
# Must be one of `OWNER`, `MANAGER`, `MEMBER`.
|
|
1081
1105
|
# Corresponds to the JSON property `name`
|
|
@@ -1088,6 +1112,7 @@ module Google
|
|
|
1088
1112
|
|
|
1089
1113
|
# Update properties of this object
|
|
1090
1114
|
def update!(**args)
|
|
1115
|
+
@expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail)
|
|
1091
1116
|
@name = args[:name] if args.key?(:name)
|
|
1092
1117
|
end
|
|
1093
1118
|
end
|
|
@@ -88,6 +88,12 @@ module Google
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
+
class ExpiryDetail
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
91
97
|
class GetMembershipGraphResponse
|
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
99
|
|
|
@@ -361,6 +367,13 @@ module Google
|
|
|
361
367
|
end
|
|
362
368
|
end
|
|
363
369
|
|
|
370
|
+
class ExpiryDetail
|
|
371
|
+
# @private
|
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
+
property :expire_time, as: 'expireTime'
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
|
|
364
377
|
class GetMembershipGraphResponse
|
|
365
378
|
# @private
|
|
366
379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -493,6 +506,8 @@ module Google
|
|
|
493
506
|
class MembershipRole
|
|
494
507
|
# @private
|
|
495
508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
509
|
+
property :expiry_detail, as: 'expiryDetail', class: Google::Apis::CloudidentityV1beta1::ExpiryDetail, decorator: Google::Apis::CloudidentityV1beta1::ExpiryDetail::Representation
|
|
510
|
+
|
|
496
511
|
property :name, as: 'name'
|
|
497
512
|
end
|
|
498
513
|
end
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/scheduler/
|
|
26
26
|
module CloudschedulerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200703'
|
|
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'
|
|
@@ -686,11 +686,11 @@ module Google
|
|
|
686
686
|
# A message that is published by publishers and consumed by subscribers. The
|
|
687
687
|
# message must contain either a non-empty data field or at least one attribute.
|
|
688
688
|
# Note that client libraries represent this object differently
|
|
689
|
-
# depending on the language. See the corresponding
|
|
690
|
-
#
|
|
691
|
-
#
|
|
692
|
-
#
|
|
693
|
-
#
|
|
689
|
+
# depending on the language. See the corresponding [client library
|
|
690
|
+
# documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for
|
|
691
|
+
# more information. See [quotas and limits]
|
|
692
|
+
# (https://cloud.google.com/pubsub/quotas) for more information about message
|
|
693
|
+
# limits.
|
|
694
694
|
class PubsubMessage
|
|
695
695
|
include Google::Apis::Core::Hashable
|
|
696
696
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/scheduler/
|
|
26
26
|
module CloudschedulerV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200703'
|
|
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'
|
|
@@ -687,11 +687,11 @@ module Google
|
|
|
687
687
|
# A message that is published by publishers and consumed by subscribers. The
|
|
688
688
|
# message must contain either a non-empty data field or at least one attribute.
|
|
689
689
|
# Note that client libraries represent this object differently
|
|
690
|
-
# depending on the language. See the corresponding
|
|
691
|
-
#
|
|
692
|
-
#
|
|
693
|
-
#
|
|
694
|
-
#
|
|
690
|
+
# depending on the language. See the corresponding [client library
|
|
691
|
+
# documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for
|
|
692
|
+
# more information. See [quotas and limits]
|
|
693
|
+
# (https://cloud.google.com/pubsub/quotas) for more information about message
|
|
694
|
+
# limits.
|
|
695
695
|
class PubsubMessage
|
|
696
696
|
include Google::Apis::Core::Hashable
|
|
697
697
|
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/trace
|
|
30
30
|
module CloudtraceV1
|
|
31
31
|
VERSION = 'V1'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200713'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -86,7 +86,7 @@ module Google
|
|
|
86
86
|
|
|
87
87
|
# Globally unique identifier for the trace. This identifier is a 128-bit
|
|
88
88
|
# numeric value formatted as a 32-byte hex string. For example,
|
|
89
|
-
# `382d4f4c6b7bb2f4a972559d9085001d`.
|
|
89
|
+
# `382d4f4c6b7bb2f4a972559d9085001d`. The numeric value should not be zero.
|
|
90
90
|
# Corresponds to the JSON property `traceId`
|
|
91
91
|
# @return [String]
|
|
92
92
|
attr_accessor :trace_id
|
|
@@ -159,8 +159,7 @@ module Google
|
|
|
159
159
|
attr_accessor :labels
|
|
160
160
|
|
|
161
161
|
# Name of the span. Must be less than 128 bytes. The span name is sanitized
|
|
162
|
-
# and displayed in the
|
|
163
|
-
# Google Cloud Platform Console.
|
|
162
|
+
# and displayed in the Trace tool in the Google Cloud Platform Console.
|
|
164
163
|
# The name may be a method name or some other per-call site name.
|
|
165
164
|
# For the same executable and the same call point, a best practice is
|
|
166
165
|
# to use a consistent name, which makes it easier to correlate
|
|
@@ -51,13 +51,11 @@ module Google
|
|
|
51
51
|
@batch_path = 'batch'
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
# Sends new traces to
|
|
54
|
+
# Sends new traces to Cloud Trace or updates existing traces. If the ID
|
|
55
55
|
# of a trace that you send matches that of an existing trace, any fields
|
|
56
56
|
# in the existing trace and its spans are overwritten by the provided values,
|
|
57
57
|
# and any new fields provided are merged with the existing trace data. If the
|
|
58
58
|
# ID does not match, a new trace is created.
|
|
59
|
-
# In this case, writing traces is not considered an active developer
|
|
60
|
-
# method since traces are machine generated.
|
|
61
59
|
# @param [String] project_id
|
|
62
60
|
# Required. ID of the Cloud project where the trace data is stored.
|
|
63
61
|
# @param [Google::Apis::CloudtraceV1::Traces] traces_object
|
|
@@ -91,8 +89,6 @@ module Google
|
|
|
91
89
|
end
|
|
92
90
|
|
|
93
91
|
# Gets a single trace by its ID.
|
|
94
|
-
# In this case, getting for traces is considered an active developer method,
|
|
95
|
-
# even though it is technically a read-only method.
|
|
96
92
|
# @param [String] project_id
|
|
97
93
|
# Required. ID of the Cloud project where the trace data is stored.
|
|
98
94
|
# @param [String] trace_id
|
|
@@ -126,8 +122,6 @@ module Google
|
|
|
126
122
|
end
|
|
127
123
|
|
|
128
124
|
# Returns of a list of traces that match the specified filter conditions.
|
|
129
|
-
# In this case, listing for traces is considered an active developer method,
|
|
130
|
-
# even though it is technically a read-only method.
|
|
131
125
|
# @param [String] project_id
|
|
132
126
|
# Required. ID of the Cloud project where the trace data is stored.
|
|
133
127
|
# @param [String] end_time
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/trace
|
|
30
30
|
module CloudtraceV2
|
|
31
31
|
VERSION = 'V2'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200713'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -322,12 +322,13 @@ module Google
|
|
|
322
322
|
# @return [Google::Apis::CloudtraceV2::Links]
|
|
323
323
|
attr_accessor :links
|
|
324
324
|
|
|
325
|
-
# The resource name of the span in the following format:
|
|
325
|
+
# Required. The resource name of the span in the following format:
|
|
326
326
|
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
|
327
327
|
# identifier for a trace within a project;
|
|
328
328
|
# it is a 32-character hexadecimal encoding of a 16-byte array.
|
|
329
329
|
# [SPAN_ID] is a unique identifier for a span within a trace; it
|
|
330
|
-
# is a 16-character hexadecimal encoding of an 8-byte array.
|
|
330
|
+
# is a 16-character hexadecimal encoding of an 8-byte array. It should not
|
|
331
|
+
# be zero.
|
|
331
332
|
# Corresponds to the JSON property `name`
|
|
332
333
|
# @return [String]
|
|
333
334
|
attr_accessor :name
|
|
@@ -340,8 +341,7 @@ module Google
|
|
|
340
341
|
|
|
341
342
|
# Optional. Set this parameter to indicate whether this span is in
|
|
342
343
|
# the same process as its parent. If you do not set this parameter,
|
|
343
|
-
#
|
|
344
|
-
# information.
|
|
344
|
+
# Trace is unable to take advantage of this helpful information.
|
|
345
345
|
# Corresponds to the JSON property `sameProcessAsParentSpan`
|
|
346
346
|
# @return [Boolean]
|
|
347
347
|
attr_accessor :same_process_as_parent_span
|
|
@@ -352,7 +352,8 @@ module Google
|
|
|
352
352
|
# @return [String]
|
|
353
353
|
attr_accessor :span_id
|
|
354
354
|
|
|
355
|
-
# Distinguishes between spans generated in a particular context. For
|
|
355
|
+
# Optional. Distinguishes between spans generated in a particular context. For
|
|
356
|
+
# example,
|
|
356
357
|
# two spans with the same name may be distinguished using `CLIENT` (caller)
|
|
357
358
|
# and `SERVER` (callee) to identify an RPC call.
|
|
358
359
|
# Corresponds to the JSON property `spanKind`
|
|
@@ -53,8 +53,6 @@ module Google
|
|
|
53
53
|
|
|
54
54
|
# Sends new spans to new or existing traces. You cannot update
|
|
55
55
|
# existing spans.
|
|
56
|
-
# In this case, writing traces is not considered an active developer
|
|
57
|
-
# method since traces are machine generated.
|
|
58
56
|
# @param [String] name
|
|
59
57
|
# Required. The name of the project where the spans belong. The format is
|
|
60
58
|
# `projects/[PROJECT_ID]`.
|
|
@@ -89,15 +87,14 @@ module Google
|
|
|
89
87
|
end
|
|
90
88
|
|
|
91
89
|
# Creates a new span.
|
|
92
|
-
# In this case, writing traces is not considered an active developer
|
|
93
|
-
# method since traces are machine generated.
|
|
94
90
|
# @param [String] name
|
|
95
|
-
# The resource name of the span in the following format:
|
|
91
|
+
# Required. The resource name of the span in the following format:
|
|
96
92
|
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
|
97
93
|
# identifier for a trace within a project;
|
|
98
94
|
# it is a 32-character hexadecimal encoding of a 16-byte array.
|
|
99
95
|
# [SPAN_ID] is a unique identifier for a span within a trace; it
|
|
100
|
-
# is a 16-character hexadecimal encoding of an 8-byte array.
|
|
96
|
+
# is a 16-character hexadecimal encoding of an 8-byte array. It should not
|
|
97
|
+
# be zero.
|
|
101
98
|
# @param [Google::Apis::CloudtraceV2::Span] span_object
|
|
102
99
|
# @param [String] fields
|
|
103
100
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeBeta
|
|
27
27
|
VERSION = 'Beta'
|
|
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'
|
|
@@ -7812,6 +7812,60 @@ module Google
|
|
|
7812
7812
|
end
|
|
7813
7813
|
end
|
|
7814
7814
|
|
|
7815
|
+
#
|
|
7816
|
+
class GrpcHealthCheck
|
|
7817
|
+
include Google::Apis::Core::Hashable
|
|
7818
|
+
|
|
7819
|
+
# The gRPC service name for the health check. This field is optional. The value
|
|
7820
|
+
# of grpc_service_name has the following meanings by convention:
|
|
7821
|
+
# - Empty service_name means the overall status of all services at the backend.
|
|
7822
|
+
# - Non-empty service_name means the health of that gRPC service, as defined by
|
|
7823
|
+
# the owner of the service.
|
|
7824
|
+
# The grpc_service_name can only be ASCII.
|
|
7825
|
+
# Corresponds to the JSON property `grpcServiceName`
|
|
7826
|
+
# @return [String]
|
|
7827
|
+
attr_accessor :grpc_service_name
|
|
7828
|
+
|
|
7829
|
+
# The port number for the health check request. Must be specified if port_name
|
|
7830
|
+
# and port_specification are not set or if port_specification is USE_FIXED_PORT.
|
|
7831
|
+
# Valid values are 1 through 65535.
|
|
7832
|
+
# Corresponds to the JSON property `port`
|
|
7833
|
+
# @return [Fixnum]
|
|
7834
|
+
attr_accessor :port
|
|
7835
|
+
|
|
7836
|
+
# Port name as defined in InstanceGroup#NamedPort#name. If both port and
|
|
7837
|
+
# port_name are defined, port takes precedence. The port_name should conform to
|
|
7838
|
+
# RFC1035.
|
|
7839
|
+
# Corresponds to the JSON property `portName`
|
|
7840
|
+
# @return [String]
|
|
7841
|
+
attr_accessor :port_name
|
|
7842
|
+
|
|
7843
|
+
# Specifies how port is selected for health checking, can be one of following
|
|
7844
|
+
# values:
|
|
7845
|
+
# USE_FIXED_PORT: The port number in port is used for health checking.
|
|
7846
|
+
# USE_NAMED_PORT: The portName is used for health checking.
|
|
7847
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
|
7848
|
+
# network endpoint is used for health checking. For other backends, the port or
|
|
7849
|
+
# named port specified in the Backend Service is used for health checking.
|
|
7850
|
+
# If not specified, gRPC health check follows behavior specified in port and
|
|
7851
|
+
# portName fields.
|
|
7852
|
+
# Corresponds to the JSON property `portSpecification`
|
|
7853
|
+
# @return [String]
|
|
7854
|
+
attr_accessor :port_specification
|
|
7855
|
+
|
|
7856
|
+
def initialize(**args)
|
|
7857
|
+
update!(**args)
|
|
7858
|
+
end
|
|
7859
|
+
|
|
7860
|
+
# Update properties of this object
|
|
7861
|
+
def update!(**args)
|
|
7862
|
+
@grpc_service_name = args[:grpc_service_name] if args.key?(:grpc_service_name)
|
|
7863
|
+
@port = args[:port] if args.key?(:port)
|
|
7864
|
+
@port_name = args[:port_name] if args.key?(:port_name)
|
|
7865
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
|
7866
|
+
end
|
|
7867
|
+
end
|
|
7868
|
+
|
|
7815
7869
|
#
|
|
7816
7870
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
|
7817
7871
|
include Google::Apis::Core::Hashable
|
|
@@ -8309,6 +8363,11 @@ module Google
|
|
|
8309
8363
|
# @return [String]
|
|
8310
8364
|
attr_accessor :description
|
|
8311
8365
|
|
|
8366
|
+
#
|
|
8367
|
+
# Corresponds to the JSON property `grpcHealthCheck`
|
|
8368
|
+
# @return [Google::Apis::ComputeBeta::GrpcHealthCheck]
|
|
8369
|
+
attr_accessor :grpc_health_check
|
|
8370
|
+
|
|
8312
8371
|
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
|
8313
8372
|
# successes. The default value is 2.
|
|
8314
8373
|
# Corresponds to the JSON property `healthyThreshold`
|
|
@@ -8407,6 +8466,7 @@ module Google
|
|
|
8407
8466
|
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
|
|
8408
8467
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
8409
8468
|
@description = args[:description] if args.key?(:description)
|
|
8469
|
+
@grpc_health_check = args[:grpc_health_check] if args.key?(:grpc_health_check)
|
|
8410
8470
|
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
|
8411
8471
|
@http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
|
|
8412
8472
|
@http_health_check = args[:http_health_check] if args.key?(:http_health_check)
|
|
@@ -30728,6 +30788,225 @@ module Google
|
|
|
30728
30788
|
end
|
|
30729
30789
|
end
|
|
30730
30790
|
|
|
30791
|
+
# Represents a Target gRPC Proxy resource.
|
|
30792
|
+
# A target gRPC proxy is a component of load balancers intended for load
|
|
30793
|
+
# balancing gRPC traffic. Global forwarding rules reference a target gRPC proxy.
|
|
30794
|
+
# The Target gRPC Proxy references a URL map which specifies how traffic routes
|
|
30795
|
+
# to gRPC backend services.
|
|
30796
|
+
class TargetGrpcProxy
|
|
30797
|
+
include Google::Apis::Core::Hashable
|
|
30798
|
+
|
|
30799
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
30800
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
30801
|
+
# @return [String]
|
|
30802
|
+
attr_accessor :creation_timestamp
|
|
30803
|
+
|
|
30804
|
+
# An optional description of this resource. Provide this property when you
|
|
30805
|
+
# create the resource.
|
|
30806
|
+
# Corresponds to the JSON property `description`
|
|
30807
|
+
# @return [String]
|
|
30808
|
+
attr_accessor :description
|
|
30809
|
+
|
|
30810
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
|
30811
|
+
# This field is used in optimistic locking. This field will be ignored when
|
|
30812
|
+
# inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in
|
|
30813
|
+
# order to patch/update the TargetGrpcProxy; otherwise, the request will fail
|
|
30814
|
+
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
|
|
30815
|
+
# request to retrieve the TargetGrpcProxy.
|
|
30816
|
+
# Corresponds to the JSON property `fingerprint`
|
|
30817
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
30818
|
+
# @return [String]
|
|
30819
|
+
attr_accessor :fingerprint
|
|
30820
|
+
|
|
30821
|
+
# [Output Only] The unique identifier for the resource type. The server
|
|
30822
|
+
# generates this identifier.
|
|
30823
|
+
# Corresponds to the JSON property `id`
|
|
30824
|
+
# @return [Fixnum]
|
|
30825
|
+
attr_accessor :id
|
|
30826
|
+
|
|
30827
|
+
# [Output Only] Type of the resource. Always compute#targetGrpcProxy for target
|
|
30828
|
+
# grpc proxies.
|
|
30829
|
+
# Corresponds to the JSON property `kind`
|
|
30830
|
+
# @return [String]
|
|
30831
|
+
attr_accessor :kind
|
|
30832
|
+
|
|
30833
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
|
30834
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
30835
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
|
30836
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
|
30837
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
|
30838
|
+
# except the last character, which cannot be a dash.
|
|
30839
|
+
# Corresponds to the JSON property `name`
|
|
30840
|
+
# @return [String]
|
|
30841
|
+
attr_accessor :name
|
|
30842
|
+
|
|
30843
|
+
# [Output Only] Server-defined URL for the resource.
|
|
30844
|
+
# Corresponds to the JSON property `selfLink`
|
|
30845
|
+
# @return [String]
|
|
30846
|
+
attr_accessor :self_link
|
|
30847
|
+
|
|
30848
|
+
# [Output Only] Server-defined URL with id for the resource.
|
|
30849
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
|
30850
|
+
# @return [String]
|
|
30851
|
+
attr_accessor :self_link_with_id
|
|
30852
|
+
|
|
30853
|
+
# URL to the UrlMap resource that defines the mapping from URL to the
|
|
30854
|
+
# BackendService. The protocol field in the BackendService must be set to GRPC.
|
|
30855
|
+
# Corresponds to the JSON property `urlMap`
|
|
30856
|
+
# @return [String]
|
|
30857
|
+
attr_accessor :url_map
|
|
30858
|
+
|
|
30859
|
+
# If true, indicates that the BackendServices referenced by the urlMap may be
|
|
30860
|
+
# accessed by gRPC applications without using a sidecar proxy. This will enable
|
|
30861
|
+
# configuration checks on urlMap and its referenced BackendServices to not allow
|
|
30862
|
+
# unsupported features. A gRPC application must use "xds-experimental:///"
|
|
30863
|
+
# scheme in the target URI of the service it is connecting to. If false,
|
|
30864
|
+
# indicates that the BackendServices referenced by the urlMap will be accessed
|
|
30865
|
+
# by gRPC applications via a sidecar proxy. In this case, a gRPC application
|
|
30866
|
+
# must not use "xds-experimental:///" scheme in the target URI of the service it
|
|
30867
|
+
# is connecting to
|
|
30868
|
+
# Corresponds to the JSON property `validateForProxyless`
|
|
30869
|
+
# @return [Boolean]
|
|
30870
|
+
attr_accessor :validate_for_proxyless
|
|
30871
|
+
alias_method :validate_for_proxyless?, :validate_for_proxyless
|
|
30872
|
+
|
|
30873
|
+
def initialize(**args)
|
|
30874
|
+
update!(**args)
|
|
30875
|
+
end
|
|
30876
|
+
|
|
30877
|
+
# Update properties of this object
|
|
30878
|
+
def update!(**args)
|
|
30879
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
30880
|
+
@description = args[:description] if args.key?(:description)
|
|
30881
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
30882
|
+
@id = args[:id] if args.key?(:id)
|
|
30883
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
30884
|
+
@name = args[:name] if args.key?(:name)
|
|
30885
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
30886
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
|
30887
|
+
@url_map = args[:url_map] if args.key?(:url_map)
|
|
30888
|
+
@validate_for_proxyless = args[:validate_for_proxyless] if args.key?(:validate_for_proxyless)
|
|
30889
|
+
end
|
|
30890
|
+
end
|
|
30891
|
+
|
|
30892
|
+
#
|
|
30893
|
+
class TargetGrpcProxyList
|
|
30894
|
+
include Google::Apis::Core::Hashable
|
|
30895
|
+
|
|
30896
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
30897
|
+
# Corresponds to the JSON property `id`
|
|
30898
|
+
# @return [String]
|
|
30899
|
+
attr_accessor :id
|
|
30900
|
+
|
|
30901
|
+
# A list of TargetGrpcProxy resources.
|
|
30902
|
+
# Corresponds to the JSON property `items`
|
|
30903
|
+
# @return [Array<Google::Apis::ComputeBeta::TargetGrpcProxy>]
|
|
30904
|
+
attr_accessor :items
|
|
30905
|
+
|
|
30906
|
+
# [Output Only] Type of the resource. Always compute#targetGrpcProxy for target
|
|
30907
|
+
# grpc proxies.
|
|
30908
|
+
# Corresponds to the JSON property `kind`
|
|
30909
|
+
# @return [String]
|
|
30910
|
+
attr_accessor :kind
|
|
30911
|
+
|
|
30912
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
30913
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
30914
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
30915
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
30916
|
+
# continue paging through the results.
|
|
30917
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
30918
|
+
# @return [String]
|
|
30919
|
+
attr_accessor :next_page_token
|
|
30920
|
+
|
|
30921
|
+
# [Output Only] Server-defined URL for this resource.
|
|
30922
|
+
# Corresponds to the JSON property `selfLink`
|
|
30923
|
+
# @return [String]
|
|
30924
|
+
attr_accessor :self_link
|
|
30925
|
+
|
|
30926
|
+
# [Output Only] Informational warning message.
|
|
30927
|
+
# Corresponds to the JSON property `warning`
|
|
30928
|
+
# @return [Google::Apis::ComputeBeta::TargetGrpcProxyList::Warning]
|
|
30929
|
+
attr_accessor :warning
|
|
30930
|
+
|
|
30931
|
+
def initialize(**args)
|
|
30932
|
+
update!(**args)
|
|
30933
|
+
end
|
|
30934
|
+
|
|
30935
|
+
# Update properties of this object
|
|
30936
|
+
def update!(**args)
|
|
30937
|
+
@id = args[:id] if args.key?(:id)
|
|
30938
|
+
@items = args[:items] if args.key?(:items)
|
|
30939
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
30940
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
30941
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
30942
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
30943
|
+
end
|
|
30944
|
+
|
|
30945
|
+
# [Output Only] Informational warning message.
|
|
30946
|
+
class Warning
|
|
30947
|
+
include Google::Apis::Core::Hashable
|
|
30948
|
+
|
|
30949
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
30950
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
30951
|
+
# Corresponds to the JSON property `code`
|
|
30952
|
+
# @return [String]
|
|
30953
|
+
attr_accessor :code
|
|
30954
|
+
|
|
30955
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
30956
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
30957
|
+
# Corresponds to the JSON property `data`
|
|
30958
|
+
# @return [Array<Google::Apis::ComputeBeta::TargetGrpcProxyList::Warning::Datum>]
|
|
30959
|
+
attr_accessor :data
|
|
30960
|
+
|
|
30961
|
+
# [Output Only] A human-readable description of the warning code.
|
|
30962
|
+
# Corresponds to the JSON property `message`
|
|
30963
|
+
# @return [String]
|
|
30964
|
+
attr_accessor :message
|
|
30965
|
+
|
|
30966
|
+
def initialize(**args)
|
|
30967
|
+
update!(**args)
|
|
30968
|
+
end
|
|
30969
|
+
|
|
30970
|
+
# Update properties of this object
|
|
30971
|
+
def update!(**args)
|
|
30972
|
+
@code = args[:code] if args.key?(:code)
|
|
30973
|
+
@data = args[:data] if args.key?(:data)
|
|
30974
|
+
@message = args[:message] if args.key?(:message)
|
|
30975
|
+
end
|
|
30976
|
+
|
|
30977
|
+
#
|
|
30978
|
+
class Datum
|
|
30979
|
+
include Google::Apis::Core::Hashable
|
|
30980
|
+
|
|
30981
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
30982
|
+
# For example, for warnings where there are no results in a list request for a
|
|
30983
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
30984
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
30985
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
30986
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
30987
|
+
# for IP forwarding).
|
|
30988
|
+
# Corresponds to the JSON property `key`
|
|
30989
|
+
# @return [String]
|
|
30990
|
+
attr_accessor :key
|
|
30991
|
+
|
|
30992
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
30993
|
+
# Corresponds to the JSON property `value`
|
|
30994
|
+
# @return [String]
|
|
30995
|
+
attr_accessor :value
|
|
30996
|
+
|
|
30997
|
+
def initialize(**args)
|
|
30998
|
+
update!(**args)
|
|
30999
|
+
end
|
|
31000
|
+
|
|
31001
|
+
# Update properties of this object
|
|
31002
|
+
def update!(**args)
|
|
31003
|
+
@key = args[:key] if args.key?(:key)
|
|
31004
|
+
@value = args[:value] if args.key?(:value)
|
|
31005
|
+
end
|
|
31006
|
+
end
|
|
31007
|
+
end
|
|
31008
|
+
end
|
|
31009
|
+
|
|
30731
31010
|
#
|
|
30732
31011
|
class TargetHttpProxiesScopedList
|
|
30733
31012
|
include Google::Apis::Core::Hashable
|