google-api-client 0.32.1 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -3
- data/CHANGELOG.md +327 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +104 -23
- data/generated/google/apis/bigquery_v2/representations.rb +37 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +20 -0
- data/generated/google/apis/books_v1/representations.rb +3 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
- data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +594 -164
- data/generated/google/apis/compute_alpha/representations.rb +110 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -276
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +335 -133
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +410 -83
- data/generated/google/apis/container_v1/representations.rb +134 -0
- data/generated/google/apis/container_v1/service.rb +119 -119
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -3
- data/generated/google/apis/container_v1beta1/representations.rb +38 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +35 -223
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +69 -21
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
- data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +119 -11
- data/generated/google/apis/dataproc_v1/representations.rb +39 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
- data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +109 -33
- data/generated/google/apis/dlp_v2/representations.rb +23 -3
- data/generated/google/apis/dlp_v2/service.rb +1996 -209
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
- data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +15 -1
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +15 -7
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +30 -2
- data/generated/google/apis/logging_v2/representations.rb +4 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +308 -155
- data/generated/google/apis/ml_v1/representations.rb +59 -0
- data/generated/google/apis/ml_v1/service.rb +44 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
- data/generated/google/apis/monitoring_v1/representations.rb +528 -0
- data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
- data/generated/google/apis/monitoring_v1.rb +48 -0
- data/generated/google/apis/monitoring_v3/classes.rb +836 -60
- data/generated/google/apis/monitoring_v3/representations.rb +348 -0
- data/generated/google/apis/monitoring_v3/service.rb +384 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +9 -7
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +11 -11
- data/generated/google/apis/redis_v1/service.rb +5 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
- data/generated/google/apis/redis_v1beta1/service.rb +5 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -176
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +209 -1125
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
- data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
- data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1371 -232
- data/generated/google/apis/sheets_v4/representations.rb +180 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +70 -30
- data/generated/google/apis/spanner_v1/service.rb +270 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +6 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +66 -0
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +64 -42
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -405,6 +405,31 @@ module Google
|
|
405
405
|
end
|
406
406
|
end
|
407
407
|
|
408
|
+
#
|
409
|
+
class ListVersionsResponse
|
410
|
+
include Google::Apis::Core::Hashable
|
411
|
+
|
412
|
+
# The pagination token, if more results exist
|
413
|
+
# Corresponds to the JSON property `nextPageToken`
|
414
|
+
# @return [String]
|
415
|
+
attr_accessor :next_page_token
|
416
|
+
|
417
|
+
# The list of versions, if any exist.
|
418
|
+
# Corresponds to the JSON property `versions`
|
419
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::Version>]
|
420
|
+
attr_accessor :versions
|
421
|
+
|
422
|
+
def initialize(**args)
|
423
|
+
update!(**args)
|
424
|
+
end
|
425
|
+
|
426
|
+
# Update properties of this object
|
427
|
+
def update!(**args)
|
428
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
429
|
+
@versions = args[:versions] if args.key?(:versions)
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
408
433
|
#
|
409
434
|
class PopulateVersionFilesRequest
|
410
435
|
include Google::Apis::Core::Hashable
|
@@ -457,6 +482,35 @@ module Google
|
|
457
482
|
end
|
458
483
|
end
|
459
484
|
|
485
|
+
# Version preview configuration. If active and unexpired,
|
486
|
+
# this version will be accessible via a custom URL even
|
487
|
+
# if it is not the currently released version.
|
488
|
+
class PreviewConfig
|
489
|
+
include Google::Apis::Core::Hashable
|
490
|
+
|
491
|
+
# If true, preview URLs are enabled for this version.
|
492
|
+
# Corresponds to the JSON property `active`
|
493
|
+
# @return [Boolean]
|
494
|
+
attr_accessor :active
|
495
|
+
alias_method :active?, :active
|
496
|
+
|
497
|
+
# Indicates the expiration time for previewing this
|
498
|
+
# version; preview URL requests received after this time will 404.
|
499
|
+
# Corresponds to the JSON property `expireTime`
|
500
|
+
# @return [String]
|
501
|
+
attr_accessor :expire_time
|
502
|
+
|
503
|
+
def initialize(**args)
|
504
|
+
update!(**args)
|
505
|
+
end
|
506
|
+
|
507
|
+
# Update properties of this object
|
508
|
+
def update!(**args)
|
509
|
+
@active = args[:active] if args.key?(:active)
|
510
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
460
514
|
# A [`redirect`](/docs/hosting/full-config#redirects) represents the
|
461
515
|
# configuration for returning an HTTP redirect response given a matching
|
462
516
|
# request URL path.
|
@@ -772,6 +826,13 @@ module Google
|
|
772
826
|
# @return [String]
|
773
827
|
attr_accessor :name
|
774
828
|
|
829
|
+
# Version preview configuration. If active and unexpired,
|
830
|
+
# this version will be accessible via a custom URL even
|
831
|
+
# if it is not the currently released version.
|
832
|
+
# Corresponds to the JSON property `preview`
|
833
|
+
# @return [Google::Apis::FirebasehostingV1beta1::PreviewConfig]
|
834
|
+
attr_accessor :preview
|
835
|
+
|
775
836
|
# The deploy status of a version.
|
776
837
|
# <br>
|
777
838
|
# <br>For a successful deploy, call the
|
@@ -812,6 +873,7 @@ module Google
|
|
812
873
|
@finalize_user = args[:finalize_user] if args.key?(:finalize_user)
|
813
874
|
@labels = args[:labels] if args.key?(:labels)
|
814
875
|
@name = args[:name] if args.key?(:name)
|
876
|
+
@preview = args[:preview] if args.key?(:preview)
|
815
877
|
@status = args[:status] if args.key?(:status)
|
816
878
|
@version_bytes = args[:version_bytes] if args.key?(:version_bytes)
|
817
879
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class ListVersionsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class PopulateVersionFilesRequest
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class PreviewConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class Redirect
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -260,6 +272,15 @@ module Google
|
|
260
272
|
end
|
261
273
|
end
|
262
274
|
|
275
|
+
class ListVersionsResponse
|
276
|
+
# @private
|
277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
278
|
+
property :next_page_token, as: 'nextPageToken'
|
279
|
+
collection :versions, as: 'versions', class: Google::Apis::FirebasehostingV1beta1::Version, decorator: Google::Apis::FirebasehostingV1beta1::Version::Representation
|
280
|
+
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
263
284
|
class PopulateVersionFilesRequest
|
264
285
|
# @private
|
265
286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -275,6 +296,14 @@ module Google
|
|
275
296
|
end
|
276
297
|
end
|
277
298
|
|
299
|
+
class PreviewConfig
|
300
|
+
# @private
|
301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
property :active, as: 'active'
|
303
|
+
property :expire_time, as: 'expireTime'
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
278
307
|
class Redirect
|
279
308
|
# @private
|
280
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -351,6 +380,8 @@ module Google
|
|
351
380
|
|
352
381
|
hash :labels, as: 'labels'
|
353
382
|
property :name, as: 'name'
|
383
|
+
property :preview, as: 'preview', class: Google::Apis::FirebasehostingV1beta1::PreviewConfig, decorator: Google::Apis::FirebasehostingV1beta1::PreviewConfig::Representation
|
384
|
+
|
354
385
|
property :status, as: 'status'
|
355
386
|
property :version_bytes, :numeric_string => true, as: 'versionBytes'
|
356
387
|
end
|
@@ -441,6 +441,53 @@ module Google
|
|
441
441
|
execute_or_queue_command(command, &block)
|
442
442
|
end
|
443
443
|
|
444
|
+
# Lists the versions that have been created on the specified site.
|
445
|
+
# Will include filtering in the future.
|
446
|
+
# @param [String] parent
|
447
|
+
# Required. The parent for which to list files, in the format:
|
448
|
+
# <code>sites/<var>site-name</var></code>
|
449
|
+
# @param [String] filter
|
450
|
+
# The filter string used to return a subset of versions in the response.
|
451
|
+
# Currently supported fields for filtering are: name, status,
|
452
|
+
# and create_time. Filter processing will be implemented in accordance
|
453
|
+
# with go/filtering.
|
454
|
+
# @param [Fixnum] page_size
|
455
|
+
# The maximum number of versions to return. The service may return fewer than
|
456
|
+
# this value.
|
457
|
+
# If unspecified, at most 25 versions will be returned.
|
458
|
+
# The maximum value is 100; values above 100 will be coerced to 100
|
459
|
+
# @param [String] page_token
|
460
|
+
# The next_page_token from a previous request, if provided.
|
461
|
+
# @param [String] fields
|
462
|
+
# Selector specifying which fields to include in a partial response.
|
463
|
+
# @param [String] quota_user
|
464
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
465
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
466
|
+
# @param [Google::Apis::RequestOptions] options
|
467
|
+
# Request-specific options
|
468
|
+
#
|
469
|
+
# @yield [result, err] Result & error if block supplied
|
470
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListVersionsResponse] parsed result object
|
471
|
+
# @yieldparam err [StandardError] error object if request failed
|
472
|
+
#
|
473
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListVersionsResponse]
|
474
|
+
#
|
475
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
476
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
477
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
478
|
+
def list_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
479
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
|
480
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse::Representation
|
481
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse
|
482
|
+
command.params['parent'] = parent unless parent.nil?
|
483
|
+
command.query['filter'] = filter unless filter.nil?
|
484
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
485
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
486
|
+
command.query['fields'] = fields unless fields.nil?
|
487
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
488
|
+
execute_or_queue_command(command, &block)
|
489
|
+
end
|
490
|
+
|
444
491
|
# Updates the specified metadata for a version. Note that this method will
|
445
492
|
# fail with `FAILED_PRECONDITION` in the event of an invalid state
|
446
493
|
# transition. The only valid transition for a version is currently from a
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://firebase.google.com/docs/hosting/
|
28
28
|
module FirebasehostingV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191122'
|
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'
|
@@ -307,6 +307,26 @@ module Google
|
|
307
307
|
end
|
308
308
|
end
|
309
309
|
|
310
|
+
# Metadata for a Ruleset.
|
311
|
+
class Metadata
|
312
|
+
include Google::Apis::Core::Hashable
|
313
|
+
|
314
|
+
# Services that this ruleset has declarations for (e.g.,
|
315
|
+
# "cloud.firestore"). There may be 0+ of these.
|
316
|
+
# Corresponds to the JSON property `services`
|
317
|
+
# @return [Array<String>]
|
318
|
+
attr_accessor :services
|
319
|
+
|
320
|
+
def initialize(**args)
|
321
|
+
update!(**args)
|
322
|
+
end
|
323
|
+
|
324
|
+
# Update properties of this object
|
325
|
+
def update!(**args)
|
326
|
+
@services = args[:services] if args.key?(:services)
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
310
330
|
# `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a
|
311
331
|
# `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.
|
312
332
|
class Release
|
@@ -409,6 +429,11 @@ module Google
|
|
409
429
|
# @return [String]
|
410
430
|
attr_accessor :create_time
|
411
431
|
|
432
|
+
# Metadata for a Ruleset.
|
433
|
+
# Corresponds to the JSON property `metadata`
|
434
|
+
# @return [Google::Apis::FirebaserulesV1::Metadata]
|
435
|
+
attr_accessor :metadata
|
436
|
+
|
412
437
|
# Name of the `Ruleset`. The ruleset_id is auto generated by the service.
|
413
438
|
# Format: `projects/`project_id`/rulesets/`ruleset_id``
|
414
439
|
# Output only.
|
@@ -428,6 +453,7 @@ module Google
|
|
428
453
|
# Update properties of this object
|
429
454
|
def update!(**args)
|
430
455
|
@create_time = args[:create_time] if args.key?(:create_time)
|
456
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
431
457
|
@name = args[:name] if args.key?(:name)
|
432
458
|
@source = args[:source] if args.key?(:source)
|
433
459
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class Metadata
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class Release
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -231,6 +237,13 @@ module Google
|
|
231
237
|
end
|
232
238
|
end
|
233
239
|
|
240
|
+
class Metadata
|
241
|
+
# @private
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
243
|
+
collection :services, as: 'services'
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
234
247
|
class Release
|
235
248
|
# @private
|
236
249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -254,6 +267,8 @@ module Google
|
|
254
267
|
# @private
|
255
268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
256
269
|
property :create_time, as: 'createTime'
|
270
|
+
property :metadata, as: 'metadata', class: Google::Apis::FirebaserulesV1::Metadata, decorator: Google::Apis::FirebaserulesV1::Metadata::Representation
|
271
|
+
|
257
272
|
property :name, as: 'name'
|
258
273
|
property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
|
259
274
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com/docs/storage/security
|
27
27
|
module FirebaserulesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191115'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191018'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191019'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -466,7 +466,7 @@ module Google
|
|
466
466
|
|
467
467
|
# Aggregates data of a certain type or stream into buckets divided by a given
|
468
468
|
# type of boundary. Multiple data sets of multiple types and from multiple
|
469
|
-
# sources can be
|
469
|
+
# sources can be aggregated into exactly one bucket type per request.
|
470
470
|
# @param [String] user_id
|
471
471
|
# Aggregate data for the person identified. Use me to indicate the authenticated
|
472
472
|
# user. Only me is supported at this time.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fit/rest/
|
26
26
|
module FitnessV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191014'
|
29
29
|
|
30
30
|
# Use Google Fit to see and store your physical activity data
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
@@ -364,6 +364,11 @@ module Google
|
|
364
364
|
# @return [String]
|
365
365
|
attr_accessor :player_id
|
366
366
|
|
367
|
+
#
|
368
|
+
# Corresponds to the JSON property `playerStattus`
|
369
|
+
# @return [String]
|
370
|
+
attr_accessor :player_stattus
|
371
|
+
|
367
372
|
# This is a JSON template for profile settings
|
368
373
|
# Corresponds to the JSON property `profileSettings`
|
369
374
|
# @return [Google::Apis::GamesManagementV1management::ProfileSettings]
|
@@ -390,6 +395,7 @@ module Google
|
|
390
395
|
@name = args[:name] if args.key?(:name)
|
391
396
|
@original_player_id = args[:original_player_id] if args.key?(:original_player_id)
|
392
397
|
@player_id = args[:player_id] if args.key?(:player_id)
|
398
|
+
@player_stattus = args[:player_stattus] if args.key?(:player_stattus)
|
393
399
|
@profile_settings = args[:profile_settings] if args.key?(:profile_settings)
|
394
400
|
@title = args[:title] if args.key?(:title)
|
395
401
|
end
|
@@ -510,32 +516,6 @@ module Google
|
|
510
516
|
end
|
511
517
|
end
|
512
518
|
|
513
|
-
# This is a JSON template for multiple quests reset all request.
|
514
|
-
class QuestsResetMultipleForAllRequest
|
515
|
-
include Google::Apis::Core::Hashable
|
516
|
-
|
517
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
518
|
-
# string gamesManagement#questsResetMultipleForAllRequest.
|
519
|
-
# Corresponds to the JSON property `kind`
|
520
|
-
# @return [String]
|
521
|
-
attr_accessor :kind
|
522
|
-
|
523
|
-
# The IDs of quests to reset.
|
524
|
-
# Corresponds to the JSON property `quest_ids`
|
525
|
-
# @return [Array<String>]
|
526
|
-
attr_accessor :quest_ids
|
527
|
-
|
528
|
-
def initialize(**args)
|
529
|
-
update!(**args)
|
530
|
-
end
|
531
|
-
|
532
|
-
# Update properties of this object
|
533
|
-
def update!(**args)
|
534
|
-
@kind = args[:kind] if args.key?(:kind)
|
535
|
-
@quest_ids = args[:quest_ids] if args.key?(:quest_ids)
|
536
|
-
end
|
537
|
-
end
|
538
|
-
|
539
519
|
# This is a JSON template for multiple scores reset all request.
|
540
520
|
class ScoresResetMultipleForAllRequest
|
541
521
|
include Google::Apis::Core::Hashable
|
@@ -106,12 +106,6 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class QuestsResetMultipleForAllRequest
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
109
|
class ScoresResetMultipleForAllRequest
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
111
|
|
@@ -218,6 +212,7 @@ module Google
|
|
218
212
|
|
219
213
|
property :original_player_id, as: 'originalPlayerId'
|
220
214
|
property :player_id, as: 'playerId'
|
215
|
+
property :player_stattus, as: 'playerStattus'
|
221
216
|
property :profile_settings, as: 'profileSettings', class: Google::Apis::GamesManagementV1management::ProfileSettings, decorator: Google::Apis::GamesManagementV1management::ProfileSettings::Representation
|
222
217
|
|
223
218
|
property :title, as: 'title'
|
@@ -258,14 +253,6 @@ module Google
|
|
258
253
|
end
|
259
254
|
end
|
260
255
|
|
261
|
-
class QuestsResetMultipleForAllRequest
|
262
|
-
# @private
|
263
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
264
|
-
property :kind, as: 'kind'
|
265
|
-
collection :quest_ids, as: 'quest_ids'
|
266
|
-
end
|
267
|
-
end
|
268
|
-
|
269
256
|
class ScoresResetMultipleForAllRequest
|
270
257
|
# @private
|
271
258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -487,164 +487,6 @@ module Google
|
|
487
487
|
execute_or_queue_command(command, &block)
|
488
488
|
end
|
489
489
|
|
490
|
-
# Resets all player progress on the quest with the given ID for the currently
|
491
|
-
# authenticated player. This method is only accessible to whitelisted tester
|
492
|
-
# accounts for your application.
|
493
|
-
# @param [String] quest_id
|
494
|
-
# The ID of the quest.
|
495
|
-
# @param [String] fields
|
496
|
-
# Selector specifying which fields to include in a partial response.
|
497
|
-
# @param [String] quota_user
|
498
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
499
|
-
# characters.
|
500
|
-
# @param [String] user_ip
|
501
|
-
# Deprecated. Please use quotaUser instead.
|
502
|
-
# @param [Google::Apis::RequestOptions] options
|
503
|
-
# Request-specific options
|
504
|
-
#
|
505
|
-
# @yield [result, err] Result & error if block supplied
|
506
|
-
# @yieldparam result [NilClass] No result returned for this method
|
507
|
-
# @yieldparam err [StandardError] error object if request failed
|
508
|
-
#
|
509
|
-
# @return [void]
|
510
|
-
#
|
511
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
512
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
513
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
514
|
-
def reset_quest(quest_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
515
|
-
command = make_simple_command(:post, 'quests/{questId}/reset', options)
|
516
|
-
command.params['questId'] = quest_id unless quest_id.nil?
|
517
|
-
command.query['fields'] = fields unless fields.nil?
|
518
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
519
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
520
|
-
execute_or_queue_command(command, &block)
|
521
|
-
end
|
522
|
-
|
523
|
-
# Resets all player progress on all quests for the currently authenticated
|
524
|
-
# player. This method is only accessible to whitelisted tester accounts for your
|
525
|
-
# application.
|
526
|
-
# @param [String] fields
|
527
|
-
# Selector specifying which fields to include in a partial response.
|
528
|
-
# @param [String] quota_user
|
529
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
530
|
-
# characters.
|
531
|
-
# @param [String] user_ip
|
532
|
-
# Deprecated. Please use quotaUser instead.
|
533
|
-
# @param [Google::Apis::RequestOptions] options
|
534
|
-
# Request-specific options
|
535
|
-
#
|
536
|
-
# @yield [result, err] Result & error if block supplied
|
537
|
-
# @yieldparam result [NilClass] No result returned for this method
|
538
|
-
# @yieldparam err [StandardError] error object if request failed
|
539
|
-
#
|
540
|
-
# @return [void]
|
541
|
-
#
|
542
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
543
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
544
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
545
|
-
def reset_quest_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
546
|
-
command = make_simple_command(:post, 'quests/reset', options)
|
547
|
-
command.query['fields'] = fields unless fields.nil?
|
548
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
549
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
550
|
-
execute_or_queue_command(command, &block)
|
551
|
-
end
|
552
|
-
|
553
|
-
# Resets all draft quests for all players. This method is only available to user
|
554
|
-
# accounts for your developer console.
|
555
|
-
# @param [String] fields
|
556
|
-
# Selector specifying which fields to include in a partial response.
|
557
|
-
# @param [String] quota_user
|
558
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
559
|
-
# characters.
|
560
|
-
# @param [String] user_ip
|
561
|
-
# Deprecated. Please use quotaUser instead.
|
562
|
-
# @param [Google::Apis::RequestOptions] options
|
563
|
-
# Request-specific options
|
564
|
-
#
|
565
|
-
# @yield [result, err] Result & error if block supplied
|
566
|
-
# @yieldparam result [NilClass] No result returned for this method
|
567
|
-
# @yieldparam err [StandardError] error object if request failed
|
568
|
-
#
|
569
|
-
# @return [void]
|
570
|
-
#
|
571
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
572
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
|
-
def reset_quest_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
575
|
-
command = make_simple_command(:post, 'quests/resetAllForAllPlayers', options)
|
576
|
-
command.query['fields'] = fields unless fields.nil?
|
577
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
578
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
579
|
-
execute_or_queue_command(command, &block)
|
580
|
-
end
|
581
|
-
|
582
|
-
# Resets all player progress on the quest with the given ID for all players.
|
583
|
-
# This method is only available to user accounts for your developer console.
|
584
|
-
# Only draft quests can be reset.
|
585
|
-
# @param [String] quest_id
|
586
|
-
# The ID of the quest.
|
587
|
-
# @param [String] fields
|
588
|
-
# Selector specifying which fields to include in a partial response.
|
589
|
-
# @param [String] quota_user
|
590
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
591
|
-
# characters.
|
592
|
-
# @param [String] user_ip
|
593
|
-
# Deprecated. Please use quotaUser instead.
|
594
|
-
# @param [Google::Apis::RequestOptions] options
|
595
|
-
# Request-specific options
|
596
|
-
#
|
597
|
-
# @yield [result, err] Result & error if block supplied
|
598
|
-
# @yieldparam result [NilClass] No result returned for this method
|
599
|
-
# @yieldparam err [StandardError] error object if request failed
|
600
|
-
#
|
601
|
-
# @return [void]
|
602
|
-
#
|
603
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
604
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
|
-
def reset_quest_for_all_players(quest_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
607
|
-
command = make_simple_command(:post, 'quests/{questId}/resetForAllPlayers', options)
|
608
|
-
command.params['questId'] = quest_id unless quest_id.nil?
|
609
|
-
command.query['fields'] = fields unless fields.nil?
|
610
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
611
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
612
|
-
execute_or_queue_command(command, &block)
|
613
|
-
end
|
614
|
-
|
615
|
-
# Resets quests with the given IDs for all players. This method is only
|
616
|
-
# available to user accounts for your developer console. Only draft quests may
|
617
|
-
# be reset.
|
618
|
-
# @param [Google::Apis::GamesManagementV1management::QuestsResetMultipleForAllRequest] quests_reset_multiple_for_all_request_object
|
619
|
-
# @param [String] fields
|
620
|
-
# Selector specifying which fields to include in a partial response.
|
621
|
-
# @param [String] quota_user
|
622
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
623
|
-
# characters.
|
624
|
-
# @param [String] user_ip
|
625
|
-
# Deprecated. Please use quotaUser instead.
|
626
|
-
# @param [Google::Apis::RequestOptions] options
|
627
|
-
# Request-specific options
|
628
|
-
#
|
629
|
-
# @yield [result, err] Result & error if block supplied
|
630
|
-
# @yieldparam result [NilClass] No result returned for this method
|
631
|
-
# @yieldparam err [StandardError] error object if request failed
|
632
|
-
#
|
633
|
-
# @return [void]
|
634
|
-
#
|
635
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
636
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
637
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
638
|
-
def reset_quest_multiple_for_all_players(quests_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
639
|
-
command = make_simple_command(:post, 'quests/resetMultipleForAllPlayers', options)
|
640
|
-
command.request_representation = Google::Apis::GamesManagementV1management::QuestsResetMultipleForAllRequest::Representation
|
641
|
-
command.request_object = quests_reset_multiple_for_all_request_object
|
642
|
-
command.query['fields'] = fields unless fields.nil?
|
643
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
644
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
645
|
-
execute_or_queue_command(command, &block)
|
646
|
-
end
|
647
|
-
|
648
490
|
# Reset all rooms for the currently authenticated player for your application.
|
649
491
|
# This method is only accessible to whitelisted tester accounts for your
|
650
492
|
# application.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services
|
26
26
|
module GamesManagementV1management
|
27
27
|
VERSION = 'V1management'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191017'
|
29
29
|
|
30
30
|
# Create, edit, and delete your Google Play Games activity
|
31
31
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|