google-api-client 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/games/
|
27
27
|
module GamesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201125'
|
30
30
|
|
31
31
|
# View and manage its own configuration data in your Google Drive
|
32
32
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
@@ -644,6 +644,55 @@ module Google
|
|
644
644
|
end
|
645
645
|
end
|
646
646
|
|
647
|
+
# Hash-like weak identifier of uploaded content bytes (saved game data blob, or
|
648
|
+
# cover image). Consistent per player per application per hash version. Within
|
649
|
+
# the context of a single player/application, it's guaranteed that two identical
|
650
|
+
# blobs coming from two different uploads will have the same content hash. It's
|
651
|
+
# extremely likely, though not guaranteed, that if two content hashes are equal,
|
652
|
+
# the blobs are identical.
|
653
|
+
class ContentHash
|
654
|
+
include Google::Apis::Core::Hashable
|
655
|
+
|
656
|
+
# Hash-like digest of the content.
|
657
|
+
# Corresponds to the JSON property `digest`
|
658
|
+
# @return [String]
|
659
|
+
attr_accessor :digest
|
660
|
+
|
661
|
+
# Version of the Hash encoding algorithm to hash the content.
|
662
|
+
# Corresponds to the JSON property `version`
|
663
|
+
# @return [Fixnum]
|
664
|
+
attr_accessor :version
|
665
|
+
|
666
|
+
def initialize(**args)
|
667
|
+
update!(**args)
|
668
|
+
end
|
669
|
+
|
670
|
+
# Update properties of this object
|
671
|
+
def update!(**args)
|
672
|
+
@digest = args[:digest] if args.key?(:digest)
|
673
|
+
@version = args[:version] if args.key?(:version)
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
# Container for a URL end point of the requested type.
|
678
|
+
class EndPoint
|
679
|
+
include Google::Apis::Core::Hashable
|
680
|
+
|
681
|
+
# A URL suitable for loading in a web browser for the requested endpoint.
|
682
|
+
# Corresponds to the JSON property `url`
|
683
|
+
# @return [String]
|
684
|
+
attr_accessor :url
|
685
|
+
|
686
|
+
def initialize(**args)
|
687
|
+
update!(**args)
|
688
|
+
end
|
689
|
+
|
690
|
+
# Update properties of this object
|
691
|
+
def update!(**args)
|
692
|
+
@url = args[:url] if args.key?(:url)
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
647
696
|
# A batch update failure resource.
|
648
697
|
class EventBatchRecordFailure
|
649
698
|
include Google::Apis::Core::Hashable
|
@@ -2501,12 +2550,14 @@ module Google
|
|
2501
2550
|
include Google::Apis::Core::Hashable
|
2502
2551
|
|
2503
2552
|
# Output only. Hash-like weak identifier of the uploaded image bytes, consistent
|
2504
|
-
# per player per application. Within the context of a single
|
2505
|
-
# it's guaranteed that two identical
|
2506
|
-
# will have the same content hash
|
2507
|
-
#
|
2553
|
+
# per player per application per hash version. Within the context of a single
|
2554
|
+
# player/application, it's guaranteed that two identical images coming from two
|
2555
|
+
# different uploads will have the same content hash for the same hash algorithm
|
2556
|
+
# version. It's extremely likely, though not guaranteed, that if two content
|
2557
|
+
# hashes are equal, the images are identical. More than one content hash can be
|
2558
|
+
# returned if more than one hash versions are supported.
|
2508
2559
|
# Corresponds to the JSON property `contentHash`
|
2509
|
-
# @return [
|
2560
|
+
# @return [Array<Google::Apis::GamesV1::ContentHash>]
|
2510
2561
|
attr_accessor :content_hash
|
2511
2562
|
|
2512
2563
|
# Output only. A URL the client can use to download the image. May vary across
|
@@ -2516,12 +2567,12 @@ module Google
|
|
2516
2567
|
# @return [String]
|
2517
2568
|
attr_accessor :download_url
|
2518
2569
|
|
2519
|
-
#
|
2570
|
+
# The height of the image in pixels.
|
2520
2571
|
# Corresponds to the JSON property `height`
|
2521
2572
|
# @return [Fixnum]
|
2522
2573
|
attr_accessor :height
|
2523
2574
|
|
2524
|
-
#
|
2575
|
+
# The MIME type of the image.
|
2525
2576
|
# Corresponds to the JSON property `mimeType`
|
2526
2577
|
# @return [String]
|
2527
2578
|
attr_accessor :mime_type
|
@@ -2537,7 +2588,7 @@ module Google
|
|
2537
2588
|
# @return [String]
|
2538
2589
|
attr_accessor :resource_id
|
2539
2590
|
|
2540
|
-
#
|
2591
|
+
# The width of the image in pixels.
|
2541
2592
|
# Corresponds to the JSON property `width`
|
2542
2593
|
# @return [Fixnum]
|
2543
2594
|
attr_accessor :width
|
@@ -2562,12 +2613,14 @@ module Google
|
|
2562
2613
|
include Google::Apis::Core::Hashable
|
2563
2614
|
|
2564
2615
|
# Output only. Hash-like weak identifier of the uploaded blob, consistent per
|
2565
|
-
# player per application. Within the context of a single player/
|
2566
|
-
# s guaranteed that two identical blobs coming from two
|
2567
|
-
# have the same content hash
|
2568
|
-
#
|
2616
|
+
# player per application per hash version. Within the context of a single player/
|
2617
|
+
# application, it's guaranteed that two identical blobs coming from two
|
2618
|
+
# different uploads will have the same content hash for the same hash algorithm
|
2619
|
+
# version. It's extremely likely, though not guaranteed, that if two content
|
2620
|
+
# hashes are equal, the blobs are identical. More than one content hash can be
|
2621
|
+
# returned if more than one hash versions are supported.
|
2569
2622
|
# Corresponds to the JSON property `contentHash`
|
2570
|
-
# @return [
|
2623
|
+
# @return [Array<Google::Apis::GamesV1::ContentHash>]
|
2571
2624
|
attr_accessor :content_hash
|
2572
2625
|
|
2573
2626
|
# Output only. A URL that the client can use to download the blob. May vary
|
@@ -2588,7 +2641,7 @@ module Google
|
|
2588
2641
|
# @return [String]
|
2589
2642
|
attr_accessor :resource_id
|
2590
2643
|
|
2591
|
-
# Size of the saved game blob in bytes.
|
2644
|
+
# Output only. Size of the saved game blob in bytes.
|
2592
2645
|
# Corresponds to the JSON property `size`
|
2593
2646
|
# @return [Fixnum]
|
2594
2647
|
attr_accessor :size
|
@@ -112,6 +112,18 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class ContentHash
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class EndPoint
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class EventBatchRecordFailure
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -589,6 +601,21 @@ module Google
|
|
589
601
|
end
|
590
602
|
end
|
591
603
|
|
604
|
+
class ContentHash
|
605
|
+
# @private
|
606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
607
|
+
property :digest, as: 'digest'
|
608
|
+
property :version, as: 'version'
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
class EndPoint
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
property :url, as: 'url'
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
592
619
|
class EventBatchRecordFailure
|
593
620
|
# @private
|
594
621
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1089,7 +1116,8 @@ module Google
|
|
1089
1116
|
class SnapshotCoverImageResource
|
1090
1117
|
# @private
|
1091
1118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1092
|
-
|
1119
|
+
collection :content_hash, as: 'contentHash', class: Google::Apis::GamesV1::ContentHash, decorator: Google::Apis::GamesV1::ContentHash::Representation
|
1120
|
+
|
1093
1121
|
property :download_url, as: 'downloadUrl'
|
1094
1122
|
property :height, as: 'height'
|
1095
1123
|
property :mime_type, as: 'mimeType'
|
@@ -1101,7 +1129,8 @@ module Google
|
|
1101
1129
|
class SnapshotDataResource
|
1102
1130
|
# @private
|
1103
1131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1104
|
-
|
1132
|
+
collection :content_hash, as: 'contentHash', class: Google::Apis::GamesV1::ContentHash, decorator: Google::Apis::GamesV1::ContentHash::Representation
|
1133
|
+
|
1105
1134
|
property :download_url, as: 'downloadUrl'
|
1106
1135
|
property :resource_id, as: 'resourceId'
|
1107
1136
|
property :size, :numeric_string => true, as: 'size'
|
@@ -337,6 +337,39 @@ module Google
|
|
337
337
|
execute_or_queue_command(command, &block)
|
338
338
|
end
|
339
339
|
|
340
|
+
# Returns a URL for the requested end point type.
|
341
|
+
# @param [String] application_id
|
342
|
+
# The application ID from the Google Play developer console.
|
343
|
+
# @param [String] end_point_type
|
344
|
+
# Type of endpoint being requested.
|
345
|
+
# @param [String] fields
|
346
|
+
# Selector specifying which fields to include in a partial response.
|
347
|
+
# @param [String] quota_user
|
348
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
349
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
350
|
+
# @param [Google::Apis::RequestOptions] options
|
351
|
+
# Request-specific options
|
352
|
+
#
|
353
|
+
# @yield [result, err] Result & error if block supplied
|
354
|
+
# @yieldparam result [Google::Apis::GamesV1::EndPoint] parsed result object
|
355
|
+
# @yieldparam err [StandardError] error object if request failed
|
356
|
+
#
|
357
|
+
# @return [Google::Apis::GamesV1::EndPoint]
|
358
|
+
#
|
359
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
360
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
361
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
362
|
+
def get_application_end_point(application_id: nil, end_point_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
363
|
+
command = make_simple_command(:post, 'games/v1/applications/getEndPoint', options)
|
364
|
+
command.response_representation = Google::Apis::GamesV1::EndPoint::Representation
|
365
|
+
command.response_class = Google::Apis::GamesV1::EndPoint
|
366
|
+
command.query['applicationId'] = application_id unless application_id.nil?
|
367
|
+
command.query['endPointType'] = end_point_type unless end_point_type.nil?
|
368
|
+
command.query['fields'] = fields unless fields.nil?
|
369
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
370
|
+
execute_or_queue_command(command, &block)
|
371
|
+
end
|
372
|
+
|
340
373
|
# Indicate that the currently authenticated user is playing your application.
|
341
374
|
# @param [String] fields
|
342
375
|
# Selector specifying which fields to include in a partial response.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/gmail/postmaster
|
28
28
|
module GmailpostmastertoolsV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201123'
|
31
31
|
|
32
32
|
# See email traffic metrics for the domains you have registered in Gmail Postmaster Tools
|
33
33
|
AUTH_POSTMASTER_READONLY = 'https://www.googleapis.com/auth/postmaster.readonly'
|
@@ -120,6 +120,14 @@ module Google
|
|
120
120
|
# Total number of unique IPs in this reputation category. This metric only
|
121
121
|
# pertains to traffic that passed [SPF](http://www.openspf.org/) or [DKIM](http:/
|
122
122
|
# /www.dkim.org/).
|
123
|
+
# Corresponds to the JSON property `ipCount`
|
124
|
+
# @return [Fixnum]
|
125
|
+
attr_accessor :ip_count
|
126
|
+
|
127
|
+
# Total number of unique IPs in this reputation category. This metric only
|
128
|
+
# pertains to traffic that passed [SPF](http://www.openspf.org/) or [DKIM](http:/
|
129
|
+
# /www.dkim.org/). Deprecated to be complied with ApiLinter for Quantities. Use
|
130
|
+
# ip_count instead.
|
123
131
|
# Corresponds to the JSON property `numIps`
|
124
132
|
# @return [Fixnum]
|
125
133
|
attr_accessor :num_ips
|
@@ -140,6 +148,7 @@ module Google
|
|
140
148
|
|
141
149
|
# Update properties of this object
|
142
150
|
def update!(**args)
|
151
|
+
@ip_count = args[:ip_count] if args.key?(:ip_count)
|
143
152
|
@num_ips = args[:num_ips] if args.key?(:num_ips)
|
144
153
|
@reputation = args[:reputation] if args.key?(:reputation)
|
145
154
|
@sample_ips = args[:sample_ips] if args.key?(:sample_ips)
|
@@ -93,6 +93,7 @@ module Google
|
|
93
93
|
class IpReputation
|
94
94
|
# @private
|
95
95
|
class Representation < Google::Apis::Core::JsonRepresentation
|
96
|
+
property :ip_count, :numeric_string => true, as: 'ipCount'
|
96
97
|
property :num_ips, :numeric_string => true, as: 'numIps'
|
97
98
|
property :reputation, as: 'reputation'
|
98
99
|
collection :sample_ips, as: 'sampleIps'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201110'
|
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'
|
@@ -767,24 +767,25 @@ module Google
|
|
767
767
|
class FhirStore
|
768
768
|
include Google::Apis::Core::Hashable
|
769
769
|
|
770
|
-
# Whether to disable referential integrity in this FHIR store. This
|
771
|
-
# immutable after FHIR store creation. The default value is false,
|
772
|
-
# the API enforces referential integrity and fails the requests
|
773
|
-
# inconsistent state in the FHIR store. When this field is set to
|
774
|
-
# skips referential integrity checks. Consequently, operations
|
775
|
-
# references, such as GetPatientEverything, do not return all the
|
776
|
-
# broken references exist.
|
770
|
+
# Immutable. Whether to disable referential integrity in this FHIR store. This
|
771
|
+
# field is immutable after FHIR store creation. The default value is false,
|
772
|
+
# meaning that the API enforces referential integrity and fails the requests
|
773
|
+
# that result in inconsistent state in the FHIR store. When this field is set to
|
774
|
+
# true, the API skips referential integrity checks. Consequently, operations
|
775
|
+
# that rely on references, such as GetPatientEverything, do not return all the
|
776
|
+
# results if broken references exist.
|
777
777
|
# Corresponds to the JSON property `disableReferentialIntegrity`
|
778
778
|
# @return [Boolean]
|
779
779
|
attr_accessor :disable_referential_integrity
|
780
780
|
alias_method :disable_referential_integrity?, :disable_referential_integrity
|
781
781
|
|
782
|
-
# Whether to disable resource versioning for this FHIR store. This
|
783
|
-
# be changed after the creation of FHIR store. If set to false,
|
784
|
-
# default behavior, all write operations cause historical versions
|
785
|
-
# recorded automatically. The historical versions can be fetched through
|
786
|
-
# history APIs, but cannot be updated. If set to true, no historical
|
787
|
-
# are kept. The server sends errors for attempts to read the historical
|
782
|
+
# Immutable. Whether to disable resource versioning for this FHIR store. This
|
783
|
+
# field can not be changed after the creation of FHIR store. If set to false,
|
784
|
+
# which is the default behavior, all write operations cause historical versions
|
785
|
+
# to be recorded automatically. The historical versions can be fetched through
|
786
|
+
# the history APIs, but cannot be updated. If set to true, no historical
|
787
|
+
# versions are kept. The server sends errors for attempts to read the historical
|
788
|
+
# versions.
|
788
789
|
# Corresponds to the JSON property `disableResourceVersioning`
|
789
790
|
# @return [Boolean]
|
790
791
|
attr_accessor :disable_resource_versioning
|
@@ -841,10 +842,10 @@ module Google
|
|
841
842
|
# @return [Array<Google::Apis::HealthcareV1::StreamConfig>]
|
842
843
|
attr_accessor :stream_configs
|
843
844
|
|
844
|
-
# The FHIR specification version that this FHIR store supports
|
845
|
-
# field is immutable after store creation. Requests are rejected
|
846
|
-
# FHIR resources of a different version. Version is required for
|
847
|
-
# store.
|
845
|
+
# Immutable. The FHIR specification version that this FHIR store supports
|
846
|
+
# natively. This field is immutable after store creation. Requests are rejected
|
847
|
+
# if they contain FHIR resources of a different version. Version is required for
|
848
|
+
# every FHIR store.
|
848
849
|
# Corresponds to the JSON property `version`
|
849
850
|
# @return [String]
|
850
851
|
attr_accessor :version
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201110'
|
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'
|
@@ -1883,24 +1883,25 @@ module Google
|
|
1883
1883
|
attr_accessor :default_search_handling_strict
|
1884
1884
|
alias_method :default_search_handling_strict?, :default_search_handling_strict
|
1885
1885
|
|
1886
|
-
# Whether to disable referential integrity in this FHIR store. This
|
1887
|
-
# immutable after FHIR store creation. The default value is false,
|
1888
|
-
# the API enforces referential integrity and fails the requests
|
1889
|
-
# inconsistent state in the FHIR store. When this field is set to
|
1890
|
-
# skips referential integrity checks. Consequently, operations
|
1891
|
-
# references, such as GetPatientEverything, do not return all the
|
1892
|
-
# broken references exist.
|
1886
|
+
# Immutable. Whether to disable referential integrity in this FHIR store. This
|
1887
|
+
# field is immutable after FHIR store creation. The default value is false,
|
1888
|
+
# meaning that the API enforces referential integrity and fails the requests
|
1889
|
+
# that result in inconsistent state in the FHIR store. When this field is set to
|
1890
|
+
# true, the API skips referential integrity checks. Consequently, operations
|
1891
|
+
# that rely on references, such as GetPatientEverything, do not return all the
|
1892
|
+
# results if broken references exist.
|
1893
1893
|
# Corresponds to the JSON property `disableReferentialIntegrity`
|
1894
1894
|
# @return [Boolean]
|
1895
1895
|
attr_accessor :disable_referential_integrity
|
1896
1896
|
alias_method :disable_referential_integrity?, :disable_referential_integrity
|
1897
1897
|
|
1898
|
-
# Whether to disable resource versioning for this FHIR store. This
|
1899
|
-
# be changed after the creation of FHIR store. If set to false,
|
1900
|
-
# default behavior, all write operations cause historical versions
|
1901
|
-
# recorded automatically. The historical versions can be fetched through
|
1902
|
-
# history APIs, but cannot be updated. If set to true, no historical
|
1903
|
-
# are kept. The server sends errors for attempts to read the historical
|
1898
|
+
# Immutable. Whether to disable resource versioning for this FHIR store. This
|
1899
|
+
# field can not be changed after the creation of FHIR store. If set to false,
|
1900
|
+
# which is the default behavior, all write operations cause historical versions
|
1901
|
+
# to be recorded automatically. The historical versions can be fetched through
|
1902
|
+
# the history APIs, but cannot be updated. If set to true, no historical
|
1903
|
+
# versions are kept. The server sends errors for attempts to read the historical
|
1904
|
+
# versions.
|
1904
1905
|
# Corresponds to the JSON property `disableResourceVersioning`
|
1905
1906
|
# @return [Boolean]
|
1906
1907
|
attr_accessor :disable_resource_versioning
|
@@ -1957,10 +1958,10 @@ module Google
|
|
1957
1958
|
# @return [Array<Google::Apis::HealthcareV1beta1::StreamConfig>]
|
1958
1959
|
attr_accessor :stream_configs
|
1959
1960
|
|
1960
|
-
# The FHIR specification version that this FHIR store supports
|
1961
|
-
# field is immutable after store creation. Requests are rejected
|
1962
|
-
# FHIR resources of a different version. Version is required for
|
1963
|
-
# store.
|
1961
|
+
# Immutable. The FHIR specification version that this FHIR store supports
|
1962
|
+
# natively. This field is immutable after store creation. Requests are rejected
|
1963
|
+
# if they contain FHIR resources of a different version. Version is required for
|
1964
|
+
# every FHIR store.
|
1964
1965
|
# Corresponds to the JSON property `version`
|
1965
1966
|
# @return [String]
|
1966
1967
|
attr_accessor :version
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201112'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -656,6 +656,68 @@ module Google
|
|
656
656
|
end
|
657
657
|
end
|
658
658
|
|
659
|
+
# This resource represents a long-running operation that is the result of a
|
660
|
+
# network API call.
|
661
|
+
class Operation
|
662
|
+
include Google::Apis::Core::Hashable
|
663
|
+
|
664
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
665
|
+
# , the operation is completed, and either `error` or `response` is available.
|
666
|
+
# Corresponds to the JSON property `done`
|
667
|
+
# @return [Boolean]
|
668
|
+
attr_accessor :done
|
669
|
+
alias_method :done?, :done
|
670
|
+
|
671
|
+
# The `Status` type defines a logical error model that is suitable for different
|
672
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
673
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
674
|
+
# data: error code, error message, and error details. You can find out more
|
675
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
676
|
+
# //cloud.google.com/apis/design/errors).
|
677
|
+
# Corresponds to the JSON property `error`
|
678
|
+
# @return [Google::Apis::IamV1::Status]
|
679
|
+
attr_accessor :error
|
680
|
+
|
681
|
+
# Service-specific metadata associated with the operation. It typically contains
|
682
|
+
# progress information and common metadata such as create time. Some services
|
683
|
+
# might not provide such metadata. Any method that returns a long-running
|
684
|
+
# operation should document the metadata type, if any.
|
685
|
+
# Corresponds to the JSON property `metadata`
|
686
|
+
# @return [Hash<String,Object>]
|
687
|
+
attr_accessor :metadata
|
688
|
+
|
689
|
+
# The server-assigned name, which is only unique within the same service that
|
690
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
691
|
+
# be a resource name ending with `operations/`unique_id``.
|
692
|
+
# Corresponds to the JSON property `name`
|
693
|
+
# @return [String]
|
694
|
+
attr_accessor :name
|
695
|
+
|
696
|
+
# The normal response of the operation in case of success. If the original
|
697
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
698
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
699
|
+
# the response should be the resource. For other methods, the response should
|
700
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
701
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
702
|
+
# response type is `TakeSnapshotResponse`.
|
703
|
+
# Corresponds to the JSON property `response`
|
704
|
+
# @return [Hash<String,Object>]
|
705
|
+
attr_accessor :response
|
706
|
+
|
707
|
+
def initialize(**args)
|
708
|
+
update!(**args)
|
709
|
+
end
|
710
|
+
|
711
|
+
# Update properties of this object
|
712
|
+
def update!(**args)
|
713
|
+
@done = args[:done] if args.key?(:done)
|
714
|
+
@error = args[:error] if args.key?(:error)
|
715
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
716
|
+
@name = args[:name] if args.key?(:name)
|
717
|
+
@response = args[:response] if args.key?(:response)
|
718
|
+
end
|
719
|
+
end
|
720
|
+
|
659
721
|
# The request for PatchServiceAccount. You can patch only the `display_name` and
|
660
722
|
# `description` fields. You must use the `update_mask` field to specify which of
|
661
723
|
# these fields you want to patch. Only the fields specified in the request are
|
@@ -1468,6 +1530,45 @@ module Google
|
|
1468
1530
|
end
|
1469
1531
|
end
|
1470
1532
|
|
1533
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1534
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1535
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1536
|
+
# data: error code, error message, and error details. You can find out more
|
1537
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1538
|
+
# //cloud.google.com/apis/design/errors).
|
1539
|
+
class Status
|
1540
|
+
include Google::Apis::Core::Hashable
|
1541
|
+
|
1542
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
1543
|
+
# Corresponds to the JSON property `code`
|
1544
|
+
# @return [Fixnum]
|
1545
|
+
attr_accessor :code
|
1546
|
+
|
1547
|
+
# A list of messages that carry the error details. There is a common set of
|
1548
|
+
# message types for APIs to use.
|
1549
|
+
# Corresponds to the JSON property `details`
|
1550
|
+
# @return [Array<Hash<String,Object>>]
|
1551
|
+
attr_accessor :details
|
1552
|
+
|
1553
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1554
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1555
|
+
# field, or localized by the client.
|
1556
|
+
# Corresponds to the JSON property `message`
|
1557
|
+
# @return [String]
|
1558
|
+
attr_accessor :message
|
1559
|
+
|
1560
|
+
def initialize(**args)
|
1561
|
+
update!(**args)
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# Update properties of this object
|
1565
|
+
def update!(**args)
|
1566
|
+
@code = args[:code] if args.key?(:code)
|
1567
|
+
@details = args[:details] if args.key?(:details)
|
1568
|
+
@message = args[:message] if args.key?(:message)
|
1569
|
+
end
|
1570
|
+
end
|
1571
|
+
|
1471
1572
|
# Request message for `TestIamPermissions` method.
|
1472
1573
|
class TestIamPermissionsRequest
|
1473
1574
|
include Google::Apis::Core::Hashable
|